Remove all directory-level CMakeFiles.txt; MLPACK_SRCS is unused.
This commit is contained in:
@@ -1,21 +1,7 @@
|
||||
# Add core.hpp to list of sources.
|
||||
set(MLPACK_SRCS ${MLPACK_SRCS}
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/base.hpp"
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/core.hpp"
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/prereqs.hpp"
|
||||
)
|
||||
|
||||
## Recurse into both core/ and methods/.
|
||||
set(DIRS
|
||||
bindings
|
||||
core
|
||||
methods
|
||||
)
|
||||
|
||||
foreach(dir ${DIRS})
|
||||
add_subdirectory(${dir})
|
||||
endforeach()
|
||||
# Recurse into the bindings to do any necessary configuration there.
|
||||
add_subdirectory(bindings)
|
||||
|
||||
# If necessary, configure the tests.
|
||||
if (BUILD_TESTS)
|
||||
add_subdirectory(tests)
|
||||
endif ()
|
||||
|
||||
@@ -1,20 +0,0 @@
|
||||
# All we have to do is recurse into the subdirectories.
|
||||
set(DIRS
|
||||
arma_extend
|
||||
cereal
|
||||
cv
|
||||
data
|
||||
dists
|
||||
hpt
|
||||
kernels
|
||||
math
|
||||
metrics
|
||||
tree
|
||||
util
|
||||
)
|
||||
|
||||
foreach(dir ${DIRS})
|
||||
add_subdirectory(${dir})
|
||||
endforeach()
|
||||
|
||||
set(MLPACK_SRCS ${MLPACK_SRCS} PARENT_SCOPE)
|
||||
@@ -1,17 +0,0 @@
|
||||
# Define the files we need to compile.
|
||||
# Anything not in this list will not be compiled into mlpack.
|
||||
set(SOURCES
|
||||
serialize_armadillo.hpp
|
||||
arma_extend.hpp
|
||||
Mat_extra_bones.hpp
|
||||
SpMat_extra_bones.hpp
|
||||
)
|
||||
|
||||
# add directory name to sources
|
||||
set(DIR_SRCS)
|
||||
foreach(file ${SOURCES})
|
||||
set(DIR_SRCS ${DIR_SRCS} ${CMAKE_CURRENT_SOURCE_DIR}/${file})
|
||||
endforeach()
|
||||
# Append sources (with directory name) to list of all mlpack sources (used at
|
||||
# the parent scope).
|
||||
set(MLPACK_SRCS ${MLPACK_SRCS} ${DIR_SRCS} PARENT_SCOPE)
|
||||
@@ -1,21 +0,0 @@
|
||||
# Define the files that we need to compile.
|
||||
# Anything not in this list will not be compiled into mlpack.
|
||||
set(SOURCES
|
||||
array_wrapper.hpp
|
||||
is_loading.hpp
|
||||
is_saving.hpp
|
||||
pair_associative_container.hpp
|
||||
pointer_wrapper.hpp
|
||||
pointer_vector_wrapper.hpp
|
||||
unordered_map.hpp
|
||||
)
|
||||
|
||||
# add directory name to sources
|
||||
set(DIR_SRCS)
|
||||
foreach(file ${SOURCES})
|
||||
set(DIR_SRCS ${DIR_SRCS} ${CMAKE_CURRENT_SOURCE_DIR}/${file})
|
||||
endforeach()
|
||||
|
||||
# Append sources (with directory name) to list of all mlpack sources (used at
|
||||
# parent scope).
|
||||
set(MLPACK_SRCS ${MLPACK_SRCS} ${DIR_SRCS} PARENT_SCOPE)
|
||||
@@ -1,23 +0,0 @@
|
||||
add_subdirectory(metrics)
|
||||
|
||||
# Define the files we need to compile
|
||||
# Anything not in this list will not be compiled into mlpack.
|
||||
set(SOURCES
|
||||
cv.hpp
|
||||
cv_base.hpp
|
||||
cv_base_impl.hpp
|
||||
k_fold_cv.hpp
|
||||
k_fold_cv_impl.hpp
|
||||
meta_info_extractor.hpp
|
||||
simple_cv.hpp
|
||||
simple_cv_impl.hpp
|
||||
)
|
||||
|
||||
# Add directory name to sources.
|
||||
set(DIR_SRCS)
|
||||
foreach(file ${SOURCES})
|
||||
set(DIR_SRCS ${DIR_SRCS} ${CMAKE_CURRENT_SOURCE_DIR}/${file})
|
||||
endforeach()
|
||||
# Append sources (with directory name) to list of all mlpack sources (used at
|
||||
# the parent scope).
|
||||
set(MLPACK_SRCS ${MLPACK_SRCS} ${DIR_SRCS} PARENT_SCOPE)
|
||||
@@ -1,30 +0,0 @@
|
||||
# Define the files we need to compile
|
||||
# Anything not in this list will not be compiled into mlpack.
|
||||
set(SOURCES
|
||||
metrics.hpp
|
||||
accuracy.hpp
|
||||
accuracy_impl.hpp
|
||||
average_strategy.hpp
|
||||
f1.hpp
|
||||
f1_impl.hpp
|
||||
facilities.hpp
|
||||
mse.hpp
|
||||
mse_impl.hpp
|
||||
precision.hpp
|
||||
precision_impl.hpp
|
||||
recall.hpp
|
||||
recall_impl.hpp
|
||||
roc_auc_score.hpp
|
||||
roc_auc_score_impl.hpp
|
||||
r2_score.hpp
|
||||
r2_score_impl.hpp
|
||||
)
|
||||
|
||||
# Add directory name to sources.
|
||||
set(DIR_SRCS)
|
||||
foreach(file ${SOURCES})
|
||||
set(DIR_SRCS ${DIR_SRCS} ${CMAKE_CURRENT_SOURCE_DIR}/${file})
|
||||
endforeach()
|
||||
# Append sources (with directory name) to list of all mlpack sources (used at
|
||||
# the parent scope).
|
||||
set(MLPACK_SRCS ${MLPACK_SRCS} ${DIR_SRCS} PARENT_SCOPE)
|
||||
@@ -1,60 +0,0 @@
|
||||
# Define the files that we need to compile.
|
||||
# Anything not in this list will not be compiled into mlpack.
|
||||
set(SOURCES
|
||||
data.hpp
|
||||
check_categorical_param.hpp
|
||||
dataset_mapper.hpp
|
||||
dataset_mapper_impl.hpp
|
||||
detect_file_type.hpp
|
||||
detect_file_type_impl.hpp
|
||||
extension.hpp
|
||||
format.hpp
|
||||
has_serialize.hpp
|
||||
is_naninf.hpp
|
||||
load_csv.hpp
|
||||
load_numeric_csv.hpp
|
||||
load_categorical_csv.hpp
|
||||
load.hpp
|
||||
load_image_impl.hpp
|
||||
load_image.hpp
|
||||
load_model_impl.hpp
|
||||
load_vec_impl.hpp
|
||||
load_impl.hpp
|
||||
load_arff.hpp
|
||||
load_arff_impl.hpp
|
||||
normalize_labels.hpp
|
||||
normalize_labels_impl.hpp
|
||||
save.hpp
|
||||
save_impl.hpp
|
||||
save_image.hpp
|
||||
save_image_impl.hpp
|
||||
split_data.hpp
|
||||
string_algorithms.hpp
|
||||
imputer.hpp
|
||||
binarize.hpp
|
||||
string_encoding.hpp
|
||||
string_encoding_dictionary.hpp
|
||||
string_encoding_impl.hpp
|
||||
confusion_matrix.hpp
|
||||
one_hot_encoding.hpp
|
||||
one_hot_encoding_impl.hpp
|
||||
types.hpp
|
||||
types_impl.hpp
|
||||
)
|
||||
|
||||
# add directory name to sources
|
||||
set(DIR_SRCS)
|
||||
foreach(file ${SOURCES})
|
||||
set(DIR_SRCS ${DIR_SRCS} ${CMAKE_CURRENT_SOURCE_DIR}/${file})
|
||||
endforeach()
|
||||
|
||||
# Add subdirectories.
|
||||
add_subdirectory(imputation_methods)
|
||||
add_subdirectory(map_policies)
|
||||
add_subdirectory(string_encoding_policies)
|
||||
add_subdirectory(tokenizers)
|
||||
add_subdirectory(scaler_methods)
|
||||
|
||||
# Append sources (with directory name) to list of all mlpack sources (used at
|
||||
# parent scope).
|
||||
set(MLPACK_SRCS ${MLPACK_SRCS} ${DIR_SRCS} PARENT_SCOPE)
|
||||
@@ -1,18 +0,0 @@
|
||||
# Define the files we need to compile
|
||||
# Anything not in this list will not be compiled into mlpack.
|
||||
set(SOURCES
|
||||
imputation_methods.hpp
|
||||
custom_imputation.hpp
|
||||
listwise_deletion.hpp
|
||||
mean_imputation.hpp
|
||||
median_imputation.hpp
|
||||
)
|
||||
|
||||
# Add directory name to sources.
|
||||
set(DIR_SRCS)
|
||||
foreach(file ${SOURCES})
|
||||
set(DIR_SRCS ${DIR_SRCS} ${CMAKE_CURRENT_SOURCE_DIR}/${file})
|
||||
endforeach()
|
||||
# Append sources (with directory name) to list of all mlpack sources (used at
|
||||
# the parent scope).
|
||||
set(MLPACK_SRCS ${MLPACK_SRCS} ${DIR_SRCS} PARENT_SCOPE)
|
||||
@@ -1,17 +0,0 @@
|
||||
# Define the files we need to compile
|
||||
# Anything not in this list will not be compiled into mlpack.
|
||||
set(SOURCES
|
||||
map_policies.hpp
|
||||
increment_policy.hpp
|
||||
missing_policy.hpp
|
||||
datatype.hpp
|
||||
)
|
||||
|
||||
# Add directory name to sources.
|
||||
set(DIR_SRCS)
|
||||
foreach(file ${SOURCES})
|
||||
set(DIR_SRCS ${DIR_SRCS} ${CMAKE_CURRENT_SOURCE_DIR}/${file})
|
||||
endforeach()
|
||||
# Append sources (with directory name) to list of all mlpack sources (used at
|
||||
# the parent scope).
|
||||
set(MLPACK_SRCS ${MLPACK_SRCS} ${DIR_SRCS} PARENT_SCOPE)
|
||||
@@ -1,20 +0,0 @@
|
||||
# Define the files we need to compile
|
||||
# Anything not in this list will not be compiled into mlpack.
|
||||
set(SOURCES
|
||||
scaler_methods.hpp
|
||||
min_max_scaler.hpp
|
||||
max_abs_scaler.hpp
|
||||
standard_scaler.hpp
|
||||
mean_normalization.hpp
|
||||
pca_whitening.hpp
|
||||
zca_whitening.hpp
|
||||
)
|
||||
|
||||
# Add directory name to sources.
|
||||
set(DIR_SRCS)
|
||||
foreach(file ${SOURCES})
|
||||
set(DIR_SRCS ${DIR_SRCS} ${CMAKE_CURRENT_SOURCE_DIR}/${file})
|
||||
endforeach()
|
||||
# Append sources (with directory name) to list of all mlpack sources (used at
|
||||
# the parent scope).
|
||||
set(MLPACK_SRCS ${MLPACK_SRCS} ${DIR_SRCS} PARENT_SCOPE)
|
||||
@@ -1,19 +0,0 @@
|
||||
# Define the files that we need to compile.
|
||||
# Anything not in this list will not be compiled into mlpack.
|
||||
set(SOURCES
|
||||
string_encoding_policies.hpp
|
||||
bag_of_words_encoding_policy.hpp
|
||||
dictionary_encoding_policy.hpp
|
||||
policy_traits.hpp
|
||||
tf_idf_encoding_policy.hpp
|
||||
)
|
||||
|
||||
# add directory name to sources
|
||||
set(DIR_SRCS)
|
||||
foreach(file ${SOURCES})
|
||||
set(DIR_SRCS ${DIR_SRCS} ${CMAKE_CURRENT_SOURCE_DIR}/${file})
|
||||
endforeach()
|
||||
|
||||
# Append sources (with directory name) to list of all mlpack sources (used at
|
||||
# parent scope).
|
||||
set(MLPACK_SRCS ${MLPACK_SRCS} ${DIR_SRCS} PARENT_SCOPE)
|
||||
@@ -1,17 +0,0 @@
|
||||
# Define the files that we need to compile.
|
||||
# Anything not in this list will not be compiled into mlpack.
|
||||
set(SOURCES
|
||||
tokenizers.hpp
|
||||
char_extract.hpp
|
||||
split_by_any_of.hpp
|
||||
)
|
||||
|
||||
# add directory name to sources
|
||||
set(DIR_SRCS)
|
||||
foreach(file ${SOURCES})
|
||||
set(DIR_SRCS ${DIR_SRCS} ${CMAKE_CURRENT_SOURCE_DIR}/${file})
|
||||
endforeach()
|
||||
|
||||
# Append sources (with directory name) to list of all mlpack sources (used at
|
||||
# parent scope).
|
||||
set(MLPACK_SRCS ${MLPACK_SRCS} ${DIR_SRCS} PARENT_SCOPE)
|
||||
@@ -1,26 +0,0 @@
|
||||
# Define the files we need to compile.
|
||||
# Anything not in this list will not be compiled into mlpack.
|
||||
set(SOURCES
|
||||
dists.hpp
|
||||
discrete_distribution.hpp
|
||||
discrete_distribution_impl.hpp
|
||||
gaussian_distribution.hpp
|
||||
gaussian_distribution_impl.hpp
|
||||
laplace_distribution.hpp
|
||||
laplace_distribution_impl.hpp
|
||||
regression_distribution.hpp
|
||||
regression_distribution_impl.hpp
|
||||
gamma_distribution.hpp
|
||||
gamma_distribution_impl.hpp
|
||||
diagonal_gaussian_distribution.hpp
|
||||
diagonal_gaussian_distribution_impl.hpp
|
||||
)
|
||||
|
||||
# add directory name to sources
|
||||
set(DIR_SRCS)
|
||||
foreach(file ${SOURCES})
|
||||
set(DIR_SRCS ${DIR_SRCS} ${CMAKE_CURRENT_SOURCE_DIR}/${file})
|
||||
endforeach()
|
||||
# Append sources (with directory name) to list of all mlpack sources (used at
|
||||
# the parent scope).
|
||||
set(MLPACK_SRCS ${MLPACK_SRCS} ${DIR_SRCS} PARENT_SCOPE)
|
||||
@@ -1,15 +0,0 @@
|
||||
set(SOURCES
|
||||
cv_function.hpp
|
||||
cv_function_impl.hpp
|
||||
deduce_hp_types.hpp
|
||||
fixed.hpp
|
||||
hpt.hpp
|
||||
hpt_impl.hpp
|
||||
)
|
||||
|
||||
set(DIR_SRCS)
|
||||
foreach(file ${SOURCES})
|
||||
set(DIR_SRCS ${DIR_SRCS} ${CMAKE_CURRENT_SOURCE_DIR}/${file})
|
||||
endforeach()
|
||||
|
||||
set(MLPACK_SRCS ${MLPACK_SRCS} ${DIR_SRCS} PARENT_SCOPE)
|
||||
@@ -1,29 +0,0 @@
|
||||
# Define the files we need to compile.
|
||||
# Anything not in this list will not be compiled into mlpack.
|
||||
set(SOURCES
|
||||
cauchy_kernel.hpp
|
||||
cosine_distance.hpp
|
||||
cosine_distance_impl.hpp
|
||||
epanechnikov_kernel.hpp
|
||||
epanechnikov_kernel_impl.hpp
|
||||
example_kernel.hpp
|
||||
gaussian_kernel.hpp
|
||||
hyperbolic_tangent_kernel.hpp
|
||||
kernel_traits.hpp
|
||||
laplacian_kernel.hpp
|
||||
linear_kernel.hpp
|
||||
polynomial_kernel.hpp
|
||||
pspectrum_string_kernel.hpp
|
||||
pspectrum_string_kernel_impl.hpp
|
||||
spherical_kernel.hpp
|
||||
triangular_kernel.hpp
|
||||
)
|
||||
|
||||
# add directory name to sources
|
||||
set(DIR_SRCS)
|
||||
foreach(file ${SOURCES})
|
||||
set(DIR_SRCS ${DIR_SRCS} ${CMAKE_CURRENT_SOURCE_DIR}/${file})
|
||||
endforeach()
|
||||
# Append sources (with directory name) to list of all mlpack sources (used at
|
||||
# the parent scope).
|
||||
set(MLPACK_SRCS ${MLPACK_SRCS} ${DIR_SRCS} PARENT_SCOPE)
|
||||
@@ -1,36 +0,0 @@
|
||||
# Define the files we need to compile
|
||||
# Anything not in this list will not be compiled into mlpack.
|
||||
set(SOURCES
|
||||
math.hpp
|
||||
clamp.hpp
|
||||
columns_to_blocks.hpp
|
||||
columns_to_blocks_impl.hpp
|
||||
digamma.hpp
|
||||
lin_alg.hpp
|
||||
lin_alg_impl.hpp
|
||||
log_add.hpp
|
||||
log_add_impl.hpp
|
||||
make_alias.hpp
|
||||
multiply_slices_impl.hpp
|
||||
multiply_slices.hpp
|
||||
quantile.hpp
|
||||
random.hpp
|
||||
random_basis.hpp
|
||||
random_basis_impl.hpp
|
||||
range.hpp
|
||||
range_impl.hpp
|
||||
round.hpp
|
||||
shuffle_data.hpp
|
||||
trigamma.hpp
|
||||
ccov.hpp
|
||||
ccov_impl.hpp
|
||||
)
|
||||
|
||||
# add directory name to sources
|
||||
set(DIR_SRCS)
|
||||
foreach(file ${SOURCES})
|
||||
set(DIR_SRCS ${DIR_SRCS} ${CMAKE_CURRENT_SOURCE_DIR}/${file})
|
||||
endforeach()
|
||||
# Append sources (with directory name) to list of all mlpack sources (used at
|
||||
# the parent scope).
|
||||
set(MLPACK_SRCS ${MLPACK_SRCS} ${DIR_SRCS} PARENT_SCOPE)
|
||||
@@ -1,26 +0,0 @@
|
||||
# Define the files we need to compile.
|
||||
# Anything not in this list will not be compiled into mlpack.
|
||||
set(SOURCES
|
||||
metrics.hpp
|
||||
bleu.hpp
|
||||
bleu_impl.hpp
|
||||
ip_metric.hpp
|
||||
ip_metric_impl.hpp
|
||||
iou_metric.hpp
|
||||
iou_metric_impl.hpp
|
||||
lmetric.hpp
|
||||
lmetric_impl.hpp
|
||||
mahalanobis_distance.hpp
|
||||
mahalanobis_distance_impl.hpp
|
||||
non_maximal_supression.hpp
|
||||
non_maximal_supression_impl.hpp
|
||||
)
|
||||
|
||||
# add directory name to sources
|
||||
set(DIR_SRCS)
|
||||
foreach(file ${SOURCES})
|
||||
set(DIR_SRCS ${DIR_SRCS} ${CMAKE_CURRENT_SOURCE_DIR}/${file})
|
||||
endforeach()
|
||||
# Append sources (with directory name) to list of all mlpack sources (used at
|
||||
# the parent scope).
|
||||
set(MLPACK_SRCS ${MLPACK_SRCS} ${DIR_SRCS} PARENT_SCOPE)
|
||||
@@ -1,137 +0,0 @@
|
||||
# Define the files we need to compile.
|
||||
# Anything not in this list will not be compiled into mlpack.
|
||||
set(SOURCES
|
||||
tree.hpp
|
||||
address.hpp
|
||||
ballbound.hpp
|
||||
ballbound_impl.hpp
|
||||
binary_space_tree.hpp
|
||||
binary_space_tree/binary_space_tree.hpp
|
||||
binary_space_tree/binary_space_tree_impl.hpp
|
||||
binary_space_tree/breadth_first_dual_tree_traverser.hpp
|
||||
binary_space_tree/breadth_first_dual_tree_traverser_impl.hpp
|
||||
binary_space_tree/dual_tree_traverser.hpp
|
||||
binary_space_tree/dual_tree_traverser_impl.hpp
|
||||
binary_space_tree/mean_split.hpp
|
||||
binary_space_tree/mean_split_impl.hpp
|
||||
binary_space_tree/midpoint_split.hpp
|
||||
binary_space_tree/midpoint_split_impl.hpp
|
||||
binary_space_tree/rp_tree_max_split.hpp
|
||||
binary_space_tree/rp_tree_max_split_impl.hpp
|
||||
binary_space_tree/rp_tree_mean_split.hpp
|
||||
binary_space_tree/rp_tree_mean_split_impl.hpp
|
||||
binary_space_tree/single_tree_traverser.hpp
|
||||
binary_space_tree/single_tree_traverser_impl.hpp
|
||||
binary_space_tree/vantage_point_split.hpp
|
||||
binary_space_tree/vantage_point_split_impl.hpp
|
||||
binary_space_tree/traits.hpp
|
||||
binary_space_tree/typedef.hpp
|
||||
binary_space_tree/ub_tree_split.hpp
|
||||
binary_space_tree/ub_tree_split_impl.hpp
|
||||
bounds.hpp
|
||||
bound_traits.hpp
|
||||
cellbound.hpp
|
||||
cellbound_impl.hpp
|
||||
cosine_tree/cosine_tree.hpp
|
||||
cosine_tree/cosine_tree_impl.hpp
|
||||
cover_tree.hpp
|
||||
cover_tree/cover_tree.hpp
|
||||
cover_tree/cover_tree_impl.hpp
|
||||
cover_tree/first_point_is_root.hpp
|
||||
cover_tree/single_tree_traverser.hpp
|
||||
cover_tree/single_tree_traverser_impl.hpp
|
||||
cover_tree/dual_tree_traverser.hpp
|
||||
cover_tree/dual_tree_traverser_impl.hpp
|
||||
cover_tree/traits.hpp
|
||||
cover_tree/typedef.hpp
|
||||
example_tree.hpp
|
||||
greedy_single_tree_traverser.hpp
|
||||
greedy_single_tree_traverser_impl.hpp
|
||||
hollow_ball_bound.hpp
|
||||
hollow_ball_bound_impl.hpp
|
||||
hrectbound.hpp
|
||||
hrectbound_impl.hpp
|
||||
octree.hpp
|
||||
octree/octree.hpp
|
||||
octree/octree_impl.hpp
|
||||
octree/single_tree_traverser.hpp
|
||||
octree/single_tree_traverser_impl.hpp
|
||||
octree/dual_tree_traverser.hpp
|
||||
octree/dual_tree_traverser_impl.hpp
|
||||
octree/traits.hpp
|
||||
perform_split.hpp
|
||||
rectangle_tree.hpp
|
||||
rectangle_tree/rectangle_tree.hpp
|
||||
rectangle_tree/rectangle_tree_impl.hpp
|
||||
rectangle_tree/single_tree_traverser.hpp
|
||||
rectangle_tree/single_tree_traverser_impl.hpp
|
||||
rectangle_tree/dual_tree_traverser.hpp
|
||||
rectangle_tree/dual_tree_traverser_impl.hpp
|
||||
rectangle_tree/r_tree_split.hpp
|
||||
rectangle_tree/r_tree_split_impl.hpp
|
||||
rectangle_tree/no_auxiliary_information.hpp
|
||||
rectangle_tree/r_tree_descent_heuristic.hpp
|
||||
rectangle_tree/r_tree_descent_heuristic_impl.hpp
|
||||
rectangle_tree/r_star_tree_descent_heuristic.hpp
|
||||
rectangle_tree/r_star_tree_descent_heuristic_impl.hpp
|
||||
rectangle_tree/r_star_tree_split.hpp
|
||||
rectangle_tree/r_star_tree_split_impl.hpp
|
||||
rectangle_tree/traits.hpp
|
||||
rectangle_tree/typedef.hpp
|
||||
rectangle_tree/x_tree_split.hpp
|
||||
rectangle_tree/x_tree_split_impl.hpp
|
||||
rectangle_tree/x_tree_auxiliary_information.hpp
|
||||
rectangle_tree/hilbert_r_tree_descent_heuristic.hpp
|
||||
rectangle_tree/hilbert_r_tree_descent_heuristic_impl.hpp
|
||||
rectangle_tree/hilbert_r_tree_split.hpp
|
||||
rectangle_tree/hilbert_r_tree_split_impl.hpp
|
||||
rectangle_tree/hilbert_r_tree_auxiliary_information.hpp
|
||||
rectangle_tree/hilbert_r_tree_auxiliary_information_impl.hpp
|
||||
rectangle_tree/discrete_hilbert_value.hpp
|
||||
rectangle_tree/discrete_hilbert_value_impl.hpp
|
||||
rectangle_tree/r_plus_tree_descent_heuristic.hpp
|
||||
rectangle_tree/r_plus_tree_descent_heuristic_impl.hpp
|
||||
rectangle_tree/minimal_coverage_sweep.hpp
|
||||
rectangle_tree/minimal_coverage_sweep_impl.hpp
|
||||
rectangle_tree/minimal_splits_number_sweep.hpp
|
||||
rectangle_tree/minimal_splits_number_sweep_impl.hpp
|
||||
rectangle_tree/r_plus_tree_split.hpp
|
||||
rectangle_tree/r_plus_tree_split_impl.hpp
|
||||
rectangle_tree/r_plus_tree_split_policy.hpp
|
||||
rectangle_tree/r_plus_plus_tree_descent_heuristic.hpp
|
||||
rectangle_tree/r_plus_plus_tree_descent_heuristic_impl.hpp
|
||||
rectangle_tree/r_plus_plus_tree_split_policy.hpp
|
||||
rectangle_tree/r_plus_plus_tree_auxiliary_information.hpp
|
||||
rectangle_tree/r_plus_plus_tree_auxiliary_information_impl.hpp
|
||||
space_split/hyperplane.hpp
|
||||
space_split/mean_space_split.hpp
|
||||
space_split/mean_space_split_impl.hpp
|
||||
space_split/midpoint_space_split.hpp
|
||||
space_split/midpoint_space_split_impl.hpp
|
||||
space_split/projection_vector.hpp
|
||||
space_split/space_split.hpp
|
||||
space_split/space_split_impl.hpp
|
||||
spill_tree.hpp
|
||||
spill_tree/is_spill_tree.hpp
|
||||
spill_tree/spill_tree.hpp
|
||||
spill_tree/spill_tree_impl.hpp
|
||||
spill_tree/spill_dual_tree_traverser.hpp
|
||||
spill_tree/spill_dual_tree_traverser_impl.hpp
|
||||
spill_tree/spill_single_tree_traverser.hpp
|
||||
spill_tree/spill_single_tree_traverser_impl.hpp
|
||||
spill_tree/traits.hpp
|
||||
spill_tree/typedef.hpp
|
||||
statistic.hpp
|
||||
traversal_info.hpp
|
||||
tree_traits.hpp
|
||||
enumerate_tree.hpp
|
||||
)
|
||||
|
||||
# add directory name to sources
|
||||
set(DIR_SRCS)
|
||||
foreach(file ${SOURCES})
|
||||
set(DIR_SRCS ${DIR_SRCS} ${CMAKE_CURRENT_SOURCE_DIR}/${file})
|
||||
endforeach()
|
||||
# Append sources (with directory name) to list of all mlpack sources (used at
|
||||
# the parent scope).
|
||||
set(MLPACK_SRCS ${MLPACK_SRCS} ${DIR_SRCS} PARENT_SCOPE)
|
||||
@@ -1,44 +0,0 @@
|
||||
# Define the files we need to compile.
|
||||
# Anything not in this list will not be compiled into mlpack.
|
||||
set(SOURCES
|
||||
arma_traits.hpp
|
||||
backtrace.hpp
|
||||
backtrace_impl.hpp
|
||||
binding_details.hpp
|
||||
forward.hpp
|
||||
io.hpp
|
||||
io_impl.hpp
|
||||
deprecated.hpp
|
||||
hyphenate_string.hpp
|
||||
is_std_vector.hpp
|
||||
log.hpp
|
||||
log_impl.hpp
|
||||
mlpack_main.hpp
|
||||
nulloutstream.hpp
|
||||
param.hpp
|
||||
param_checks.hpp
|
||||
param_checks_impl.hpp
|
||||
param_data.hpp
|
||||
params.hpp
|
||||
params_impl.hpp
|
||||
prefixedoutstream.hpp
|
||||
prefixedoutstream_impl.hpp
|
||||
program_doc.hpp
|
||||
program_doc_impl.hpp
|
||||
size_checks.hpp
|
||||
sfinae_utility.hpp
|
||||
timers.hpp
|
||||
timers_impl.hpp
|
||||
to_lower.hpp
|
||||
version.hpp
|
||||
version_impl.hpp
|
||||
)
|
||||
|
||||
# add directory name to sources
|
||||
set(DIR_SRCS)
|
||||
foreach(file ${SOURCES})
|
||||
set(DIR_SRCS ${DIR_SRCS} ${CMAKE_CURRENT_SOURCE_DIR}/${file})
|
||||
endforeach()
|
||||
# Append sources (with directory name) to list of all mlpack sources (used at
|
||||
# the parent scope).
|
||||
set(MLPACK_SRCS ${MLPACK_SRCS} ${DIR_SRCS} PARENT_SCOPE)
|
||||
@@ -1,63 +0,0 @@
|
||||
# Recurse into each method mlpack provides.
|
||||
set(DIRS
|
||||
# mvu # Note: this implementation of MVU does not work. See #189.
|
||||
adaboost
|
||||
amf
|
||||
ann
|
||||
approx_kfn
|
||||
bias_svd
|
||||
bayesian_linear_regression
|
||||
block_krylov_svd
|
||||
cf
|
||||
dbscan
|
||||
decision_tree
|
||||
det
|
||||
emst
|
||||
fastmks
|
||||
gmm
|
||||
hmm
|
||||
hoeffding_trees
|
||||
kde
|
||||
kernel_pca
|
||||
kmeans
|
||||
lars
|
||||
linear_regression
|
||||
linear_svm
|
||||
lmnn
|
||||
local_coordinate_coding
|
||||
logistic_regression
|
||||
lsh
|
||||
matrix_completion
|
||||
mean_shift
|
||||
naive_bayes
|
||||
nca
|
||||
neighbor_search
|
||||
nmf
|
||||
nystroem_method
|
||||
pca
|
||||
perceptron
|
||||
preprocess
|
||||
quic_svd
|
||||
radical
|
||||
random_forest
|
||||
randomized_svd
|
||||
range_search
|
||||
rann
|
||||
regularized_svd
|
||||
reinforcement_learning
|
||||
softmax_regression
|
||||
sparse_autoencoder
|
||||
sparse_coding
|
||||
svdplusplus
|
||||
)
|
||||
|
||||
foreach(dir ${DIRS})
|
||||
add_subdirectory(${dir})
|
||||
endforeach()
|
||||
|
||||
set(MLPACK_SRCS ${MLPACK_SRCS} ${DIR_SRCS} PARENT_SCOPE)
|
||||
set(MLPACK_PYXS ${MLPACK_PYXS} PARENT_SCOPE)
|
||||
set(MARKDOWN_SRCS ${MARKDOWN_SRCS} PARENT_SCOPE)
|
||||
set(MARKDOWN_NAMES ${MARKDOWN_NAMES} PARENT_SCOPE)
|
||||
set(MARKDOWN_NAME_CATEGORIES ${MARKDOWN_NAME_CATEGORIES} PARENT_SCOPE)
|
||||
set(MARKDOWN_ALL_LANGUAGES_LIST ${MARKDOWN_ALL_LANGUAGES_LIST} PARENT_SCOPE)
|
||||
@@ -1,27 +0,0 @@
|
||||
# Define the files we need to compile.
|
||||
# Anything not in this list will not be compiled into mlpack.
|
||||
set(SOURCES
|
||||
adaboost.hpp
|
||||
adaboost_impl.hpp
|
||||
adaboost_model.hpp
|
||||
adaboost_model_impl.hpp
|
||||
)
|
||||
|
||||
# Add directory name to sources.
|
||||
set(DIR_SRCS)
|
||||
foreach(file ${SOURCES})
|
||||
set(DIR_SRCS ${DIR_SRCS} ${CMAKE_CURRENT_SOURCE_DIR}/${file})
|
||||
endforeach()
|
||||
# Append sources (with directory name) to list of all mlpack sources (used at
|
||||
# the parent scope).
|
||||
set(MLPACK_SRCS ${MLPACK_SRCS} ${DIR_SRCS} PARENT_SCOPE)
|
||||
|
||||
add_category(adaboost "classification")
|
||||
group_bindings(adaboost "train;classify;probabilities")
|
||||
add_python_wrapper(adaboost)
|
||||
|
||||
add_cli_executable(adaboost)
|
||||
add_julia_binding(adaboost)
|
||||
add_go_binding(adaboost)
|
||||
add_r_binding(adaboost)
|
||||
add_markdown_docs(adaboost "cli;python;julia;go;r" "python")
|
||||
@@ -1,19 +0,0 @@
|
||||
# Define the files we need to compile
|
||||
# Anything not in this list will not be compiled into mlpack.
|
||||
set(SOURCES
|
||||
amf.hpp
|
||||
amf_impl.hpp
|
||||
)
|
||||
|
||||
add_subdirectory(update_rules)
|
||||
add_subdirectory(init_rules)
|
||||
add_subdirectory(termination_policies)
|
||||
|
||||
# Add directory name to sources.
|
||||
set(DIR_SRCS)
|
||||
foreach(file ${SOURCES})
|
||||
set(DIR_SRCS ${DIR_SRCS} ${CMAKE_CURRENT_SOURCE_DIR}/${file})
|
||||
endforeach()
|
||||
# Append sources (with directory name) to list of all mlpack sources (used at
|
||||
# the parent scope).
|
||||
set(MLPACK_SRCS ${MLPACK_SRCS} ${DIR_SRCS} PARENT_SCOPE)
|
||||
@@ -1,18 +0,0 @@
|
||||
# Define the files we need to compile
|
||||
# Anything not in this list will not be compiled into mlpack.
|
||||
set(SOURCES
|
||||
init_rules.hpp
|
||||
random_init.hpp
|
||||
random_acol_init.hpp
|
||||
average_init.hpp
|
||||
given_init.hpp
|
||||
)
|
||||
|
||||
# Add directory name to sources.
|
||||
set(DIR_SRCS)
|
||||
foreach(file ${SOURCES})
|
||||
set(DIR_SRCS ${DIR_SRCS} ${CMAKE_CURRENT_SOURCE_DIR}/${file})
|
||||
endforeach()
|
||||
# Append sources (with directory name) to list of all mlpack sources (used at
|
||||
# the parent scope).
|
||||
set(MLPACK_SRCS ${MLPACK_SRCS} ${DIR_SRCS} PARENT_SCOPE)
|
||||
@@ -1,20 +0,0 @@
|
||||
# Define the files we need to compile
|
||||
# Anything not in this list will not be compiled into mlpack.
|
||||
set(SOURCES
|
||||
termination_policies.hpp
|
||||
simple_residue_termination.hpp
|
||||
simple_tolerance_termination.hpp
|
||||
validation_rmse_termination.hpp
|
||||
incomplete_incremental_termination.hpp
|
||||
complete_incremental_termination.hpp
|
||||
max_iteration_termination.hpp
|
||||
)
|
||||
|
||||
# Add directory name to sources.
|
||||
set(DIR_SRCS)
|
||||
foreach(file ${SOURCES})
|
||||
set(DIR_SRCS ${DIR_SRCS} ${CMAKE_CURRENT_SOURCE_DIR}/${file})
|
||||
endforeach()
|
||||
# Append sources (with directory name) to list of all mlpack sources (used at
|
||||
# the parent scope).
|
||||
set(MLPACK_SRCS ${MLPACK_SRCS} ${DIR_SRCS} PARENT_SCOPE)
|
||||
@@ -1,20 +0,0 @@
|
||||
# Define the files we need to compile
|
||||
# Anything not in this list will not be compiled into mlpack.
|
||||
set(SOURCES
|
||||
update_rules.hpp
|
||||
nmf_als.hpp
|
||||
nmf_mult_dist.hpp
|
||||
nmf_mult_div.hpp
|
||||
svd_batch_learning.hpp
|
||||
svd_incomplete_incremental_learning.hpp
|
||||
svd_complete_incremental_learning.hpp
|
||||
)
|
||||
|
||||
# Add directory name to sources.
|
||||
set(DIR_SRCS)
|
||||
foreach(file ${SOURCES})
|
||||
set(DIR_SRCS ${DIR_SRCS} ${CMAKE_CURRENT_SOURCE_DIR}/${file})
|
||||
endforeach()
|
||||
# Append sources (with directory name) to list of all mlpack sources (used at
|
||||
# the parent scope).
|
||||
set(MLPACK_SRCS ${MLPACK_SRCS} ${DIR_SRCS} PARENT_SCOPE)
|
||||
@@ -1,28 +0,0 @@
|
||||
# Define the files we need to compile
|
||||
# Anything not in this list will not be compiled into mlpack.
|
||||
set(SOURCES
|
||||
ann.hpp
|
||||
ffn.hpp
|
||||
ffn_impl.hpp
|
||||
forward_decls.hpp
|
||||
make_alias.hpp
|
||||
rnn.hpp
|
||||
rnn_impl.hpp
|
||||
)
|
||||
|
||||
add_subdirectory(activation_functions)
|
||||
add_subdirectory(augmented)
|
||||
add_subdirectory(init_rules)
|
||||
add_subdirectory(layer)
|
||||
add_subdirectory(loss_functions)
|
||||
add_subdirectory(convolution_rules)
|
||||
add_subdirectory(regularizer)
|
||||
|
||||
# Add directory name to sources.
|
||||
set(DIR_SRCS)
|
||||
foreach(file ${SOURCES})
|
||||
set(DIR_SRCS ${DIR_SRCS} ${CMAKE_CURRENT_SOURCE_DIR}/${file})
|
||||
endforeach()
|
||||
# Append sources (with directory name) to list of all mlpack sources (used at
|
||||
# the parent scope).
|
||||
set(MLPACK_SRCS ${MLPACK_SRCS} ${DIR_SRCS} PARENT_SCOPE)
|
||||
@@ -1,36 +0,0 @@
|
||||
# Define the files we need to compile
|
||||
# Anything not in this list will not be compiled into mlpack.
|
||||
set(SOURCES
|
||||
activation_functions.hpp
|
||||
elish_function.hpp
|
||||
elliot_function.hpp
|
||||
gaussian_function.hpp
|
||||
gelu_function.hpp
|
||||
hard_sigmoid_function.hpp
|
||||
hard_swish_function.hpp
|
||||
identity_function.hpp
|
||||
inverse_quadratic_function.hpp
|
||||
lisht_function.hpp
|
||||
logistic_function.hpp
|
||||
mish_function.hpp
|
||||
multi_quadratic_function.hpp
|
||||
poisson1_function.hpp
|
||||
quadratic_function.hpp
|
||||
rectifier_function.hpp
|
||||
silu_function.hpp
|
||||
softplus_function.hpp
|
||||
softsign_function.hpp
|
||||
spline_function.hpp
|
||||
swish_function.hpp
|
||||
tanh_exponential_function.hpp
|
||||
tanh_function.hpp
|
||||
)
|
||||
|
||||
# Add directory name to sources.
|
||||
set(DIR_SRCS)
|
||||
foreach(file ${SOURCES})
|
||||
set(DIR_SRCS ${DIR_SRCS} ${CMAKE_CURRENT_SOURCE_DIR}/${file})
|
||||
endforeach()
|
||||
# Append sources (with directory name) to list of all mlpack sources (used at
|
||||
# the parent scope).
|
||||
set(MLPACK_SRCS ${MLPACK_SRCS} ${DIR_SRCS} PARENT_SCOPE)
|
||||
@@ -1,14 +0,0 @@
|
||||
# Define the files we need to compile
|
||||
# Anything not in this list will not be compiled into mlpack.
|
||||
set(SOURCES
|
||||
augmented.hpp
|
||||
)
|
||||
|
||||
# Append sources (with directory name) to list of all mlpack sources (used at
|
||||
# the parent scope).
|
||||
set(MLPACK_SRCS ${MLPACK_SRCS} ${DIR_SRCS} PARENT_SCOPE)
|
||||
|
||||
add_subdirectory(tasks)
|
||||
|
||||
# Add directory name to sources.
|
||||
set(MLPACK_SRCS ${MLPACK_SRCS} PARENT_SCOPE)
|
||||
@@ -1,16 +0,0 @@
|
||||
# Define the files we need to compile
|
||||
# Anything not in this list will not be compiled into mlpack.
|
||||
set(SOURCES
|
||||
tasks.hpp
|
||||
add.hpp
|
||||
copy.hpp
|
||||
score.hpp
|
||||
sort.hpp
|
||||
)
|
||||
|
||||
# Append sources (with directory name) to list of all mlpack sources (used at
|
||||
# the parent scope).
|
||||
set(MLPACK_SRCS ${MLPACK_SRCS} ${DIR_SRCS} PARENT_SCOPE)
|
||||
|
||||
# Add directory name to sources.
|
||||
set(MLPACK_SRCS ${MLPACK_SRCS} PARENT_SCOPE)
|
||||
@@ -1,18 +0,0 @@
|
||||
# Define the files we need to compile
|
||||
# Anything not in this list will not be compiled into mlpack.
|
||||
set(SOURCES
|
||||
convolution_rules.hpp
|
||||
border_modes.hpp
|
||||
naive_convolution.hpp
|
||||
fft_convolution.hpp
|
||||
svd_convolution.hpp
|
||||
)
|
||||
|
||||
# Add directory name to sources.
|
||||
set(DIR_SRCS)
|
||||
foreach(file ${SOURCES})
|
||||
set(DIR_SRCS ${DIR_SRCS} ${CMAKE_CURRENT_SOURCE_DIR}/${file})
|
||||
endforeach()
|
||||
# Append sources (with directory name) to list of all mlpack sources (used at
|
||||
# the parent scope).
|
||||
set(MLPACK_SRCS ${MLPACK_SRCS} ${DIR_SRCS} PARENT_SCOPE)
|
||||
@@ -1,18 +0,0 @@
|
||||
# Define the files we need to compile
|
||||
# Anything not in this list will not be compiled into mlpack.
|
||||
set(SOURCES
|
||||
dists.hpp
|
||||
bernoulli_distribution.hpp
|
||||
bernoulli_distribution_impl.hpp
|
||||
normal_distribution.hpp
|
||||
normal_distribution_impl.hpp
|
||||
)
|
||||
|
||||
# Add directory name to sources.
|
||||
set(DIR_SRCS)
|
||||
foreach(file ${SOURCES})
|
||||
set(DIR_SRCS ${DIR_SRCS} ${CMAKE_CURRENT_SOURCE_DIR}/${file})
|
||||
endforeach()
|
||||
# Append sources (with directory name) to list of all mlpack sources (used at
|
||||
# the parent scope).
|
||||
set(MLPACK_SRCS ${MLPACK_SRCS} ${DIR_SRCS} PARENT_SCOPE)
|
||||
@@ -1,26 +0,0 @@
|
||||
# Define the files we need to compile
|
||||
# Anything not in this list will not be compiled into mlpack.
|
||||
set(SOURCES
|
||||
init_rules.hpp
|
||||
const_init.hpp
|
||||
gaussian_init.hpp
|
||||
he_init.hpp
|
||||
init_rules_traits.hpp
|
||||
kathirvalavakumar_subavathi_init.hpp
|
||||
lecun_normal_init.hpp
|
||||
network_init.hpp
|
||||
nguyen_widrow_init.hpp
|
||||
oivs_init.hpp
|
||||
orthogonal_init.hpp
|
||||
random_init.hpp
|
||||
glorot_init.hpp
|
||||
)
|
||||
|
||||
# Add directory name to sources.
|
||||
set(DIR_SRCS)
|
||||
foreach(file ${SOURCES})
|
||||
set(DIR_SRCS ${DIR_SRCS} ${CMAKE_CURRENT_SOURCE_DIR}/${file})
|
||||
endforeach()
|
||||
# Append sources (with directory name) to list of all mlpack sources (used at
|
||||
# the parent scope).
|
||||
set(MLPACK_SRCS ${MLPACK_SRCS} ${DIR_SRCS} PARENT_SCOPE)
|
||||
@@ -1,64 +0,0 @@
|
||||
# Define the files we need to compile
|
||||
# Anything not in this list will not be compiled into mlpack.
|
||||
set(SOURCES
|
||||
adaptive_max_pooling.hpp
|
||||
adaptive_max_pooling_impl.hpp
|
||||
adaptive_mean_pooling.hpp
|
||||
adaptive_mean_pooling_impl.hpp
|
||||
add.hpp
|
||||
add_impl.hpp
|
||||
add_merge.hpp
|
||||
add_merge_impl.hpp
|
||||
alpha_dropout.hpp
|
||||
alpha_dropout_impl.hpp
|
||||
base_layer.hpp
|
||||
batch_norm.hpp
|
||||
batch_norm_impl.hpp
|
||||
concat.hpp
|
||||
concat_impl.hpp
|
||||
concatenate.hpp
|
||||
concatenate_impl.hpp
|
||||
convolution.hpp
|
||||
convolution_impl.hpp
|
||||
dropconnect.hpp
|
||||
dropconnect_impl.hpp
|
||||
dropout.hpp
|
||||
dropout_impl.hpp
|
||||
identity.hpp
|
||||
identity_impl.hpp
|
||||
layer.hpp
|
||||
layer_types.hpp
|
||||
leaky_relu.hpp
|
||||
leaky_relu_impl.hpp
|
||||
linear.hpp
|
||||
linear_impl.hpp
|
||||
linear_no_bias.hpp
|
||||
linear_no_bias_impl.hpp
|
||||
linear3d.hpp
|
||||
linear3d_impl.hpp
|
||||
log_softmax.hpp
|
||||
log_softmax_impl.hpp
|
||||
lstm.hpp
|
||||
lstm_impl.hpp
|
||||
max_pooling.hpp
|
||||
max_pooling_impl.hpp
|
||||
mean_pooling.hpp
|
||||
mean_pooling_impl.hpp
|
||||
multi_layer.hpp
|
||||
multi_layer_impl.hpp
|
||||
noisylinear.hpp
|
||||
noisylinear_impl.hpp
|
||||
padding.hpp
|
||||
radial_basis_function.hpp
|
||||
radial_basis_function_impl.hpp
|
||||
serialization.hpp
|
||||
)
|
||||
|
||||
# Add directory name to sources.
|
||||
set(DIR_SRCS)
|
||||
foreach(file ${SOURCES})
|
||||
set(DIR_SRCS ${DIR_SRCS} ${CMAKE_CURRENT_SOURCE_DIR}/${file})
|
||||
endforeach()
|
||||
# Append sources (with directory name) to list of all mlpack sources (used at
|
||||
# the parent scope).
|
||||
set(MLPACK_SRCS ${MLPACK_SRCS} ${DIR_SRCS} PARENT_SCOPE)
|
||||
@@ -1,62 +0,0 @@
|
||||
# Define the files we need to compile
|
||||
# Anything not in this list will not be compiled into mlpack.
|
||||
set(SOURCES
|
||||
loss_functions.hpp
|
||||
binary_cross_entropy_loss.hpp
|
||||
binary_cross_entropy_loss_impl.hpp
|
||||
cosine_embedding_loss.hpp
|
||||
cosine_embedding_loss_impl.hpp
|
||||
dice_loss.hpp
|
||||
dice_loss_impl.hpp
|
||||
earth_mover_distance.hpp
|
||||
earth_mover_distance_impl.hpp
|
||||
empty_loss.hpp
|
||||
empty_loss_impl.hpp
|
||||
huber_loss.hpp
|
||||
huber_loss_impl.hpp
|
||||
hinge_embedding_loss.hpp
|
||||
hinge_embedding_loss_impl.hpp
|
||||
hinge_loss.hpp
|
||||
hinge_loss_impl.hpp
|
||||
kl_divergence.hpp
|
||||
kl_divergence_impl.hpp
|
||||
l1_loss.hpp
|
||||
l1_loss_impl.hpp
|
||||
log_cosh_loss.hpp
|
||||
log_cosh_loss_impl.hpp
|
||||
margin_ranking_loss.hpp
|
||||
margin_ranking_loss_impl.hpp
|
||||
mean_absolute_percentage_error.hpp
|
||||
mean_absolute_percentage_error_impl.hpp
|
||||
mean_bias_error.hpp
|
||||
mean_bias_error_impl.hpp
|
||||
mean_squared_error.hpp
|
||||
mean_squared_error_impl.hpp
|
||||
mean_squared_logarithmic_error.hpp
|
||||
mean_squared_logarithmic_error_impl.hpp
|
||||
multilabel_softmargin_loss.hpp
|
||||
multilabel_softmargin_loss_impl.hpp
|
||||
negative_log_likelihood.hpp
|
||||
negative_log_likelihood_impl.hpp
|
||||
poisson_nll_loss.hpp
|
||||
poisson_nll_loss_impl.hpp
|
||||
reconstruction_loss.hpp
|
||||
reconstruction_loss_impl.hpp
|
||||
sigmoid_cross_entropy_error.hpp
|
||||
sigmoid_cross_entropy_error_impl.hpp
|
||||
soft_margin_loss.hpp
|
||||
soft_margin_loss_impl.hpp
|
||||
triplet_margin_loss.hpp
|
||||
triplet_margin_loss_impl.hpp
|
||||
vr_class_reward.hpp
|
||||
vr_class_reward_impl.hpp
|
||||
)
|
||||
|
||||
# Add directory name to sources.
|
||||
set(DIR_SRCS)
|
||||
foreach(file ${SOURCES})
|
||||
set(DIR_SRCS ${DIR_SRCS} ${CMAKE_CURRENT_SOURCE_DIR}/${file})
|
||||
endforeach()
|
||||
# Append sources (with directory name) to list of all mlpack sources (used at
|
||||
# the parent scope).
|
||||
set(MLPACK_SRCS ${MLPACK_SRCS} ${DIR_SRCS} PARENT_SCOPE)
|
||||
@@ -1,20 +0,0 @@
|
||||
# Define the files we need to compile
|
||||
# Anything not in this list will not be compiled into mlpack.
|
||||
set(SOURCES
|
||||
gan.hpp
|
||||
gan_impl.hpp
|
||||
gan_policies.hpp
|
||||
wgan_impl.hpp
|
||||
wgangp_impl.hpp
|
||||
)
|
||||
|
||||
add_subdirectory(metrics)
|
||||
|
||||
# Add directory name to sources.
|
||||
set(DIR_SRCS)
|
||||
foreach(file ${SOURCES})
|
||||
set(DIR_SRCS ${DIR_SRCS} ${CMAKE_CURRENT_SOURCE_DIR}/${file})
|
||||
endforeach()
|
||||
# Append sources (with directory name) to list of all mlpack sources (used at
|
||||
# the parent scope).
|
||||
set(MLPACK_SRCS ${MLPACK_SRCS} ${DIR_SRCS} PARENT_SCOPE)
|
||||
@@ -1,15 +0,0 @@
|
||||
# Define the files we need to compile.
|
||||
# Anything not in this list will not be compiled into mlpack.
|
||||
set(SOURCES
|
||||
inception_score.hpp
|
||||
inception_score_impl.hpp
|
||||
)
|
||||
|
||||
# Add directory name to sources.
|
||||
set(DIR_SRCS)
|
||||
foreach(file ${SOURCES})
|
||||
set(DIR_SRCS ${DIR_SRCS} ${CMAKE_CURRENT_SOURCE_DIR}/${file})
|
||||
endforeach()
|
||||
# Append sources (with directory name) to list of all mlpack sources (used at
|
||||
# the parent scope).
|
||||
set(MLPACK_SRCS ${MLPACK_SRCS} ${DIR_SRCS} PARENT_SCOPE)
|
||||
@@ -1,17 +0,0 @@
|
||||
# Define the files we need to compile.
|
||||
# Any file not in this list will not be compiled into mlpack.
|
||||
set(SOURCES
|
||||
rbm.hpp
|
||||
rbm_impl.hpp
|
||||
rbm_policies.hpp
|
||||
spike_slab_rbm_impl.hpp
|
||||
)
|
||||
|
||||
# Add directory name to sources.
|
||||
set(DIR_SRCS)
|
||||
foreach(file ${SOURCES})
|
||||
set(DIR_SRCS ${DIR_SRCS} ${CMAKE_CURRENT_SOURCE_DIR}/${file})
|
||||
endforeach()
|
||||
# Append sources (with directory name) to list of all mlpack sources (used at
|
||||
# the parent scope).
|
||||
set(MLPACK_SRCS ${MLPACK_SRCS} ${DIR_SRCS} PARENT_SCOPE)
|
||||
@@ -1,19 +0,0 @@
|
||||
# Define the files we need to compile.
|
||||
# Anything not in this list will not be compiled into mlpack.
|
||||
set(SOURCES
|
||||
regularizer.hpp
|
||||
lregularizer.hpp
|
||||
lregularizer_impl.hpp
|
||||
orthogonal_regularizer.hpp
|
||||
orthogonal_regularizer_impl.hpp
|
||||
no_regularizer.hpp
|
||||
)
|
||||
|
||||
# Add directory name to sources.
|
||||
set(DIR_SRCS)
|
||||
foreach(file ${SOURCES})
|
||||
set(DIR_SRCS ${DIR_SRCS} ${CMAKE_CURRENT_SOURCE_DIR}/${file})
|
||||
endforeach()
|
||||
# Append sources (with directory name) to list of all mlpack sources (used at
|
||||
# the parent scope).
|
||||
set(MLPACK_SRCS ${MLPACK_SRCS} ${DIR_SRCS} PARENT_SCOPE)
|
||||
@@ -1,30 +0,0 @@
|
||||
# Define the files we need to compile.
|
||||
# Anything not in this list will not be compiled into mlpack.
|
||||
set(SOURCES
|
||||
# Convenience include.
|
||||
approx_kfn.hpp
|
||||
# DrusillaSelect sources.
|
||||
drusilla_select.hpp
|
||||
drusilla_select_impl.hpp
|
||||
# QDAFN sources.
|
||||
qdafn.hpp
|
||||
qdafn_impl.hpp
|
||||
)
|
||||
|
||||
# Add directory name to sources.
|
||||
set(DIR_SRCS)
|
||||
foreach(file ${SOURCES})
|
||||
set(DIR_SRCS ${DIR_SRCS} ${CMAKE_CURRENT_SOURCE_DIR}/${file})
|
||||
endforeach()
|
||||
# Append sources (with directory name) to list of all mlpack sources (used at
|
||||
# the parent scope).
|
||||
set(MLPACK_SRCS ${MLPACK_SRCS} ${DIR_SRCS} PARENT_SCOPE)
|
||||
|
||||
# This program computes approximate furthest neighbors.
|
||||
add_category(approx_kfn "geometry")
|
||||
add_cli_executable(approx_kfn)
|
||||
add_python_binding(approx_kfn)
|
||||
add_julia_binding(approx_kfn)
|
||||
add_go_binding(approx_kfn)
|
||||
add_r_binding(approx_kfn)
|
||||
add_markdown_docs(approx_kfn "cli;python;julia;go;r" "")
|
||||
@@ -1,22 +0,0 @@
|
||||
# Define the files we need to compile
|
||||
# Anything not in this list will not be compiled into the output library
|
||||
set(SOURCES
|
||||
bayesian_linear_regression.hpp
|
||||
bayesian_linear_regression_impl.hpp
|
||||
)
|
||||
|
||||
# add directory name to sources
|
||||
set(DIR_SRCS)
|
||||
foreach(file ${SOURCES})
|
||||
set(DIR_SRCS ${DIR_SRCS} ${CMAKE_CURRENT_SOURCE_DIR}/${file})
|
||||
endforeach()
|
||||
# append sources (with directory name) to list of all mlpack sources (used at the parent scope)
|
||||
set(MLPACK_SRCS ${MLPACK_SRCS} ${DIR_SRCS} PARENT_SCOPE)
|
||||
|
||||
add_category(bayesian_linear_regression "regression")
|
||||
add_cli_executable(bayesian_linear_regression)
|
||||
add_python_binding(bayesian_linear_regression)
|
||||
add_julia_binding(bayesian_linear_regression)
|
||||
add_go_binding(bayesian_linear_regression)
|
||||
add_r_binding(bayesian_linear_regression)
|
||||
add_markdown_docs(bayesian_linear_regression "cli;python;julia;go;r" "")
|
||||
@@ -1,17 +0,0 @@
|
||||
# Define the files we need to compile.
|
||||
# Anything not in this list will not be compiled into mlpack.
|
||||
set(SOURCES
|
||||
bias_svd.hpp
|
||||
bias_svd_impl.hpp
|
||||
bias_svd_function.hpp
|
||||
bias_svd_function_impl.hpp
|
||||
)
|
||||
|
||||
# Add directory name to sources.
|
||||
set(DIR_SRCS)
|
||||
foreach(file ${SOURCES})
|
||||
set(DIR_SRCS ${DIR_SRCS} ${CMAKE_CURRENT_SOURCE_DIR}/${file})
|
||||
endforeach()
|
||||
# Append sources (with directory name) to list of all mlpack sources (used at
|
||||
# the parent scope).
|
||||
set(MLPACK_SRCS ${MLPACK_SRCS} ${DIR_SRCS} PARENT_SCOPE)
|
||||
@@ -1,16 +0,0 @@
|
||||
# Define the files we need to compile.
|
||||
# Anything not in this list will not be compiled into mlpack.
|
||||
set(SOURCES
|
||||
block_krylov_svd.hpp
|
||||
randomized_block_krylov_svd.hpp
|
||||
randomized_block_krylov_svd_impl.hpp
|
||||
)
|
||||
|
||||
# Add directory name to sources.
|
||||
set(DIR_SRCS)
|
||||
foreach(file ${SOURCES})
|
||||
set(DIR_SRCS ${DIR_SRCS} ${CMAKE_CURRENT_SOURCE_DIR}/${file})
|
||||
endforeach()
|
||||
# Append sources (with directory name) to list of all mlpack sources (used at
|
||||
# the parent scope).
|
||||
set(MLPACK_SRCS ${MLPACK_SRCS} ${DIR_SRCS} PARENT_SCOPE)
|
||||
@@ -1,32 +0,0 @@
|
||||
# Define the files we need to compile
|
||||
# Anything not in this list will not be compiled into mlpack.
|
||||
set(SOURCES
|
||||
cf.hpp
|
||||
cf_impl.hpp
|
||||
cf_model.hpp
|
||||
cf_model_impl.hpp
|
||||
svd_wrapper.hpp
|
||||
svd_wrapper_impl.hpp
|
||||
)
|
||||
|
||||
add_subdirectory(decomposition_policies)
|
||||
add_subdirectory(interpolation_policies)
|
||||
add_subdirectory(neighbor_search_policies)
|
||||
add_subdirectory(normalization)
|
||||
|
||||
# Add directory name to sources.
|
||||
set(DIR_SRCS)
|
||||
foreach(file ${SOURCES})
|
||||
set(DIR_SRCS ${DIR_SRCS} ${CMAKE_CURRENT_SOURCE_DIR}/${file})
|
||||
endforeach()
|
||||
# Append sources (with directory name) to list of all mlpack sources (used at
|
||||
# the parent scope).
|
||||
set(MLPACK_SRCS ${MLPACK_SRCS} ${DIR_SRCS} PARENT_SCOPE)
|
||||
|
||||
add_category(cf "misc. / other")
|
||||
add_cli_executable(cf)
|
||||
add_python_binding(cf)
|
||||
add_julia_binding(cf)
|
||||
add_go_binding(cf)
|
||||
add_r_binding(cf)
|
||||
add_markdown_docs(cf "cli;python;julia;go;r" "")
|
||||
@@ -1,22 +0,0 @@
|
||||
# Define the files we need to compile
|
||||
# Anything not in this list will not be compiled into mlpack.
|
||||
set(SOURCES
|
||||
decomposition_policies.hpp
|
||||
batch_svd_method.hpp
|
||||
bias_svd_method.hpp
|
||||
nmf_method.hpp
|
||||
randomized_svd_method.hpp
|
||||
regularized_svd_method.hpp
|
||||
svd_complete_method.hpp
|
||||
svd_incomplete_method.hpp
|
||||
svdplusplus_method.hpp
|
||||
)
|
||||
|
||||
# Add directory name to sources.
|
||||
set(DIR_SRCS)
|
||||
foreach(file ${SOURCES})
|
||||
set(DIR_SRCS ${DIR_SRCS} ${CMAKE_CURRENT_SOURCE_DIR}/${file})
|
||||
endforeach()
|
||||
# Append sources (with directory name) to list of all mlpack sources (used at
|
||||
# the parent scope).
|
||||
set(MLPACK_SRCS ${MLPACK_SRCS} ${DIR_SRCS} PARENT_SCOPE)
|
||||
@@ -1,17 +0,0 @@
|
||||
# Define the files we need to compile
|
||||
# Anything not in this list will not be compiled into mlpack.
|
||||
set(SOURCES
|
||||
interpolation_policies.hpp
|
||||
average_interpolation.hpp
|
||||
similarity_interpolation.hpp
|
||||
regression_interpolation.hpp
|
||||
)
|
||||
|
||||
# Add directory name to sources.
|
||||
set(DIR_SRCS)
|
||||
foreach(file ${SOURCES})
|
||||
set(DIR_SRCS ${DIR_SRCS} ${CMAKE_CURRENT_SOURCE_DIR}/${file})
|
||||
endforeach()
|
||||
# Append sources (with directory name) to list of all mlpack sources (used at
|
||||
# the parent scope).
|
||||
set(MLPACK_SRCS ${MLPACK_SRCS} ${DIR_SRCS} PARENT_SCOPE)
|
||||
@@ -1,17 +0,0 @@
|
||||
# Define the files we need to compile
|
||||
# Anything not in this list will not be compiled into mlpack.
|
||||
set(SOURCES
|
||||
neighbor_search_policies.hpp
|
||||
lmetric_search.hpp
|
||||
cosine_search.hpp
|
||||
pearson_search.hpp
|
||||
)
|
||||
|
||||
# Add directory name to sources.
|
||||
set(DIR_SRCS)
|
||||
foreach(file ${SOURCES})
|
||||
set(DIR_SRCS ${DIR_SRCS} ${CMAKE_CURRENT_SOURCE_DIR}/${file})
|
||||
endforeach()
|
||||
# Append sources (with directory name) to list of all mlpack sources (used at
|
||||
# the parent scope).
|
||||
set(MLPACK_SRCS ${MLPACK_SRCS} ${DIR_SRCS} PARENT_SCOPE)
|
||||
@@ -1,20 +0,0 @@
|
||||
# Define the files we need to compile
|
||||
# Anything not in this list will not be compiled into mlpack.
|
||||
set(SOURCES
|
||||
normalization.hpp
|
||||
no_normalization.hpp
|
||||
overall_mean_normalization.hpp
|
||||
user_mean_normalization.hpp
|
||||
item_mean_normalization.hpp
|
||||
z_score_normalization.hpp
|
||||
combined_normalization.hpp
|
||||
)
|
||||
|
||||
# Add directory name to sources.
|
||||
set(DIR_SRCS)
|
||||
foreach(file ${SOURCES})
|
||||
set(DIR_SRCS ${DIR_SRCS} ${CMAKE_CURRENT_SOURCE_DIR}/${file})
|
||||
endforeach()
|
||||
# Append sources (with directory name) to list of all mlpack sources (used at
|
||||
# the parent scope).
|
||||
set(MLPACK_SRCS ${MLPACK_SRCS} ${DIR_SRCS} PARENT_SCOPE)
|
||||
@@ -1,25 +0,0 @@
|
||||
# Define the files we need to compile
|
||||
# Anything not in this list will not be compiled into mlpack.
|
||||
set(SOURCES
|
||||
dbscan.hpp
|
||||
dbscan_impl.hpp
|
||||
random_point_selection.hpp
|
||||
ordered_point_selection.hpp
|
||||
)
|
||||
|
||||
# Add directory name to sources.
|
||||
set(DIR_SRCS)
|
||||
foreach(file ${SOURCES})
|
||||
set(DIR_SRCS ${DIR_SRCS} ${CMAKE_CURRENT_SOURCE_DIR}/${file})
|
||||
endforeach()
|
||||
# Append sources (with directory name) to list of all mlpack sources (used at
|
||||
# the parent scope).
|
||||
set(MLPACK_SRCS ${MLPACK_SRCS} ${DIR_SRCS} PARENT_SCOPE)
|
||||
|
||||
add_category(dbscan "clustering")
|
||||
add_cli_executable(dbscan)
|
||||
add_python_binding(dbscan)
|
||||
add_julia_binding(dbscan)
|
||||
add_go_binding(dbscan)
|
||||
add_r_binding(dbscan)
|
||||
add_markdown_docs(dbscan "cli;python;julia;go;r" "")
|
||||
@@ -1,36 +0,0 @@
|
||||
# Define the files we need to compile.
|
||||
# Anything not in this list will not be compiled into mlpack.
|
||||
set(SOURCES
|
||||
all_dimension_select.hpp
|
||||
decision_tree.hpp
|
||||
decision_tree_impl.hpp
|
||||
decision_tree_regressor.hpp
|
||||
decision_tree_regressor_impl.hpp
|
||||
all_categorical_split.hpp
|
||||
all_categorical_split_impl.hpp
|
||||
best_binary_numeric_split.hpp
|
||||
best_binary_numeric_split_impl.hpp
|
||||
gini_gain.hpp
|
||||
information_gain.hpp
|
||||
multiple_random_dimension_select.hpp
|
||||
random_binary_numeric_split.hpp
|
||||
random_binary_numeric_split_impl.hpp
|
||||
random_dimension_select.hpp
|
||||
)
|
||||
|
||||
# Add directory name to sources.
|
||||
set(DIR_SRCS)
|
||||
foreach(file ${SOURCES})
|
||||
set(DIR_SRCS ${DIR_SRCS} ${CMAKE_CURRENT_SOURCE_DIR}/${file})
|
||||
endforeach()
|
||||
# Append sources (with directory name) to list of all mlpack sources (used at
|
||||
# the parent scope).
|
||||
set(MLPACK_SRCS ${MLPACK_SRCS} ${DIR_SRCS} PARENT_SCOPE)
|
||||
|
||||
add_category(decision_tree "classification")
|
||||
add_cli_executable(decision_tree)
|
||||
add_python_binding(decision_tree)
|
||||
add_julia_binding(decision_tree)
|
||||
add_go_binding(decision_tree)
|
||||
add_r_binding(decision_tree)
|
||||
add_markdown_docs(decision_tree "cli;python;julia;go;r" "")
|
||||
@@ -1,31 +0,0 @@
|
||||
# Define the files we need to compile
|
||||
# Anything not in this list will not be compiled into the output library
|
||||
# Do not include test programs here
|
||||
set(SOURCES
|
||||
# Convenience include.
|
||||
det.hpp
|
||||
|
||||
# the DET class
|
||||
dtree.hpp
|
||||
dtree_impl.hpp
|
||||
|
||||
# Utility files
|
||||
dt_utils.hpp
|
||||
dt_utils_impl.hpp
|
||||
)
|
||||
|
||||
# add directory name to sources
|
||||
set(DIR_SRCS)
|
||||
foreach(file ${SOURCES})
|
||||
set(DIR_SRCS ${DIR_SRCS} ${CMAKE_CURRENT_SOURCE_DIR}/${file})
|
||||
endforeach()
|
||||
# append sources (with directory name) to list of all mlpack sources (used at the parent scope)
|
||||
set(MLPACK_SRCS ${MLPACK_SRCS} ${DIR_SRCS} PARENT_SCOPE)
|
||||
|
||||
add_category(det "misc. / other")
|
||||
add_cli_executable(det)
|
||||
add_python_binding(det)
|
||||
add_julia_binding(det)
|
||||
add_go_binding(det)
|
||||
add_r_binding(det)
|
||||
add_markdown_docs(det "cli;python;julia;go;r" "")
|
||||
@@ -1,30 +0,0 @@
|
||||
# Define the files we need to compile
|
||||
# Anything not in this list will not be compiled into mlpack.
|
||||
set(SOURCES
|
||||
# union_find
|
||||
union_find.hpp
|
||||
# dtb
|
||||
dtb.hpp
|
||||
dtb_impl.hpp
|
||||
dtb_rules.hpp
|
||||
dtb_rules_impl.hpp
|
||||
dtb_stat.hpp
|
||||
edge_pair.hpp
|
||||
)
|
||||
|
||||
# Add directory name to sources.
|
||||
set(DIR_SRCS)
|
||||
foreach(file ${SOURCES})
|
||||
set(DIR_SRCS ${DIR_SRCS} ${CMAKE_CURRENT_SOURCE_DIR}/${file})
|
||||
endforeach()
|
||||
# Append sources (with directory name) to list of all mlpack sources (used at
|
||||
# the parent scope).
|
||||
set(MLPACK_SRCS ${MLPACK_SRCS} ${DIR_SRCS} PARENT_SCOPE)
|
||||
|
||||
add_category(emst "geometry")
|
||||
add_cli_executable(emst)
|
||||
add_python_binding(emst)
|
||||
add_julia_binding(emst)
|
||||
add_go_binding(emst)
|
||||
add_r_binding(emst)
|
||||
add_markdown_docs(emst "cli;python;julia;go;r" "")
|
||||
@@ -1,28 +0,0 @@
|
||||
# Define the files we need to compile.
|
||||
# Anything not in this list will not be compiled into mlpack.
|
||||
set(SOURCES
|
||||
fastmks.hpp
|
||||
fastmks_impl.hpp
|
||||
fastmks_model.hpp
|
||||
fastmks_model_impl.hpp
|
||||
fastmks_rules.hpp
|
||||
fastmks_rules_impl.hpp
|
||||
fastmks_stat.hpp
|
||||
)
|
||||
|
||||
# Add directory name to sources.
|
||||
set(DIR_SRCS)
|
||||
foreach(file ${SOURCES})
|
||||
set(DIR_SRCS ${DIR_SRCS} ${CMAKE_CURRENT_SOURCE_DIR}/${file})
|
||||
endforeach()
|
||||
# Append sources (with directory name) to list of all mlpack sources (used at
|
||||
# the parent scope).
|
||||
set(MLPACK_SRCS ${MLPACK_SRCS} ${DIR_SRCS} PARENT_SCOPE)
|
||||
|
||||
add_category(fastmks "geometry")
|
||||
add_cli_executable(fastmks)
|
||||
add_python_binding(fastmks)
|
||||
add_julia_binding(fastmks)
|
||||
add_go_binding(fastmks)
|
||||
add_r_binding(fastmks)
|
||||
add_markdown_docs(fastmks "cli;python;julia;go;r" "")
|
||||
@@ -1,47 +0,0 @@
|
||||
# Define the files we need to compile.
|
||||
# Anything not in this list will not be compiled into mlpack.
|
||||
set(SOURCES
|
||||
gmm.hpp
|
||||
gmm_impl.hpp
|
||||
diagonal_gmm.hpp
|
||||
diagonal_gmm_impl.hpp
|
||||
em_fit.hpp
|
||||
em_fit_impl.hpp
|
||||
no_constraint.hpp
|
||||
positive_definite_constraint.hpp
|
||||
diagonal_constraint.hpp
|
||||
eigenvalue_ratio_constraint.hpp
|
||||
)
|
||||
|
||||
# Add directory name to sources.
|
||||
set(DIR_SRCS)
|
||||
foreach(file ${SOURCES})
|
||||
set(DIR_SRCS ${DIR_SRCS} ${CMAKE_CURRENT_SOURCE_DIR}/${file})
|
||||
endforeach()
|
||||
# Append sources (with directory name) to list of all mlpack sources (used at
|
||||
# the parent scope).
|
||||
set(MLPACK_SRCS ${MLPACK_SRCS} ${DIR_SRCS} PARENT_SCOPE)
|
||||
|
||||
add_category(gmm_train "clustering")
|
||||
add_cli_executable(gmm_train)
|
||||
add_python_binding(gmm_train)
|
||||
add_julia_binding(gmm_train)
|
||||
add_go_binding(gmm_train)
|
||||
add_r_binding(gmm_train)
|
||||
add_markdown_docs(gmm_train "cli;python;julia;go;r" "")
|
||||
|
||||
add_category(gmm_generate "clustering")
|
||||
add_cli_executable(gmm_generate)
|
||||
add_python_binding(gmm_generate)
|
||||
add_julia_binding(gmm_generate)
|
||||
add_go_binding(gmm_generate)
|
||||
add_r_binding(gmm_generate)
|
||||
add_markdown_docs(gmm_generate "cli;python;julia;go;r" "")
|
||||
|
||||
add_category(gmm_probability "clustering")
|
||||
add_cli_executable(gmm_probability)
|
||||
add_python_binding(gmm_probability)
|
||||
add_julia_binding(gmm_probability)
|
||||
add_go_binding(gmm_probability)
|
||||
add_r_binding(gmm_probability)
|
||||
add_markdown_docs(gmm_probability "cli;python;julia;go;r" "")
|
||||
@@ -1,52 +0,0 @@
|
||||
# Define the files we need to compile.
|
||||
# Anything not in this list will not be compiled into mlpack.
|
||||
set(SOURCES
|
||||
hmm.hpp
|
||||
hmm_impl.hpp
|
||||
hmm_model.hpp
|
||||
hmm_regression.hpp
|
||||
hmm_regression_impl.hpp
|
||||
hmm_util.hpp
|
||||
hmm_util_impl.hpp
|
||||
)
|
||||
|
||||
# Add directory name to sources.
|
||||
set(DIR_SRCS)
|
||||
foreach(file ${SOURCES})
|
||||
set(DIR_SRCS ${DIR_SRCS} ${CMAKE_CURRENT_SOURCE_DIR}/${file})
|
||||
endforeach()
|
||||
# Append sources (with directory name) to list of all mlpack sources (used at
|
||||
# the parent scope).
|
||||
set(MLPACK_SRCS ${MLPACK_SRCS} ${DIR_SRCS} PARENT_SCOPE)
|
||||
|
||||
add_category(hmm_train "misc. / other")
|
||||
add_cli_executable(hmm_train)
|
||||
add_python_binding(hmm_train)
|
||||
add_julia_binding(hmm_train)
|
||||
add_go_binding(hmm_train)
|
||||
add_r_binding(hmm_train)
|
||||
add_markdown_docs(hmm_train "cli;python;julia;go;r" "")
|
||||
|
||||
add_category(hmm_loglik "misc. / other")
|
||||
add_cli_executable(hmm_loglik)
|
||||
add_python_binding(hmm_loglik)
|
||||
add_julia_binding(hmm_loglik)
|
||||
add_go_binding(hmm_loglik)
|
||||
add_r_binding(hmm_loglik)
|
||||
add_markdown_docs(hmm_loglik "cli;python;julia;go;r" "")
|
||||
|
||||
add_category(hmm_viterbi "misc. / other")
|
||||
add_cli_executable(hmm_viterbi)
|
||||
add_python_binding(hmm_viterbi)
|
||||
add_julia_binding(hmm_viterbi)
|
||||
add_go_binding(hmm_viterbi)
|
||||
add_r_binding(hmm_viterbi)
|
||||
add_markdown_docs(hmm_viterbi "cli;python;julia;go;r" "")
|
||||
|
||||
add_category(hmm_generate "misc. / other")
|
||||
add_cli_executable(hmm_generate)
|
||||
add_python_binding(hmm_generate)
|
||||
add_julia_binding(hmm_generate)
|
||||
add_go_binding(hmm_generate)
|
||||
add_r_binding(hmm_generate)
|
||||
add_markdown_docs(hmm_generate "cli;python;julia;go;r" "")
|
||||
@@ -1,38 +0,0 @@
|
||||
# Define the files we need to compile
|
||||
# Anything not in this list will not be compiled into mlpack.
|
||||
set(SOURCES
|
||||
hoeffding_trees.hpp
|
||||
binary_numeric_split.hpp
|
||||
binary_numeric_split_impl.hpp
|
||||
binary_numeric_split_info.hpp
|
||||
categorical_split_info.hpp
|
||||
gini_impurity.hpp
|
||||
hoeffding_categorical_split.hpp
|
||||
hoeffding_categorical_split_impl.hpp
|
||||
hoeffding_numeric_split.hpp
|
||||
hoeffding_numeric_split_impl.hpp
|
||||
hoeffding_tree.hpp
|
||||
hoeffding_tree_impl.hpp
|
||||
hoeffding_tree_model.hpp
|
||||
hoeffding_tree_model_impl.hpp
|
||||
information_gain.hpp
|
||||
numeric_split_info.hpp
|
||||
typedef.hpp
|
||||
)
|
||||
|
||||
# Add directory name to sources.
|
||||
set(DIR_SRCS)
|
||||
foreach(file ${SOURCES})
|
||||
set(DIR_SRCS ${DIR_SRCS} ${CMAKE_CURRENT_SOURCE_DIR}/${file})
|
||||
endforeach()
|
||||
# Append sources (with directory name) to list of all mlpack sources (used at
|
||||
# the parent scope).
|
||||
set(MLPACK_SRCS ${MLPACK_SRCS} ${DIR_SRCS} PARENT_SCOPE)
|
||||
|
||||
add_category(hoeffding_tree "classification")
|
||||
add_cli_executable(hoeffding_tree)
|
||||
add_python_binding(hoeffding_tree)
|
||||
add_julia_binding(hoeffding_tree)
|
||||
add_go_binding(hoeffding_tree)
|
||||
add_r_binding(hoeffding_tree)
|
||||
add_markdown_docs(hoeffding_tree "cli;python;julia;go;r" "")
|
||||
@@ -1,28 +0,0 @@
|
||||
# Define the files we need to compile.
|
||||
# Anything not in this list will not be compiled into mlpack.
|
||||
set(SOURCES
|
||||
kde.hpp
|
||||
kde_impl.hpp
|
||||
kde_rules.hpp
|
||||
kde_rules_impl.hpp
|
||||
kde_stat.hpp
|
||||
kde_model.hpp
|
||||
kde_model_impl.hpp
|
||||
)
|
||||
|
||||
# Add directory name to sources.
|
||||
set(DIR_SRCS)
|
||||
foreach(file ${SOURCES})
|
||||
set(DIR_SRCS ${DIR_SRCS} ${CMAKE_CURRENT_SOURCE_DIR}/${file})
|
||||
endforeach()
|
||||
# Append sources (with directory name) to list of all mlpack sources (used at
|
||||
# the parent scope).
|
||||
set(MLPACK_SRCS ${MLPACK_SRCS} ${DIR_SRCS} PARENT_SCOPE)
|
||||
|
||||
add_category(kde "misc. / other")
|
||||
add_cli_executable(kde)
|
||||
add_python_binding(kde)
|
||||
add_julia_binding(kde)
|
||||
add_go_binding(kde)
|
||||
add_r_binding(kde)
|
||||
add_markdown_docs(kde "cli;python;julia;go;r" "")
|
||||
@@ -1,25 +0,0 @@
|
||||
# Define the files we need to compile
|
||||
# Anything not in this list will not be compiled into mlpack.
|
||||
set(SOURCES
|
||||
kernel_pca.hpp
|
||||
kernel_pca_impl.hpp
|
||||
)
|
||||
|
||||
add_subdirectory(kernel_rules)
|
||||
|
||||
# Add directory name to sources.
|
||||
set(DIR_SRCS)
|
||||
foreach(file ${SOURCES})
|
||||
set(DIR_SRCS ${DIR_SRCS} ${CMAKE_CURRENT_SOURCE_DIR}/${file})
|
||||
endforeach()
|
||||
# Append sources (with directory name) to list of all mlpack sources (used at
|
||||
# the parent scope).
|
||||
set(MLPACK_SRCS ${MLPACK_SRCS} ${DIR_SRCS} PARENT_SCOPE)
|
||||
|
||||
add_category(kernel_pca "transformations")
|
||||
add_cli_executable(kernel_pca)
|
||||
add_python_binding(kernel_pca)
|
||||
add_julia_binding(kernel_pca)
|
||||
add_go_binding(kernel_pca)
|
||||
add_r_binding(kernel_pca)
|
||||
add_markdown_docs(kernel_pca "cli;python;julia;go;r" "")
|
||||
@@ -1,15 +0,0 @@
|
||||
# Define the files we need to compile
|
||||
# Anything not in this list will not be compiled into mlpack.
|
||||
set(SOURCES
|
||||
nystroem_method.hpp
|
||||
naive_method.hpp
|
||||
)
|
||||
|
||||
# Add directory name to sources.
|
||||
set(DIR_SRCS)
|
||||
foreach(file ${SOURCES})
|
||||
set(DIR_SRCS ${DIR_SRCS} ${CMAKE_CURRENT_SOURCE_DIR}/${file})
|
||||
endforeach()
|
||||
# Append sources (with directory name) to list of all mlpack sources (used at
|
||||
# the parent scope).
|
||||
set(MLPACK_SRCS ${MLPACK_SRCS} ${DIR_SRCS} PARENT_SCOPE)
|
||||
@@ -1,48 +0,0 @@
|
||||
# Define the files we need to compile.
|
||||
# Anything not in this list will not be compiled into mlpack.
|
||||
set(SOURCES
|
||||
allow_empty_clusters.hpp
|
||||
dual_tree_kmeans.hpp
|
||||
dual_tree_kmeans_impl.hpp
|
||||
dual_tree_kmeans_rules.hpp
|
||||
dual_tree_kmeans_rules_impl.hpp
|
||||
dual_tree_kmeans_statistic.hpp
|
||||
elkan_kmeans.hpp
|
||||
elkan_kmeans_impl.hpp
|
||||
hamerly_kmeans.hpp
|
||||
hamerly_kmeans_impl.hpp
|
||||
kill_empty_clusters.hpp
|
||||
kmeans.hpp
|
||||
kmeans_impl.hpp
|
||||
kmeans_plus_plus_initialization.hpp
|
||||
max_variance_new_cluster.hpp
|
||||
max_variance_new_cluster_impl.hpp
|
||||
naive_kmeans.hpp
|
||||
naive_kmeans_impl.hpp
|
||||
pelleg_moore_kmeans.hpp
|
||||
pelleg_moore_kmeans_impl.hpp
|
||||
pelleg_moore_kmeans_rules.hpp
|
||||
pelleg_moore_kmeans_rules_impl.hpp
|
||||
pelleg_moore_kmeans_statistic.hpp
|
||||
random_partition.hpp
|
||||
refined_start.hpp
|
||||
refined_start_impl.hpp
|
||||
sample_initialization.hpp
|
||||
)
|
||||
|
||||
# Add directory name to sources.
|
||||
set(DIR_SRCS)
|
||||
foreach(file ${SOURCES})
|
||||
set(DIR_SRCS ${DIR_SRCS} ${CMAKE_CURRENT_SOURCE_DIR}/${file})
|
||||
endforeach()
|
||||
# Append sources (with directory name) to list of all mlpack sources (used at
|
||||
# the parent scope).
|
||||
set(MLPACK_SRCS ${MLPACK_SRCS} ${DIR_SRCS} PARENT_SCOPE)
|
||||
|
||||
add_category(kmeans "clustering")
|
||||
add_cli_executable(kmeans)
|
||||
add_python_binding(kmeans)
|
||||
add_julia_binding(kmeans)
|
||||
add_go_binding(kmeans)
|
||||
add_r_binding(kmeans)
|
||||
add_markdown_docs(kmeans "cli;python;julia;go;r" "")
|
||||
@@ -1,22 +0,0 @@
|
||||
# Define the files we need to compile
|
||||
# Anything not in this list will not be compiled into the output library
|
||||
set(SOURCES
|
||||
lars.hpp
|
||||
lars_impl.hpp
|
||||
)
|
||||
|
||||
# add directory name to sources
|
||||
set(DIR_SRCS)
|
||||
foreach(file ${SOURCES})
|
||||
set(DIR_SRCS ${DIR_SRCS} ${CMAKE_CURRENT_SOURCE_DIR}/${file})
|
||||
endforeach()
|
||||
# append sources (with directory name) to list of all mlpack sources (used at the parent scope)
|
||||
set(MLPACK_SRCS ${MLPACK_SRCS} ${DIR_SRCS} PARENT_SCOPE)
|
||||
|
||||
add_category(lars "regression")
|
||||
add_cli_executable(lars)
|
||||
add_python_binding(lars)
|
||||
add_julia_binding(lars)
|
||||
add_go_binding(lars)
|
||||
add_r_binding(lars)
|
||||
add_markdown_docs(lars "cli;python;julia;go;r" "")
|
||||
@@ -1,26 +0,0 @@
|
||||
# Define the files we need to compile
|
||||
# Anything not in this list will not be compiled into the output library
|
||||
# Do not include test programs here
|
||||
set(SOURCES
|
||||
linear_regression.hpp
|
||||
linear_regression_impl.hpp
|
||||
)
|
||||
|
||||
# add directory name to sources
|
||||
set(DIR_SRCS)
|
||||
foreach(file ${SOURCES})
|
||||
set(DIR_SRCS ${DIR_SRCS} ${CMAKE_CURRENT_SOURCE_DIR}/${file})
|
||||
endforeach()
|
||||
# append sources (with directory name) to list of all mlpack sources (used at
|
||||
# the parent scope)
|
||||
set(MLPACK_SRCS ${MLPACK_SRCS} ${DIR_SRCS} PARENT_SCOPE)
|
||||
|
||||
add_category(linear_regression "regression")
|
||||
group_bindings(linear_regression "train;predict")
|
||||
add_python_wrapper(linear_regression)
|
||||
|
||||
add_cli_executable(linear_regression)
|
||||
add_julia_binding(linear_regression)
|
||||
add_go_binding(linear_regression)
|
||||
add_r_binding(linear_regression)
|
||||
add_markdown_docs(linear_regression "cli;python;julia;go;r" "python")
|
||||
@@ -1,26 +0,0 @@
|
||||
# Define the files we need to compile
|
||||
# Anything not in this list will not be compiled into the output library
|
||||
# Do not include test programs here
|
||||
set(SOURCES
|
||||
linear_svm.hpp
|
||||
linear_svm_impl.hpp
|
||||
linear_svm_function.hpp
|
||||
linear_svm_function_impl.hpp
|
||||
)
|
||||
|
||||
# add directory name to sources
|
||||
set(DIR_SRCS)
|
||||
foreach(file ${SOURCES})
|
||||
set(DIR_SRCS ${DIR_SRCS} ${CMAKE_CURRENT_SOURCE_DIR}/${file})
|
||||
endforeach()
|
||||
# append sources (with directory name) to list of all mlpack sources (used at
|
||||
# the parent scope)
|
||||
set(MLPACK_SRCS ${MLPACK_SRCS} ${DIR_SRCS} PARENT_SCOPE)
|
||||
|
||||
add_category(linear_svm "classification")
|
||||
add_cli_executable(linear_svm)
|
||||
add_python_binding(linear_svm)
|
||||
add_go_binding(linear_svm)
|
||||
add_julia_binding(linear_svm)
|
||||
add_r_binding(linear_svm)
|
||||
add_markdown_docs(linear_svm "cli;python;julia;go;r" "")
|
||||
@@ -1,27 +0,0 @@
|
||||
# Define the files we need to compile.
|
||||
# Anything not in this list will not be compiled into mlpack.
|
||||
set(SOURCES
|
||||
lmnn.hpp
|
||||
lmnn_impl.hpp
|
||||
lmnn_function.hpp
|
||||
lmnn_function_impl.hpp
|
||||
constraints.hpp
|
||||
constraints_impl.hpp
|
||||
)
|
||||
|
||||
# Add directory name to sources.
|
||||
set(DIR_SRCS)
|
||||
foreach(file ${SOURCES})
|
||||
set(DIR_SRCS ${DIR_SRCS} ${CMAKE_CURRENT_SOURCE_DIR}/${file})
|
||||
endforeach()
|
||||
# Append sources (with directory name) to list of all mlpack sources (used at
|
||||
# the parent scope).
|
||||
set(MLPACK_SRCS ${MLPACK_SRCS} ${DIR_SRCS} PARENT_SCOPE)
|
||||
|
||||
add_category(lmnn "transformations")
|
||||
add_cli_executable(lmnn)
|
||||
add_python_binding(lmnn)
|
||||
add_julia_binding(lmnn)
|
||||
add_go_binding(lmnn)
|
||||
add_r_binding(lmnn)
|
||||
add_markdown_docs(lmnn "cli;python;julia;go;r" "")
|
||||
@@ -1,27 +0,0 @@
|
||||
# Define the files we need to compile
|
||||
# Anything not in this list will not be compiled into the output library
|
||||
# Do not include test programs here
|
||||
# In this library, these are specified twice, once here, and once for the individual library it belongs to, so make sure
|
||||
# that you have files in both sections
|
||||
set(SOURCES
|
||||
local_coordinate_coding.hpp
|
||||
lcc.hpp
|
||||
lcc_impl.hpp
|
||||
)
|
||||
|
||||
# add directory name to sources
|
||||
set(DIR_SRCS)
|
||||
foreach(file ${SOURCES})
|
||||
set(DIR_SRCS ${DIR_SRCS} ${CMAKE_CURRENT_SOURCE_DIR}/${file})
|
||||
endforeach()
|
||||
|
||||
# append sources (with directory name) to list of all mlpack sources (used at the parent scope)
|
||||
set(MLPACK_SRCS ${MLPACK_SRCS} ${DIR_SRCS} PARENT_SCOPE)
|
||||
|
||||
add_category(local_coordinate_coding "transformations")
|
||||
add_cli_executable(local_coordinate_coding)
|
||||
add_python_binding(local_coordinate_coding)
|
||||
add_julia_binding(local_coordinate_coding)
|
||||
add_go_binding(local_coordinate_coding)
|
||||
add_r_binding(local_coordinate_coding)
|
||||
add_markdown_docs(local_coordinate_coding "cli;python;julia;go;r" "")
|
||||
@@ -1,26 +0,0 @@
|
||||
# Define the files we need to compile
|
||||
# Anything not in this list will not be compiled into the output library
|
||||
# Do not include test programs here
|
||||
set(SOURCES
|
||||
logistic_regression.hpp
|
||||
logistic_regression_impl.hpp
|
||||
logistic_regression_function.hpp
|
||||
logistic_regression_function_impl.hpp
|
||||
)
|
||||
|
||||
# add directory name to sources
|
||||
set(DIR_SRCS)
|
||||
foreach(file ${SOURCES})
|
||||
set(DIR_SRCS ${DIR_SRCS} ${CMAKE_CURRENT_SOURCE_DIR}/${file})
|
||||
endforeach()
|
||||
# append sources (with directory name) to list of all mlpack sources (used at
|
||||
# the parent scope)
|
||||
set(MLPACK_SRCS ${MLPACK_SRCS} ${DIR_SRCS} PARENT_SCOPE)
|
||||
|
||||
add_category(logistic_regression "classification")
|
||||
add_cli_executable(logistic_regression)
|
||||
add_python_binding(logistic_regression)
|
||||
add_julia_binding(logistic_regression)
|
||||
add_go_binding(logistic_regression)
|
||||
add_r_binding(logistic_regression)
|
||||
add_markdown_docs(logistic_regression "cli;python;julia;go;r" "")
|
||||
@@ -1,27 +0,0 @@
|
||||
# Define the files we need to compile.
|
||||
# Anything not in this list will not be compiled into mlpack.
|
||||
set(SOURCES
|
||||
lsh.hpp
|
||||
# LSH-search class
|
||||
lsh_search.hpp
|
||||
lsh_search_impl.hpp
|
||||
)
|
||||
|
||||
# Add directory name to sources.
|
||||
set(DIR_SRCS)
|
||||
foreach(file ${SOURCES})
|
||||
set(DIR_SRCS ${DIR_SRCS} ${CMAKE_CURRENT_SOURCE_DIR}/${file})
|
||||
endforeach()
|
||||
# Append sources (with directory name) to list of all mlpack sources (used at
|
||||
# the parent scope).
|
||||
set(MLPACK_SRCS ${MLPACK_SRCS} ${DIR_SRCS} PARENT_SCOPE)
|
||||
|
||||
# The code to compute the approximate neighbor for the given query and reference
|
||||
# sets with p-stable LSH.
|
||||
add_category(lsh "geometry")
|
||||
add_cli_executable(lsh)
|
||||
add_python_binding(lsh)
|
||||
add_julia_binding(lsh)
|
||||
add_go_binding(lsh)
|
||||
add_r_binding(lsh)
|
||||
add_markdown_docs(lsh "cli;python;julia;go;r" "")
|
||||
@@ -1,15 +0,0 @@
|
||||
# Define the files we need to compile.
|
||||
# Anything not in this list will not be compiled into mlpack.
|
||||
set(SOURCES
|
||||
matrix_completion.hpp
|
||||
matrix_completion_impl.hpp
|
||||
)
|
||||
|
||||
# Add directory name to sources.
|
||||
set(DIR_SRCS)
|
||||
foreach(file ${SOURCES})
|
||||
set(DIR_SRCS ${DIR_SRCS} ${CMAKE_CURRENT_SOURCE_DIR}/${file})
|
||||
endforeach()
|
||||
# Append sources (with directory name) to list of all mlpack sources (used at
|
||||
# the parent scope).
|
||||
set(MLPACK_SRCS ${MLPACK_SRCS} ${DIR_SRCS} PARENT_SCOPE)
|
||||
@@ -1,23 +0,0 @@
|
||||
# Define the files we need to compile.
|
||||
# Anything not in this list will not be compiled into mlpack.
|
||||
set(SOURCES
|
||||
mean_shift.hpp
|
||||
mean_shift_impl.hpp
|
||||
)
|
||||
|
||||
# Add directory name to sources.
|
||||
set(DIR_SRCS)
|
||||
foreach(file ${SOURCES})
|
||||
set(DIR_SRCS ${DIR_SRCS} ${CMAKE_CURRENT_SOURCE_DIR}/${file})
|
||||
endforeach()
|
||||
# Append sources (with directory name) to list of all mlpack sources (used at
|
||||
# the parent scope).
|
||||
set(MLPACK_SRCS ${MLPACK_SRCS} ${DIR_SRCS} PARENT_SCOPE)
|
||||
|
||||
add_category(mean_shift "clustering")
|
||||
add_cli_executable(mean_shift)
|
||||
add_python_binding(mean_shift)
|
||||
add_julia_binding(mean_shift)
|
||||
add_go_binding(mean_shift)
|
||||
add_r_binding(mean_shift)
|
||||
add_markdown_docs(mean_shift "cli;python;julia;go;r" "")
|
||||
@@ -1,24 +0,0 @@
|
||||
# Define the files we need to compile.
|
||||
# Anything not in this list will not be compiled into mlpack.
|
||||
set(SOURCES
|
||||
naive_bayes.hpp
|
||||
naive_bayes_classifier.hpp
|
||||
naive_bayes_classifier_impl.hpp
|
||||
)
|
||||
|
||||
# Add directory name to sources.
|
||||
set(DIR_SRCS)
|
||||
foreach(file ${SOURCES})
|
||||
set(DIR_SRCS ${DIR_SRCS} ${CMAKE_CURRENT_SOURCE_DIR}/${file})
|
||||
endforeach()
|
||||
# Append sources (with directory name) to list of all mlpack sources (used at
|
||||
# the parent scope).
|
||||
set(MLPACK_SRCS ${MLPACK_SRCS} ${DIR_SRCS} PARENT_SCOPE)
|
||||
|
||||
add_category(nbc "classification")
|
||||
add_cli_executable(nbc)
|
||||
add_python_binding(nbc)
|
||||
add_julia_binding(nbc)
|
||||
add_go_binding(nbc)
|
||||
add_r_binding(nbc)
|
||||
add_markdown_docs(nbc "cli;python;julia;go;r" "")
|
||||
@@ -1,25 +0,0 @@
|
||||
# Define the files we need to compile.
|
||||
# Anything not in this list will not be compiled into mlpack.
|
||||
set(SOURCES
|
||||
nca.hpp
|
||||
nca_impl.hpp
|
||||
nca_softmax_error_function.hpp
|
||||
nca_softmax_error_function_impl.hpp
|
||||
)
|
||||
|
||||
# Add directory name to sources.
|
||||
set(DIR_SRCS)
|
||||
foreach(file ${SOURCES})
|
||||
set(DIR_SRCS ${DIR_SRCS} ${CMAKE_CURRENT_SOURCE_DIR}/${file})
|
||||
endforeach()
|
||||
# Append sources (with directory name) to list of all mlpack sources (used at
|
||||
# the parent scope).
|
||||
set(MLPACK_SRCS ${MLPACK_SRCS} ${DIR_SRCS} PARENT_SCOPE)
|
||||
|
||||
add_category(nca "transformations")
|
||||
add_cli_executable(nca)
|
||||
add_python_binding(nca)
|
||||
add_julia_binding(nca)
|
||||
add_go_binding(nca)
|
||||
add_r_binding(nca)
|
||||
add_markdown_docs(nca "cli;python;julia;go;r" "")
|
||||
@@ -1,44 +0,0 @@
|
||||
# Define the files we need to compile.
|
||||
# Anything not in this list will not be compiled into mlpack.
|
||||
set(SOURCES
|
||||
neighbor_search.hpp
|
||||
neighbor_search_impl.hpp
|
||||
neighbor_search_rules.hpp
|
||||
neighbor_search_rules_impl.hpp
|
||||
neighbor_search_stat.hpp
|
||||
ns_model.hpp
|
||||
ns_model_impl.hpp
|
||||
sort_policies/nearest_neighbor_sort.hpp
|
||||
sort_policies/nearest_neighbor_sort_impl.hpp
|
||||
sort_policies/furthest_neighbor_sort.hpp
|
||||
sort_policies/furthest_neighbor_sort_impl.hpp
|
||||
typedef.hpp
|
||||
unmap.hpp
|
||||
unmap_impl.hpp
|
||||
)
|
||||
|
||||
# Add directory name to sources.
|
||||
set(DIR_SRCS)
|
||||
foreach(file ${SOURCES})
|
||||
set(DIR_SRCS ${DIR_SRCS} ${CMAKE_CURRENT_SOURCE_DIR}/${file})
|
||||
endforeach()
|
||||
# Append sources (with directory name) to list of all mlpack sources (used at
|
||||
# the parent scope).
|
||||
set(MLPACK_SRCS ${MLPACK_SRCS} ${DIR_SRCS} PARENT_SCOPE)
|
||||
|
||||
# Add mlpack_knn and mlpack_kfn executables.
|
||||
add_category(knn "geometry")
|
||||
add_cli_executable(knn)
|
||||
add_python_binding(knn)
|
||||
add_julia_binding(knn)
|
||||
add_go_binding(knn)
|
||||
add_r_binding(knn)
|
||||
add_markdown_docs(knn "cli;python;julia;go;r" "")
|
||||
|
||||
add_category(kfn "geometry")
|
||||
add_cli_executable(kfn)
|
||||
add_python_binding(kfn)
|
||||
add_julia_binding(kfn)
|
||||
add_go_binding(kfn)
|
||||
add_r_binding(kfn)
|
||||
add_markdown_docs(kfn "cli;python;julia;go;r" "")
|
||||
@@ -1,7 +0,0 @@
|
||||
add_category(nmf "misc. / other")
|
||||
add_cli_executable(nmf)
|
||||
add_python_binding(nmf)
|
||||
add_julia_binding(nmf)
|
||||
add_go_binding(nmf)
|
||||
add_r_binding(nmf)
|
||||
add_markdown_docs(nmf "cli;python;julia;go;r" "")
|
||||
@@ -1,18 +0,0 @@
|
||||
# Define the files we need to compile
|
||||
# Anything not in this list will not be compiled into mlpack.
|
||||
set(SOURCES
|
||||
nystroem_method.hpp
|
||||
nystroem_method_impl.hpp
|
||||
ordered_selection.hpp
|
||||
random_selection.hpp
|
||||
kmeans_selection.hpp
|
||||
)
|
||||
|
||||
# Add directory name to sources.
|
||||
set(DIR_SRCS)
|
||||
foreach(file ${SOURCES})
|
||||
set(DIR_SRCS ${DIR_SRCS} ${CMAKE_CURRENT_SOURCE_DIR}/${file})
|
||||
endforeach()
|
||||
# Append sources (with directory name) to list of all mlpack sources (used at
|
||||
# the parent scope).
|
||||
set(MLPACK_SRCS ${MLPACK_SRCS} ${DIR_SRCS} PARENT_SCOPE)
|
||||
@@ -1,25 +0,0 @@
|
||||
# Define the files we need to compile
|
||||
# Anything not in this list will not be compiled into mlpack.
|
||||
set(SOURCES
|
||||
pca.hpp
|
||||
pca_impl.hpp
|
||||
)
|
||||
|
||||
add_subdirectory(decomposition_policies)
|
||||
|
||||
# Add directory name to sources.
|
||||
set(DIR_SRCS)
|
||||
foreach(file ${SOURCES})
|
||||
set(DIR_SRCS ${DIR_SRCS} ${CMAKE_CURRENT_SOURCE_DIR}/${file})
|
||||
endforeach()
|
||||
# Append sources (with directory name) to list of all mlpack sources (used at
|
||||
# the parent scope).
|
||||
set(MLPACK_SRCS ${MLPACK_SRCS} ${DIR_SRCS} PARENT_SCOPE)
|
||||
|
||||
add_category(pca "transformations")
|
||||
add_cli_executable(pca)
|
||||
add_python_binding(pca)
|
||||
add_julia_binding(pca)
|
||||
add_go_binding(pca)
|
||||
add_r_binding(pca)
|
||||
add_markdown_docs(pca "cli;python;julia;go;r" "")
|
||||
@@ -1,18 +0,0 @@
|
||||
# Define the files we need to compile
|
||||
# Anything not in this list will not be compiled into mlpack.
|
||||
set(SOURCES
|
||||
decomposition_policies.hpp
|
||||
exact_svd_method.hpp
|
||||
randomized_block_krylov_method.hpp
|
||||
randomized_svd_method.hpp
|
||||
quic_svd_method.hpp
|
||||
)
|
||||
|
||||
# Add directory name to sources.
|
||||
set(DIR_SRCS)
|
||||
foreach(file ${SOURCES})
|
||||
set(DIR_SRCS ${DIR_SRCS} ${CMAKE_CURRENT_SOURCE_DIR}/${file})
|
||||
endforeach()
|
||||
# Append sources (with directory name) to list of all mlpack sources (used at
|
||||
# the parent scope).
|
||||
set(MLPACK_SRCS ${MLPACK_SRCS} ${DIR_SRCS} PARENT_SCOPE)
|
||||
@@ -1,26 +0,0 @@
|
||||
# Define the files we need to compile.
|
||||
# Anything not in this list will not be compiled into mlpack.
|
||||
set(SOURCES
|
||||
perceptron.hpp
|
||||
perceptron_impl.hpp
|
||||
)
|
||||
|
||||
add_subdirectory(initialization_methods)
|
||||
add_subdirectory(learning_policies)
|
||||
|
||||
# Add directory name to sources.
|
||||
set(DIR_SRCS)
|
||||
foreach(file ${SOURCES})
|
||||
set(DIR_SRCS ${DIR_SRCS} ${CMAKE_CURRENT_SOURCE_DIR}/${file})
|
||||
endforeach()
|
||||
# Append sources (with directory name) to list of all mlpack sources (used at
|
||||
# the parent scope).
|
||||
set(MLPACK_SRCS ${MLPACK_SRCS} ${DIR_SRCS} PARENT_SCOPE)
|
||||
|
||||
add_category(perceptron "classification")
|
||||
add_cli_executable(perceptron)
|
||||
add_python_binding(perceptron)
|
||||
add_julia_binding(perceptron)
|
||||
add_go_binding(perceptron)
|
||||
add_r_binding(perceptron)
|
||||
add_markdown_docs(perceptron "cli;python;julia;go;r" "")
|
||||
@@ -1,16 +0,0 @@
|
||||
# Define the files we need to compile
|
||||
# Anything not in this list will not be compiled into mlpack.
|
||||
set(SOURCES
|
||||
initialization_methods.hpp
|
||||
random_init.hpp
|
||||
zero_init.hpp
|
||||
)
|
||||
|
||||
# Add directory name to sources.
|
||||
set(DIR_SRCS)
|
||||
foreach(file ${SOURCES})
|
||||
set(DIR_SRCS ${DIR_SRCS} ${CMAKE_CURRENT_SOURCE_DIR}/${file})
|
||||
endforeach()
|
||||
# Append sources (with directory name) to list of all mlpack sources (used at
|
||||
# the parent scope).
|
||||
set(MLPACK_SRCS ${MLPACK_SRCS} ${DIR_SRCS} PARENT_SCOPE)
|
||||
@@ -1,15 +0,0 @@
|
||||
# Define the files we need to compile
|
||||
# Anything not in this list will not be compiled into mlpack.
|
||||
set(SOURCES
|
||||
learning_policies.hpp
|
||||
simple_weight_update.hpp
|
||||
)
|
||||
|
||||
# Add directory name to sources.
|
||||
set(DIR_SRCS)
|
||||
foreach(file ${SOURCES})
|
||||
set(DIR_SRCS ${DIR_SRCS} ${CMAKE_CURRENT_SOURCE_DIR}/${file})
|
||||
endforeach()
|
||||
# Append sources (with directory name) to list of all mlpack sources (used at
|
||||
# the parent scope).
|
||||
set(MLPACK_SRCS ${MLPACK_SRCS} ${DIR_SRCS} PARENT_SCOPE)
|
||||
@@ -1,77 +0,0 @@
|
||||
# Define the files we need to compile.
|
||||
# Anything not in this list will not be compiled into mlpack.
|
||||
set(SOURCES
|
||||
scaling_model.hpp
|
||||
scaling_model_impl.hpp
|
||||
)
|
||||
|
||||
# Add directory name to sources.
|
||||
set(DIR_SRCS)
|
||||
foreach(file ${SOURCES})
|
||||
set(DIR_SRCS ${DIR_SRCS} ${CMAKE_CURRENT_SOURCE_DIR}/${file})
|
||||
endforeach()
|
||||
# Append sources (with directory name) to list of all mlpack sources (used at
|
||||
# the parent scope).
|
||||
set(MLPACK_SRCS ${MLPACK_SRCS} ${DIR_SRCS} PARENT_SCOPE)
|
||||
|
||||
#add_cli_executable(preprocess_stats)
|
||||
|
||||
add_category(preprocess_split "preprocessing")
|
||||
add_cli_executable(preprocess_split)
|
||||
add_python_binding(preprocess_split)
|
||||
add_julia_binding(preprocess_split)
|
||||
add_go_binding(preprocess_split)
|
||||
add_r_binding(preprocess_split)
|
||||
add_markdown_docs(preprocess_split "cli;python;julia;go;r" "")
|
||||
|
||||
add_category(preprocess_binarize "preprocessing")
|
||||
add_cli_executable(preprocess_binarize)
|
||||
add_python_binding(preprocess_binarize)
|
||||
add_julia_binding(preprocess_binarize)
|
||||
add_go_binding(preprocess_binarize)
|
||||
add_r_binding(preprocess_binarize)
|
||||
add_markdown_docs(preprocess_binarize "cli;python;julia;go;r" "")
|
||||
|
||||
add_category(preprocess_describe "preprocessing")
|
||||
add_cli_executable(preprocess_describe)
|
||||
add_python_binding(preprocess_describe)
|
||||
add_julia_binding(preprocess_describe)
|
||||
add_go_binding(preprocess_describe)
|
||||
add_r_binding(preprocess_describe)
|
||||
add_markdown_docs(preprocess_describe "cli;python;julia;go;r" "")
|
||||
|
||||
#add_cli_executable(preprocess_scan)
|
||||
|
||||
add_category(preprocess_imputer "preprocessing")
|
||||
add_cli_executable(preprocess_imputer)
|
||||
#add_go_binding(preprocess_imputer)
|
||||
#add_python_binding(preprocess_imputer)
|
||||
#add_julia_binding(preprocess_imputer)
|
||||
#add_r_binding(preprocess_imputer)
|
||||
add_markdown_docs(preprocess_imputer "cli" "")
|
||||
|
||||
add_category(preprocess_scale "preprocessing")
|
||||
add_cli_executable(preprocess_scale)
|
||||
add_python_binding(preprocess_scale)
|
||||
add_go_binding(preprocess_scale)
|
||||
add_julia_binding(preprocess_scale)
|
||||
add_r_binding(preprocess_scale)
|
||||
add_markdown_docs(preprocess_scale "cli;python;julia;go;r" "")
|
||||
|
||||
add_category(preprocess_one_hot_encoding "preprocessing")
|
||||
add_cli_executable(preprocess_one_hot_encoding)
|
||||
add_python_binding(preprocess_one_hot_encoding)
|
||||
add_go_binding(preprocess_one_hot_encoding)
|
||||
add_julia_binding(preprocess_one_hot_encoding)
|
||||
add_r_binding(preprocess_one_hot_encoding)
|
||||
add_markdown_docs(preprocess_one_hot_encoding "cli;python;julia;go;r" "")
|
||||
|
||||
if (STB_AVAILABLE)
|
||||
add_category(image_converter "preprocessing")
|
||||
add_cli_executable(image_converter)
|
||||
add_python_binding(image_converter)
|
||||
add_julia_binding(image_converter)
|
||||
add_go_binding(image_converter)
|
||||
add_r_binding(image_converter)
|
||||
add_markdown_docs(image_converter "cli;python;julia;go;r" "")
|
||||
endif ()
|
||||
@@ -1,15 +0,0 @@
|
||||
# Define the files we need to compile.
|
||||
# Anything not in this list will not be compiled into mlpack.
|
||||
set(SOURCES
|
||||
quic_svd.hpp
|
||||
quic_svd_impl.hpp
|
||||
)
|
||||
|
||||
# Add directory name to sources.
|
||||
set(DIR_SRCS)
|
||||
foreach(file ${SOURCES})
|
||||
set(DIR_SRCS ${DIR_SRCS} ${CMAKE_CURRENT_SOURCE_DIR}/${file})
|
||||
endforeach()
|
||||
# Append sources (with directory name) to list of all mlpack sources (used at
|
||||
# the parent scope).
|
||||
set(MLPACK_SRCS ${MLPACK_SRCS} ${DIR_SRCS} PARENT_SCOPE)
|
||||
@@ -1,22 +0,0 @@
|
||||
# Define the files we need to compile
|
||||
# Anything not in this list will not be compiled into the output library
|
||||
set(SOURCES
|
||||
radical.hpp
|
||||
radical_impl.hpp
|
||||
)
|
||||
|
||||
# add directory name to sources
|
||||
set(DIR_SRCS)
|
||||
foreach(file ${SOURCES})
|
||||
set(DIR_SRCS ${DIR_SRCS} ${CMAKE_CURRENT_SOURCE_DIR}/${file})
|
||||
endforeach()
|
||||
# append sources (with directory name) to list of all mlpack sources (used at the parent scope)
|
||||
set(MLPACK_SRCS ${MLPACK_SRCS} ${DIR_SRCS} PARENT_SCOPE)
|
||||
|
||||
add_category(radical "transformations")
|
||||
add_cli_executable(radical)
|
||||
add_python_binding(radical)
|
||||
add_julia_binding(radical)
|
||||
add_go_binding(radical)
|
||||
add_r_binding(radical)
|
||||
add_markdown_docs(radical "cli;python;julia;go;r" "")
|
||||
@@ -1,24 +0,0 @@
|
||||
# Define the files we need to compile.
|
||||
# Anything not in this list will not be compiled into mlpack.
|
||||
set(SOURCES
|
||||
bootstrap.hpp
|
||||
random_forest.hpp
|
||||
random_forest_impl.hpp
|
||||
)
|
||||
|
||||
# Add directory name to sources.
|
||||
set(DIR_SRCS)
|
||||
foreach(file ${SOURCES})
|
||||
set(DIR_SRCS ${DIR_SRCS} ${CMAKE_CURRENT_SOURCE_DIR}/${file})
|
||||
endforeach()
|
||||
# Append sources (with directory name) to list of all mlpack sources (used at
|
||||
# the parent scope).
|
||||
set(MLPACK_SRCS ${MLPACK_SRCS} ${DIR_SRCS} PARENT_SCOPE)
|
||||
|
||||
add_category(random_forest "classification")
|
||||
add_cli_executable(random_forest)
|
||||
add_python_binding(random_forest)
|
||||
add_julia_binding(random_forest)
|
||||
add_go_binding(random_forest)
|
||||
add_r_binding(random_forest)
|
||||
add_markdown_docs(random_forest "cli;python;julia;go;r" "")
|
||||
@@ -1,15 +0,0 @@
|
||||
# Define the files we need to compile.
|
||||
# Anything not in this list will not be compiled into mlpack.
|
||||
set(SOURCES
|
||||
randomized_svd.hpp
|
||||
randomized_svd_impl.hpp
|
||||
)
|
||||
|
||||
# Add directory name to sources.
|
||||
set(DIR_SRCS)
|
||||
foreach(file ${SOURCES})
|
||||
set(DIR_SRCS ${DIR_SRCS} ${CMAKE_CURRENT_SOURCE_DIR}/${file})
|
||||
endforeach()
|
||||
# Append sources (with directory name) to list of all mlpack sources (used at
|
||||
# the parent scope).
|
||||
set(MLPACK_SRCS ${MLPACK_SRCS} ${DIR_SRCS} PARENT_SCOPE)
|
||||
@@ -1,28 +0,0 @@
|
||||
# Define the files we need to compile.
|
||||
# Anything not in this list will not be compiled into mlpack.
|
||||
set(SOURCES
|
||||
range_search.hpp
|
||||
range_search_impl.hpp
|
||||
range_search_rules.hpp
|
||||
range_search_rules_impl.hpp
|
||||
range_search_stat.hpp
|
||||
rs_model.hpp
|
||||
rs_model_impl.hpp
|
||||
)
|
||||
|
||||
# Add directory name to sources.
|
||||
set(DIR_SRCS)
|
||||
foreach(file ${SOURCES})
|
||||
set(DIR_SRCS ${DIR_SRCS} ${CMAKE_CURRENT_SOURCE_DIR}/${file})
|
||||
endforeach()
|
||||
# Append sources (with directory name) to list of all mlpack sources (used at
|
||||
# the parent scope).
|
||||
set(MLPACK_SRCS ${MLPACK_SRCS} ${DIR_SRCS} PARENT_SCOPE)
|
||||
|
||||
add_category(range_search "geometry")
|
||||
add_cli_executable(range_search)
|
||||
#add_python_binding(range_search)
|
||||
#add_julia_binding(range_search)
|
||||
#add_go_binding(range_search)
|
||||
#add_r_binding(range_search)
|
||||
add_markdown_docs(range_search "cli" "")
|
||||
@@ -1,46 +0,0 @@
|
||||
# Define the files we need to compile
|
||||
# Anything not in this list will not be compiled into the output library
|
||||
# Do not include test programs here
|
||||
set(SOURCES
|
||||
rann.hpp
|
||||
|
||||
# rank-approximate search files
|
||||
ra_search.hpp
|
||||
ra_search_impl.hpp
|
||||
|
||||
# rank-approximate search rules
|
||||
ra_search_rules.hpp
|
||||
ra_search_rules_impl.hpp
|
||||
|
||||
# query statistic
|
||||
ra_query_stat.hpp
|
||||
|
||||
# typedefs
|
||||
ra_typedef.hpp
|
||||
|
||||
# utilities
|
||||
ra_util.hpp
|
||||
ra_util_impl.hpp
|
||||
|
||||
# model
|
||||
ra_model.hpp
|
||||
ra_model_impl.hpp
|
||||
)
|
||||
|
||||
# add directory name to sources
|
||||
set(DIR_SRCS)
|
||||
foreach(file ${SOURCES})
|
||||
set(DIR_SRCS ${DIR_SRCS} ${CMAKE_CURRENT_SOURCE_DIR}/${file})
|
||||
endforeach()
|
||||
# Append sources (with directory name) to list of all mlpack sources (used at the parent scope)
|
||||
set(MLPACK_SRCS ${MLPACK_SRCS} ${DIR_SRCS} PARENT_SCOPE)
|
||||
|
||||
# The code to compute the rank-approximate neighbor for the given query and
|
||||
# reference sets.
|
||||
add_category(krann "geometry")
|
||||
add_cli_executable(krann)
|
||||
add_python_binding(krann)
|
||||
add_julia_binding(krann)
|
||||
add_go_binding(krann)
|
||||
add_r_binding(krann)
|
||||
add_markdown_docs(krann "cli;python;julia;go;r" "")
|
||||
@@ -1,17 +0,0 @@
|
||||
# Define the files we need to compile.
|
||||
# Anything not in this list will not be compiled into mlpack.
|
||||
set(SOURCES
|
||||
regularized_svd.hpp
|
||||
regularized_svd_impl.hpp
|
||||
regularized_svd_function.hpp
|
||||
regularized_svd_function_impl.hpp
|
||||
)
|
||||
|
||||
# Add directory name to sources.
|
||||
set(DIR_SRCS)
|
||||
foreach(file ${SOURCES})
|
||||
set(DIR_SRCS ${DIR_SRCS} ${CMAKE_CURRENT_SOURCE_DIR}/${file})
|
||||
endforeach()
|
||||
# Append sources (with directory name) to list of all mlpack sources (used at
|
||||
# the parent scope).
|
||||
set(MLPACK_SRCS ${MLPACK_SRCS} ${DIR_SRCS} PARENT_SCOPE)
|
||||
@@ -1,26 +0,0 @@
|
||||
# Define the files we need to compile
|
||||
# Anything not in this list will not be compiled into mlpack.
|
||||
set(SOURCES
|
||||
reinforcement_learning.hpp
|
||||
async_learning.hpp
|
||||
async_learning_impl.hpp
|
||||
q_learning.hpp
|
||||
q_learning_impl.hpp
|
||||
sac.hpp
|
||||
sac_impl.hpp
|
||||
training_config.hpp
|
||||
)
|
||||
|
||||
add_subdirectory(environment)
|
||||
add_subdirectory(policy)
|
||||
add_subdirectory(replay)
|
||||
add_subdirectory(worker)
|
||||
|
||||
# Add directory name to sources.
|
||||
set(DIR_SRCS)
|
||||
foreach(file ${SOURCES})
|
||||
set(DIR_SRCS ${DIR_SRCS} ${CMAKE_CURRENT_SOURCE_DIR}/${file})
|
||||
endforeach()
|
||||
# Append sources (with directory name) to list of all mlpack sources (used at
|
||||
# the parent scope).
|
||||
set(MLPACK_SRCS ${MLPACK_SRCS} ${DIR_SRCS} PARENT_SCOPE)
|
||||
@@ -1,24 +0,0 @@
|
||||
# Define the files we need to compile
|
||||
# Anything not in this list will not be compiled into mlpack.
|
||||
set(SOURCES
|
||||
environment.hpp
|
||||
env_type.hpp
|
||||
mountain_car.hpp
|
||||
cart_pole.hpp
|
||||
continuous_mountain_car.hpp
|
||||
double_pole_cart.hpp
|
||||
continuous_double_pole_cart.hpp
|
||||
acrobot.hpp
|
||||
pendulum.hpp
|
||||
reward_clipping.hpp
|
||||
ftn.hpp
|
||||
)
|
||||
|
||||
# Add directory name to sources.
|
||||
set(DIR_SRCS)
|
||||
foreach(file ${SOURCES})
|
||||
set(DIR_SRCS ${DIR_SRCS} ${CMAKE_CURRENT_SOURCE_DIR}/${file})
|
||||
endforeach()
|
||||
# Append sources (with directory name) to list of all mlpack sources (used at
|
||||
# the parent scope).
|
||||
set(MLPACK_SRCS ${MLPACK_SRCS} ${DIR_SRCS} PARENT_SCOPE)
|
||||
@@ -1,16 +0,0 @@
|
||||
# Define the files we need to compile
|
||||
# Anything not in this list will not be compiled into mlpack.
|
||||
set(SOURCES
|
||||
policy.hpp
|
||||
aggregated_policy.hpp
|
||||
greedy_policy.hpp
|
||||
)
|
||||
|
||||
# Add directory name to sources.
|
||||
set(DIR_SRCS)
|
||||
foreach(file ${SOURCES})
|
||||
set(DIR_SRCS ${DIR_SRCS} ${CMAKE_CURRENT_SOURCE_DIR}/${file})
|
||||
endforeach()
|
||||
# Append sources (with directory name) to list of all mlpack sources (used at
|
||||
# the parent scope).
|
||||
set(MLPACK_SRCS ${MLPACK_SRCS} ${DIR_SRCS} PARENT_SCOPE)
|
||||
@@ -1,17 +0,0 @@
|
||||
# Define the files we need to compile
|
||||
# Anything not in this list will not be compiled into mlpack.
|
||||
set(SOURCES
|
||||
q_networks.hpp
|
||||
simple_dqn.hpp
|
||||
dueling_dqn.hpp
|
||||
categorical_dqn.hpp
|
||||
)
|
||||
|
||||
# Add directory name to sources.
|
||||
set(DIR_SRCS)
|
||||
foreach(file ${SOURCES})
|
||||
set(DIR_SRCS ${DIR_SRCS} ${CMAKE_CURRENT_SOURCE_DIR}/${file})
|
||||
endforeach()
|
||||
# Append sources (with directory name) to list of all mlpack sources (used at
|
||||
# the parent scope).
|
||||
set(MLPACK_SRCS ${MLPACK_SRCS} ${DIR_SRCS} PARENT_SCOPE)
|
||||
@@ -1,17 +0,0 @@
|
||||
# Define the files we need to compile
|
||||
# Anything not in this list will not be compiled into mlpack.
|
||||
set(SOURCES
|
||||
replay.hpp
|
||||
random_replay.hpp
|
||||
sumtree.hpp
|
||||
prioritized_replay.hpp
|
||||
)
|
||||
|
||||
# Add directory name to sources.
|
||||
set(DIR_SRCS)
|
||||
foreach(file ${SOURCES})
|
||||
set(DIR_SRCS ${DIR_SRCS} ${CMAKE_CURRENT_SOURCE_DIR}/${file})
|
||||
endforeach()
|
||||
# Append sources (with directory name) to list of all mlpack sources (used at
|
||||
# the parent scope).
|
||||
set(MLPACK_SRCS ${MLPACK_SRCS} ${DIR_SRCS} PARENT_SCOPE)
|
||||
@@ -1,16 +0,0 @@
|
||||
# Define the files we need to compile
|
||||
# Anything not in this list will not be compiled into mlpack.
|
||||
set(SOURCES
|
||||
one_step_q_learning_worker.hpp
|
||||
one_step_sarsa_worker.hpp
|
||||
n_step_q_learning_worker.hpp
|
||||
)
|
||||
|
||||
# Add directory name to sources.
|
||||
set(DIR_SRCS)
|
||||
foreach(file ${SOURCES})
|
||||
set(DIR_SRCS ${DIR_SRCS} ${CMAKE_CURRENT_SOURCE_DIR}/${file})
|
||||
endforeach()
|
||||
# Append sources (with directory name) to list of all mlpack sources (used at
|
||||
# the parent scope).
|
||||
set(MLPACK_SRCS ${MLPACK_SRCS} ${DIR_SRCS} PARENT_SCOPE)
|
||||
@@ -1,25 +0,0 @@
|
||||
# Define the files we need to compile.
|
||||
# Anything not in this list will not be compiled into mlpack.
|
||||
set(SOURCES
|
||||
softmax_regression.hpp
|
||||
softmax_regression_impl.hpp
|
||||
softmax_regression_function.hpp
|
||||
softmax_regression_function_impl.hpp
|
||||
)
|
||||
|
||||
# Add directory name to sources.
|
||||
set(DIR_SRCS)
|
||||
foreach(file ${SOURCES})
|
||||
set(DIR_SRCS ${DIR_SRCS} ${CMAKE_CURRENT_SOURCE_DIR}/${file})
|
||||
endforeach()
|
||||
# Append sources (with directory name) to list of all mlpack sources (used at
|
||||
# the parent scope).
|
||||
set(MLPACK_SRCS ${MLPACK_SRCS} ${DIR_SRCS} PARENT_SCOPE)
|
||||
|
||||
add_category(softmax_regression "classification")
|
||||
add_cli_executable(softmax_regression)
|
||||
add_python_binding(softmax_regression)
|
||||
add_julia_binding(softmax_regression)
|
||||
add_go_binding(softmax_regression)
|
||||
add_r_binding(softmax_regression)
|
||||
add_markdown_docs(softmax_regression "cli;python;julia;go;r" "")
|
||||
@@ -1,19 +0,0 @@
|
||||
# Define the files we need to compile.
|
||||
# Anything not in this list will not be compiled into mlpack.
|
||||
set(SOURCES
|
||||
sparse_autoencoder.hpp
|
||||
sparse_autoencoder_impl.hpp
|
||||
sparse_autoencoder_function.hpp
|
||||
sparse_autoencoder_function_impl.hpp
|
||||
maximal_inputs.hpp
|
||||
maximal_inputs_impl.hpp
|
||||
)
|
||||
|
||||
# Add directory name to sources.
|
||||
set(DIR_SRCS)
|
||||
foreach(file ${SOURCES})
|
||||
set(DIR_SRCS ${DIR_SRCS} ${CMAKE_CURRENT_SOURCE_DIR}/${file})
|
||||
endforeach()
|
||||
# Append sources (with directory name) to list of all mlpack sources (used at
|
||||
# the parent scope).
|
||||
set(MLPACK_SRCS ${MLPACK_SRCS} ${DIR_SRCS} PARENT_SCOPE)
|
||||
@@ -1,26 +0,0 @@
|
||||
# Define the files we need to compile
|
||||
# Anything not in this list will not be compiled into the output library
|
||||
set(SOURCES
|
||||
data_dependent_random_initializer.hpp
|
||||
nothing_initializer.hpp
|
||||
random_initializer.hpp
|
||||
sparse_coding.hpp
|
||||
sparse_coding_impl.hpp
|
||||
)
|
||||
|
||||
# add directory name to sources
|
||||
set(DIR_SRCS)
|
||||
foreach(file ${SOURCES})
|
||||
set(DIR_SRCS ${DIR_SRCS} ${CMAKE_CURRENT_SOURCE_DIR}/${file})
|
||||
endforeach()
|
||||
|
||||
# append sources (with directory name) to list of all mlpack sources (used at the parent scope)
|
||||
set(MLPACK_SRCS ${MLPACK_SRCS} ${DIR_SRCS} PARENT_SCOPE)
|
||||
|
||||
add_category(sparse_coding "transformations")
|
||||
add_cli_executable(sparse_coding)
|
||||
add_python_binding(sparse_coding)
|
||||
add_julia_binding(sparse_coding)
|
||||
add_go_binding(sparse_coding)
|
||||
add_r_binding(sparse_coding)
|
||||
add_markdown_docs(sparse_coding "cli;python;julia;go;r" "")
|
||||
@@ -1,17 +0,0 @@
|
||||
# Define the files we need to compile.
|
||||
# Anything not in this list will not be compiled into mlpack.
|
||||
set(SOURCES
|
||||
svdplusplus.hpp
|
||||
svdplusplus_impl.hpp
|
||||
svdplusplus_function.hpp
|
||||
svdplusplus_function_impl.hpp
|
||||
)
|
||||
|
||||
# Add directory name to sources.
|
||||
set(DIR_SRCS)
|
||||
foreach(file ${SOURCES})
|
||||
set(DIR_SRCS ${DIR_SRCS} ${CMAKE_CURRENT_SOURCE_DIR}/${file})
|
||||
endforeach()
|
||||
# Append sources (with directory name) to list of all mlpack sources (used at
|
||||
# the parent scope).
|
||||
set(MLPACK_SRCS ${MLPACK_SRCS} ${DIR_SRCS} PARENT_SCOPE)
|
||||
@@ -1,14 +0,0 @@
|
||||
# Define the files we need to compile.
|
||||
# Anything not in this list will not be compiled into mlpack.
|
||||
set(SOURCES
|
||||
loss_functions/sse_loss.hpp
|
||||
)
|
||||
|
||||
# Add directory name to sources.
|
||||
set(DIR_SRCS)
|
||||
foreach(file ${SOURCES})
|
||||
set(DIR_SRCS ${DIR_SRCS} ${CMAKE_CURRENT_SOURCE_DIR}/${file})
|
||||
endforeach()
|
||||
# Append sources (with directory name) to list of all mlpack sources (used at
|
||||
# the parent scope).
|
||||
set(MLPACK_SRCS ${MLPACK_SRCS} ${DIR_SRCS} PARENT_SCOPE)
|
||||
Reference in New Issue
Block a user