From e4e22b7eaaa62be86e5b86617b36ead28e3a6948 Mon Sep 17 00:00:00 2001 From: Ryan Curtin Date: Mon, 15 Aug 2022 10:23:54 -0400 Subject: [PATCH] Remove all directory-level CMakeFiles.txt; MLPACK_SRCS is unused. --- src/mlpack/CMakeLists.txt | 20 +-- src/mlpack/core/CMakeLists.txt | 20 --- src/mlpack/core/arma_extend/CMakeLists.txt | 17 --- src/mlpack/core/cereal/CMakeLists.txt | 21 --- src/mlpack/core/cv/CMakeLists.txt | 23 --- src/mlpack/core/cv/metrics/CMakeLists.txt | 30 ---- src/mlpack/core/data/CMakeLists.txt | 60 -------- .../data/imputation_methods/CMakeLists.txt | 18 --- .../core/data/map_policies/CMakeLists.txt | 17 --- .../core/data/scaler_methods/CMakeLists.txt | 20 --- .../string_encoding_policies/CMakeLists.txt | 19 --- .../core/data/tokenizers/CMakeLists.txt | 17 --- src/mlpack/core/dists/CMakeLists.txt | 26 ---- src/mlpack/core/hpt/CMakeLists.txt | 15 -- src/mlpack/core/kernels/CMakeLists.txt | 29 ---- src/mlpack/core/math/CMakeLists.txt | 36 ----- src/mlpack/core/metrics/CMakeLists.txt | 26 ---- src/mlpack/core/tree/CMakeLists.txt | 137 ------------------ src/mlpack/core/util/CMakeLists.txt | 44 ------ src/mlpack/methods/CMakeLists.txt | 63 -------- src/mlpack/methods/adaboost/CMakeLists.txt | 27 ---- src/mlpack/methods/amf/CMakeLists.txt | 19 --- .../methods/amf/init_rules/CMakeLists.txt | 18 --- .../amf/termination_policies/CMakeLists.txt | 20 --- .../methods/amf/update_rules/CMakeLists.txt | 20 --- src/mlpack/methods/ann/CMakeLists.txt | 28 ---- .../ann/activation_functions/CMakeLists.txt | 36 ----- .../methods/ann/augmented/CMakeLists.txt | 14 -- .../ann/augmented/tasks/CMakeLists.txt | 16 -- .../ann/convolution_rules/CMakeLists.txt | 18 --- src/mlpack/methods/ann/dists/CMakeLists.txt | 18 --- .../methods/ann/init_rules/CMakeLists.txt | 26 ---- src/mlpack/methods/ann/layer/CMakeLists.txt | 64 -------- .../methods/ann/loss_functions/CMakeLists.txt | 62 -------- .../ann/not_adapted/gan/CMakeLists.txt | 20 --- .../not_adapted/gan/metrics/CMakeLists.txt | 15 -- .../ann/not_adapted/rbm/CMakeLists.txt | 17 --- .../methods/ann/regularizer/CMakeLists.txt | 19 --- src/mlpack/methods/approx_kfn/CMakeLists.txt | 30 ---- .../bayesian_linear_regression/CMakeLists.txt | 22 --- src/mlpack/methods/bias_svd/CMakeLists.txt | 17 --- .../methods/block_krylov_svd/CMakeLists.txt | 16 -- src/mlpack/methods/cf/CMakeLists.txt | 32 ---- .../cf/decomposition_policies/CMakeLists.txt | 22 --- .../cf/interpolation_policies/CMakeLists.txt | 17 --- .../neighbor_search_policies/CMakeLists.txt | 17 --- .../methods/cf/normalization/CMakeLists.txt | 20 --- src/mlpack/methods/dbscan/CMakeLists.txt | 25 ---- .../methods/decision_tree/CMakeLists.txt | 36 ----- src/mlpack/methods/det/CMakeLists.txt | 31 ---- src/mlpack/methods/emst/CMakeLists.txt | 30 ---- src/mlpack/methods/fastmks/CMakeLists.txt | 28 ---- src/mlpack/methods/gmm/CMakeLists.txt | 47 ------ src/mlpack/methods/hmm/CMakeLists.txt | 52 ------- .../methods/hoeffding_trees/CMakeLists.txt | 38 ----- src/mlpack/methods/kde/CMakeLists.txt | 28 ---- src/mlpack/methods/kernel_pca/CMakeLists.txt | 25 ---- .../kernel_pca/kernel_rules/CMakeLists.txt | 15 -- src/mlpack/methods/kmeans/CMakeLists.txt | 48 ------ src/mlpack/methods/lars/CMakeLists.txt | 22 --- .../methods/linear_regression/CMakeLists.txt | 26 ---- src/mlpack/methods/linear_svm/CMakeLists.txt | 26 ---- src/mlpack/methods/lmnn/CMakeLists.txt | 27 ---- .../local_coordinate_coding/CMakeLists.txt | 27 ---- .../logistic_regression/CMakeLists.txt | 26 ---- src/mlpack/methods/lsh/CMakeLists.txt | 27 ---- .../methods/matrix_completion/CMakeLists.txt | 15 -- src/mlpack/methods/mean_shift/CMakeLists.txt | 23 --- src/mlpack/methods/naive_bayes/CMakeLists.txt | 24 --- src/mlpack/methods/nca/CMakeLists.txt | 25 ---- .../methods/neighbor_search/CMakeLists.txt | 44 ------ src/mlpack/methods/nmf/CMakeLists.txt | 7 - .../methods/nystroem_method/CMakeLists.txt | 18 --- src/mlpack/methods/pca/CMakeLists.txt | 25 ---- .../pca/decomposition_policies/CMakeLists.txt | 18 --- src/mlpack/methods/perceptron/CMakeLists.txt | 26 ---- .../initialization_methods/CMakeLists.txt | 16 -- .../learning_policies/CMakeLists.txt | 15 -- src/mlpack/methods/preprocess/CMakeLists.txt | 77 ---------- src/mlpack/methods/quic_svd/CMakeLists.txt | 15 -- src/mlpack/methods/radical/CMakeLists.txt | 22 --- .../methods/random_forest/CMakeLists.txt | 24 --- .../methods/randomized_svd/CMakeLists.txt | 15 -- .../methods/range_search/CMakeLists.txt | 28 ---- src/mlpack/methods/rann/CMakeLists.txt | 46 ------ .../methods/regularized_svd/CMakeLists.txt | 17 --- .../reinforcement_learning/CMakeLists.txt | 26 ---- .../environment/CMakeLists.txt | 24 --- .../policy/CMakeLists.txt | 16 -- .../q_networks/CMakeLists.txt | 17 --- .../replay/CMakeLists.txt | 17 --- .../worker/CMakeLists.txt | 16 -- .../methods/softmax_regression/CMakeLists.txt | 25 ---- .../methods/sparse_autoencoder/CMakeLists.txt | 19 --- .../methods/sparse_coding/CMakeLists.txt | 26 ---- src/mlpack/methods/svdplusplus/CMakeLists.txt | 17 --- src/mlpack/methods/xgboost/CMakeLists.txt | 14 -- 97 files changed, 3 insertions(+), 2606 deletions(-) delete mode 100644 src/mlpack/core/CMakeLists.txt delete mode 100644 src/mlpack/core/arma_extend/CMakeLists.txt delete mode 100644 src/mlpack/core/cereal/CMakeLists.txt delete mode 100644 src/mlpack/core/cv/CMakeLists.txt delete mode 100644 src/mlpack/core/cv/metrics/CMakeLists.txt delete mode 100644 src/mlpack/core/data/CMakeLists.txt delete mode 100644 src/mlpack/core/data/imputation_methods/CMakeLists.txt delete mode 100644 src/mlpack/core/data/map_policies/CMakeLists.txt delete mode 100644 src/mlpack/core/data/scaler_methods/CMakeLists.txt delete mode 100644 src/mlpack/core/data/string_encoding_policies/CMakeLists.txt delete mode 100644 src/mlpack/core/data/tokenizers/CMakeLists.txt delete mode 100644 src/mlpack/core/dists/CMakeLists.txt delete mode 100644 src/mlpack/core/hpt/CMakeLists.txt delete mode 100644 src/mlpack/core/kernels/CMakeLists.txt delete mode 100644 src/mlpack/core/math/CMakeLists.txt delete mode 100644 src/mlpack/core/metrics/CMakeLists.txt delete mode 100644 src/mlpack/core/tree/CMakeLists.txt delete mode 100644 src/mlpack/core/util/CMakeLists.txt delete mode 100644 src/mlpack/methods/CMakeLists.txt delete mode 100644 src/mlpack/methods/adaboost/CMakeLists.txt delete mode 100644 src/mlpack/methods/amf/CMakeLists.txt delete mode 100644 src/mlpack/methods/amf/init_rules/CMakeLists.txt delete mode 100644 src/mlpack/methods/amf/termination_policies/CMakeLists.txt delete mode 100644 src/mlpack/methods/amf/update_rules/CMakeLists.txt delete mode 100644 src/mlpack/methods/ann/CMakeLists.txt delete mode 100644 src/mlpack/methods/ann/activation_functions/CMakeLists.txt delete mode 100644 src/mlpack/methods/ann/augmented/CMakeLists.txt delete mode 100644 src/mlpack/methods/ann/augmented/tasks/CMakeLists.txt delete mode 100644 src/mlpack/methods/ann/convolution_rules/CMakeLists.txt delete mode 100644 src/mlpack/methods/ann/dists/CMakeLists.txt delete mode 100644 src/mlpack/methods/ann/init_rules/CMakeLists.txt delete mode 100644 src/mlpack/methods/ann/layer/CMakeLists.txt delete mode 100644 src/mlpack/methods/ann/loss_functions/CMakeLists.txt delete mode 100644 src/mlpack/methods/ann/not_adapted/gan/CMakeLists.txt delete mode 100644 src/mlpack/methods/ann/not_adapted/gan/metrics/CMakeLists.txt delete mode 100644 src/mlpack/methods/ann/not_adapted/rbm/CMakeLists.txt delete mode 100644 src/mlpack/methods/ann/regularizer/CMakeLists.txt delete mode 100644 src/mlpack/methods/approx_kfn/CMakeLists.txt delete mode 100644 src/mlpack/methods/bayesian_linear_regression/CMakeLists.txt delete mode 100644 src/mlpack/methods/bias_svd/CMakeLists.txt delete mode 100644 src/mlpack/methods/block_krylov_svd/CMakeLists.txt delete mode 100644 src/mlpack/methods/cf/CMakeLists.txt delete mode 100644 src/mlpack/methods/cf/decomposition_policies/CMakeLists.txt delete mode 100644 src/mlpack/methods/cf/interpolation_policies/CMakeLists.txt delete mode 100644 src/mlpack/methods/cf/neighbor_search_policies/CMakeLists.txt delete mode 100644 src/mlpack/methods/cf/normalization/CMakeLists.txt delete mode 100644 src/mlpack/methods/dbscan/CMakeLists.txt delete mode 100644 src/mlpack/methods/decision_tree/CMakeLists.txt delete mode 100644 src/mlpack/methods/det/CMakeLists.txt delete mode 100644 src/mlpack/methods/emst/CMakeLists.txt delete mode 100644 src/mlpack/methods/fastmks/CMakeLists.txt delete mode 100644 src/mlpack/methods/gmm/CMakeLists.txt delete mode 100644 src/mlpack/methods/hmm/CMakeLists.txt delete mode 100644 src/mlpack/methods/hoeffding_trees/CMakeLists.txt delete mode 100644 src/mlpack/methods/kde/CMakeLists.txt delete mode 100644 src/mlpack/methods/kernel_pca/CMakeLists.txt delete mode 100644 src/mlpack/methods/kernel_pca/kernel_rules/CMakeLists.txt delete mode 100644 src/mlpack/methods/kmeans/CMakeLists.txt delete mode 100644 src/mlpack/methods/lars/CMakeLists.txt delete mode 100644 src/mlpack/methods/linear_regression/CMakeLists.txt delete mode 100644 src/mlpack/methods/linear_svm/CMakeLists.txt delete mode 100644 src/mlpack/methods/lmnn/CMakeLists.txt delete mode 100644 src/mlpack/methods/local_coordinate_coding/CMakeLists.txt delete mode 100644 src/mlpack/methods/logistic_regression/CMakeLists.txt delete mode 100644 src/mlpack/methods/lsh/CMakeLists.txt delete mode 100644 src/mlpack/methods/matrix_completion/CMakeLists.txt delete mode 100644 src/mlpack/methods/mean_shift/CMakeLists.txt delete mode 100644 src/mlpack/methods/naive_bayes/CMakeLists.txt delete mode 100644 src/mlpack/methods/nca/CMakeLists.txt delete mode 100644 src/mlpack/methods/neighbor_search/CMakeLists.txt delete mode 100644 src/mlpack/methods/nmf/CMakeLists.txt delete mode 100644 src/mlpack/methods/nystroem_method/CMakeLists.txt delete mode 100644 src/mlpack/methods/pca/CMakeLists.txt delete mode 100644 src/mlpack/methods/pca/decomposition_policies/CMakeLists.txt delete mode 100644 src/mlpack/methods/perceptron/CMakeLists.txt delete mode 100644 src/mlpack/methods/perceptron/initialization_methods/CMakeLists.txt delete mode 100644 src/mlpack/methods/perceptron/learning_policies/CMakeLists.txt delete mode 100644 src/mlpack/methods/preprocess/CMakeLists.txt delete mode 100644 src/mlpack/methods/quic_svd/CMakeLists.txt delete mode 100644 src/mlpack/methods/radical/CMakeLists.txt delete mode 100644 src/mlpack/methods/random_forest/CMakeLists.txt delete mode 100644 src/mlpack/methods/randomized_svd/CMakeLists.txt delete mode 100644 src/mlpack/methods/range_search/CMakeLists.txt delete mode 100644 src/mlpack/methods/rann/CMakeLists.txt delete mode 100644 src/mlpack/methods/regularized_svd/CMakeLists.txt delete mode 100644 src/mlpack/methods/reinforcement_learning/CMakeLists.txt delete mode 100644 src/mlpack/methods/reinforcement_learning/environment/CMakeLists.txt delete mode 100644 src/mlpack/methods/reinforcement_learning/policy/CMakeLists.txt delete mode 100644 src/mlpack/methods/reinforcement_learning/q_networks/CMakeLists.txt delete mode 100644 src/mlpack/methods/reinforcement_learning/replay/CMakeLists.txt delete mode 100644 src/mlpack/methods/reinforcement_learning/worker/CMakeLists.txt delete mode 100644 src/mlpack/methods/softmax_regression/CMakeLists.txt delete mode 100644 src/mlpack/methods/sparse_autoencoder/CMakeLists.txt delete mode 100644 src/mlpack/methods/sparse_coding/CMakeLists.txt delete mode 100644 src/mlpack/methods/svdplusplus/CMakeLists.txt delete mode 100644 src/mlpack/methods/xgboost/CMakeLists.txt diff --git a/src/mlpack/CMakeLists.txt b/src/mlpack/CMakeLists.txt index b56f53eea1..840bd4f194 100644 --- a/src/mlpack/CMakeLists.txt +++ b/src/mlpack/CMakeLists.txt @@ -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 () diff --git a/src/mlpack/core/CMakeLists.txt b/src/mlpack/core/CMakeLists.txt deleted file mode 100644 index ccb2fb230c..0000000000 --- a/src/mlpack/core/CMakeLists.txt +++ /dev/null @@ -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) diff --git a/src/mlpack/core/arma_extend/CMakeLists.txt b/src/mlpack/core/arma_extend/CMakeLists.txt deleted file mode 100644 index 37233184e7..0000000000 --- a/src/mlpack/core/arma_extend/CMakeLists.txt +++ /dev/null @@ -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) diff --git a/src/mlpack/core/cereal/CMakeLists.txt b/src/mlpack/core/cereal/CMakeLists.txt deleted file mode 100644 index cad97c39ea..0000000000 --- a/src/mlpack/core/cereal/CMakeLists.txt +++ /dev/null @@ -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) diff --git a/src/mlpack/core/cv/CMakeLists.txt b/src/mlpack/core/cv/CMakeLists.txt deleted file mode 100644 index ce1637ce56..0000000000 --- a/src/mlpack/core/cv/CMakeLists.txt +++ /dev/null @@ -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) diff --git a/src/mlpack/core/cv/metrics/CMakeLists.txt b/src/mlpack/core/cv/metrics/CMakeLists.txt deleted file mode 100644 index 81b5929e40..0000000000 --- a/src/mlpack/core/cv/metrics/CMakeLists.txt +++ /dev/null @@ -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) diff --git a/src/mlpack/core/data/CMakeLists.txt b/src/mlpack/core/data/CMakeLists.txt deleted file mode 100644 index ab1de2201d..0000000000 --- a/src/mlpack/core/data/CMakeLists.txt +++ /dev/null @@ -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) diff --git a/src/mlpack/core/data/imputation_methods/CMakeLists.txt b/src/mlpack/core/data/imputation_methods/CMakeLists.txt deleted file mode 100644 index 6d92277333..0000000000 --- a/src/mlpack/core/data/imputation_methods/CMakeLists.txt +++ /dev/null @@ -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) diff --git a/src/mlpack/core/data/map_policies/CMakeLists.txt b/src/mlpack/core/data/map_policies/CMakeLists.txt deleted file mode 100644 index 17c1d38a57..0000000000 --- a/src/mlpack/core/data/map_policies/CMakeLists.txt +++ /dev/null @@ -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) diff --git a/src/mlpack/core/data/scaler_methods/CMakeLists.txt b/src/mlpack/core/data/scaler_methods/CMakeLists.txt deleted file mode 100644 index 3b436f5c61..0000000000 --- a/src/mlpack/core/data/scaler_methods/CMakeLists.txt +++ /dev/null @@ -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) diff --git a/src/mlpack/core/data/string_encoding_policies/CMakeLists.txt b/src/mlpack/core/data/string_encoding_policies/CMakeLists.txt deleted file mode 100644 index 1cd4ab1948..0000000000 --- a/src/mlpack/core/data/string_encoding_policies/CMakeLists.txt +++ /dev/null @@ -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) diff --git a/src/mlpack/core/data/tokenizers/CMakeLists.txt b/src/mlpack/core/data/tokenizers/CMakeLists.txt deleted file mode 100644 index c704ab7208..0000000000 --- a/src/mlpack/core/data/tokenizers/CMakeLists.txt +++ /dev/null @@ -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) diff --git a/src/mlpack/core/dists/CMakeLists.txt b/src/mlpack/core/dists/CMakeLists.txt deleted file mode 100644 index 19a3516ca6..0000000000 --- a/src/mlpack/core/dists/CMakeLists.txt +++ /dev/null @@ -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) diff --git a/src/mlpack/core/hpt/CMakeLists.txt b/src/mlpack/core/hpt/CMakeLists.txt deleted file mode 100644 index c39f9b674e..0000000000 --- a/src/mlpack/core/hpt/CMakeLists.txt +++ /dev/null @@ -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) diff --git a/src/mlpack/core/kernels/CMakeLists.txt b/src/mlpack/core/kernels/CMakeLists.txt deleted file mode 100644 index 06c5a93c69..0000000000 --- a/src/mlpack/core/kernels/CMakeLists.txt +++ /dev/null @@ -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) diff --git a/src/mlpack/core/math/CMakeLists.txt b/src/mlpack/core/math/CMakeLists.txt deleted file mode 100644 index d118caff4b..0000000000 --- a/src/mlpack/core/math/CMakeLists.txt +++ /dev/null @@ -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) diff --git a/src/mlpack/core/metrics/CMakeLists.txt b/src/mlpack/core/metrics/CMakeLists.txt deleted file mode 100644 index ede5e8e9f1..0000000000 --- a/src/mlpack/core/metrics/CMakeLists.txt +++ /dev/null @@ -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) diff --git a/src/mlpack/core/tree/CMakeLists.txt b/src/mlpack/core/tree/CMakeLists.txt deleted file mode 100644 index f11796f639..0000000000 --- a/src/mlpack/core/tree/CMakeLists.txt +++ /dev/null @@ -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) diff --git a/src/mlpack/core/util/CMakeLists.txt b/src/mlpack/core/util/CMakeLists.txt deleted file mode 100644 index b0d853f7cf..0000000000 --- a/src/mlpack/core/util/CMakeLists.txt +++ /dev/null @@ -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) diff --git a/src/mlpack/methods/CMakeLists.txt b/src/mlpack/methods/CMakeLists.txt deleted file mode 100644 index 4268a2e1bc..0000000000 --- a/src/mlpack/methods/CMakeLists.txt +++ /dev/null @@ -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) diff --git a/src/mlpack/methods/adaboost/CMakeLists.txt b/src/mlpack/methods/adaboost/CMakeLists.txt deleted file mode 100644 index 3e5d71f191..0000000000 --- a/src/mlpack/methods/adaboost/CMakeLists.txt +++ /dev/null @@ -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") diff --git a/src/mlpack/methods/amf/CMakeLists.txt b/src/mlpack/methods/amf/CMakeLists.txt deleted file mode 100644 index 4f98ff4087..0000000000 --- a/src/mlpack/methods/amf/CMakeLists.txt +++ /dev/null @@ -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) diff --git a/src/mlpack/methods/amf/init_rules/CMakeLists.txt b/src/mlpack/methods/amf/init_rules/CMakeLists.txt deleted file mode 100644 index 0fbd4e117d..0000000000 --- a/src/mlpack/methods/amf/init_rules/CMakeLists.txt +++ /dev/null @@ -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) diff --git a/src/mlpack/methods/amf/termination_policies/CMakeLists.txt b/src/mlpack/methods/amf/termination_policies/CMakeLists.txt deleted file mode 100644 index 461f1e38d9..0000000000 --- a/src/mlpack/methods/amf/termination_policies/CMakeLists.txt +++ /dev/null @@ -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) diff --git a/src/mlpack/methods/amf/update_rules/CMakeLists.txt b/src/mlpack/methods/amf/update_rules/CMakeLists.txt deleted file mode 100644 index 5e55816e46..0000000000 --- a/src/mlpack/methods/amf/update_rules/CMakeLists.txt +++ /dev/null @@ -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) diff --git a/src/mlpack/methods/ann/CMakeLists.txt b/src/mlpack/methods/ann/CMakeLists.txt deleted file mode 100644 index f0e46622ef..0000000000 --- a/src/mlpack/methods/ann/CMakeLists.txt +++ /dev/null @@ -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) diff --git a/src/mlpack/methods/ann/activation_functions/CMakeLists.txt b/src/mlpack/methods/ann/activation_functions/CMakeLists.txt deleted file mode 100644 index 94926d6d51..0000000000 --- a/src/mlpack/methods/ann/activation_functions/CMakeLists.txt +++ /dev/null @@ -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) diff --git a/src/mlpack/methods/ann/augmented/CMakeLists.txt b/src/mlpack/methods/ann/augmented/CMakeLists.txt deleted file mode 100644 index 9bf776df66..0000000000 --- a/src/mlpack/methods/ann/augmented/CMakeLists.txt +++ /dev/null @@ -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) diff --git a/src/mlpack/methods/ann/augmented/tasks/CMakeLists.txt b/src/mlpack/methods/ann/augmented/tasks/CMakeLists.txt deleted file mode 100644 index 39412e20b7..0000000000 --- a/src/mlpack/methods/ann/augmented/tasks/CMakeLists.txt +++ /dev/null @@ -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) diff --git a/src/mlpack/methods/ann/convolution_rules/CMakeLists.txt b/src/mlpack/methods/ann/convolution_rules/CMakeLists.txt deleted file mode 100644 index c7d6686754..0000000000 --- a/src/mlpack/methods/ann/convolution_rules/CMakeLists.txt +++ /dev/null @@ -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) diff --git a/src/mlpack/methods/ann/dists/CMakeLists.txt b/src/mlpack/methods/ann/dists/CMakeLists.txt deleted file mode 100644 index 4fed120714..0000000000 --- a/src/mlpack/methods/ann/dists/CMakeLists.txt +++ /dev/null @@ -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) diff --git a/src/mlpack/methods/ann/init_rules/CMakeLists.txt b/src/mlpack/methods/ann/init_rules/CMakeLists.txt deleted file mode 100644 index 4596b0cabd..0000000000 --- a/src/mlpack/methods/ann/init_rules/CMakeLists.txt +++ /dev/null @@ -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) diff --git a/src/mlpack/methods/ann/layer/CMakeLists.txt b/src/mlpack/methods/ann/layer/CMakeLists.txt deleted file mode 100644 index ddfa467247..0000000000 --- a/src/mlpack/methods/ann/layer/CMakeLists.txt +++ /dev/null @@ -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) diff --git a/src/mlpack/methods/ann/loss_functions/CMakeLists.txt b/src/mlpack/methods/ann/loss_functions/CMakeLists.txt deleted file mode 100644 index 46a8937ed6..0000000000 --- a/src/mlpack/methods/ann/loss_functions/CMakeLists.txt +++ /dev/null @@ -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) diff --git a/src/mlpack/methods/ann/not_adapted/gan/CMakeLists.txt b/src/mlpack/methods/ann/not_adapted/gan/CMakeLists.txt deleted file mode 100644 index 51b4bc9806..0000000000 --- a/src/mlpack/methods/ann/not_adapted/gan/CMakeLists.txt +++ /dev/null @@ -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) diff --git a/src/mlpack/methods/ann/not_adapted/gan/metrics/CMakeLists.txt b/src/mlpack/methods/ann/not_adapted/gan/metrics/CMakeLists.txt deleted file mode 100644 index 0600b603fa..0000000000 --- a/src/mlpack/methods/ann/not_adapted/gan/metrics/CMakeLists.txt +++ /dev/null @@ -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) diff --git a/src/mlpack/methods/ann/not_adapted/rbm/CMakeLists.txt b/src/mlpack/methods/ann/not_adapted/rbm/CMakeLists.txt deleted file mode 100644 index 001b85b752..0000000000 --- a/src/mlpack/methods/ann/not_adapted/rbm/CMakeLists.txt +++ /dev/null @@ -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) diff --git a/src/mlpack/methods/ann/regularizer/CMakeLists.txt b/src/mlpack/methods/ann/regularizer/CMakeLists.txt deleted file mode 100644 index 83777b70a9..0000000000 --- a/src/mlpack/methods/ann/regularizer/CMakeLists.txt +++ /dev/null @@ -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) diff --git a/src/mlpack/methods/approx_kfn/CMakeLists.txt b/src/mlpack/methods/approx_kfn/CMakeLists.txt deleted file mode 100644 index 4eb15f3abf..0000000000 --- a/src/mlpack/methods/approx_kfn/CMakeLists.txt +++ /dev/null @@ -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" "") diff --git a/src/mlpack/methods/bayesian_linear_regression/CMakeLists.txt b/src/mlpack/methods/bayesian_linear_regression/CMakeLists.txt deleted file mode 100644 index a5e8febd38..0000000000 --- a/src/mlpack/methods/bayesian_linear_regression/CMakeLists.txt +++ /dev/null @@ -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" "") diff --git a/src/mlpack/methods/bias_svd/CMakeLists.txt b/src/mlpack/methods/bias_svd/CMakeLists.txt deleted file mode 100644 index 3ca501362c..0000000000 --- a/src/mlpack/methods/bias_svd/CMakeLists.txt +++ /dev/null @@ -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) diff --git a/src/mlpack/methods/block_krylov_svd/CMakeLists.txt b/src/mlpack/methods/block_krylov_svd/CMakeLists.txt deleted file mode 100644 index 8de4fabc20..0000000000 --- a/src/mlpack/methods/block_krylov_svd/CMakeLists.txt +++ /dev/null @@ -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) diff --git a/src/mlpack/methods/cf/CMakeLists.txt b/src/mlpack/methods/cf/CMakeLists.txt deleted file mode 100644 index 3032109856..0000000000 --- a/src/mlpack/methods/cf/CMakeLists.txt +++ /dev/null @@ -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" "") diff --git a/src/mlpack/methods/cf/decomposition_policies/CMakeLists.txt b/src/mlpack/methods/cf/decomposition_policies/CMakeLists.txt deleted file mode 100644 index 04b592bd6f..0000000000 --- a/src/mlpack/methods/cf/decomposition_policies/CMakeLists.txt +++ /dev/null @@ -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) diff --git a/src/mlpack/methods/cf/interpolation_policies/CMakeLists.txt b/src/mlpack/methods/cf/interpolation_policies/CMakeLists.txt deleted file mode 100644 index 3a32c61965..0000000000 --- a/src/mlpack/methods/cf/interpolation_policies/CMakeLists.txt +++ /dev/null @@ -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) diff --git a/src/mlpack/methods/cf/neighbor_search_policies/CMakeLists.txt b/src/mlpack/methods/cf/neighbor_search_policies/CMakeLists.txt deleted file mode 100644 index 3f67dcdafd..0000000000 --- a/src/mlpack/methods/cf/neighbor_search_policies/CMakeLists.txt +++ /dev/null @@ -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) diff --git a/src/mlpack/methods/cf/normalization/CMakeLists.txt b/src/mlpack/methods/cf/normalization/CMakeLists.txt deleted file mode 100644 index f9e8a9fe06..0000000000 --- a/src/mlpack/methods/cf/normalization/CMakeLists.txt +++ /dev/null @@ -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) diff --git a/src/mlpack/methods/dbscan/CMakeLists.txt b/src/mlpack/methods/dbscan/CMakeLists.txt deleted file mode 100644 index 65d4fb7497..0000000000 --- a/src/mlpack/methods/dbscan/CMakeLists.txt +++ /dev/null @@ -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" "") diff --git a/src/mlpack/methods/decision_tree/CMakeLists.txt b/src/mlpack/methods/decision_tree/CMakeLists.txt deleted file mode 100644 index 432fd9e58d..0000000000 --- a/src/mlpack/methods/decision_tree/CMakeLists.txt +++ /dev/null @@ -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" "") diff --git a/src/mlpack/methods/det/CMakeLists.txt b/src/mlpack/methods/det/CMakeLists.txt deleted file mode 100644 index f5414d0405..0000000000 --- a/src/mlpack/methods/det/CMakeLists.txt +++ /dev/null @@ -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" "") diff --git a/src/mlpack/methods/emst/CMakeLists.txt b/src/mlpack/methods/emst/CMakeLists.txt deleted file mode 100644 index 794b662467..0000000000 --- a/src/mlpack/methods/emst/CMakeLists.txt +++ /dev/null @@ -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" "") diff --git a/src/mlpack/methods/fastmks/CMakeLists.txt b/src/mlpack/methods/fastmks/CMakeLists.txt deleted file mode 100644 index 8e1bc0ad22..0000000000 --- a/src/mlpack/methods/fastmks/CMakeLists.txt +++ /dev/null @@ -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" "") diff --git a/src/mlpack/methods/gmm/CMakeLists.txt b/src/mlpack/methods/gmm/CMakeLists.txt deleted file mode 100644 index c351d45607..0000000000 --- a/src/mlpack/methods/gmm/CMakeLists.txt +++ /dev/null @@ -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" "") diff --git a/src/mlpack/methods/hmm/CMakeLists.txt b/src/mlpack/methods/hmm/CMakeLists.txt deleted file mode 100644 index ca16d6113c..0000000000 --- a/src/mlpack/methods/hmm/CMakeLists.txt +++ /dev/null @@ -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" "") diff --git a/src/mlpack/methods/hoeffding_trees/CMakeLists.txt b/src/mlpack/methods/hoeffding_trees/CMakeLists.txt deleted file mode 100644 index 2bc044239a..0000000000 --- a/src/mlpack/methods/hoeffding_trees/CMakeLists.txt +++ /dev/null @@ -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" "") diff --git a/src/mlpack/methods/kde/CMakeLists.txt b/src/mlpack/methods/kde/CMakeLists.txt deleted file mode 100644 index e438aeab88..0000000000 --- a/src/mlpack/methods/kde/CMakeLists.txt +++ /dev/null @@ -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" "") diff --git a/src/mlpack/methods/kernel_pca/CMakeLists.txt b/src/mlpack/methods/kernel_pca/CMakeLists.txt deleted file mode 100644 index 97d424c269..0000000000 --- a/src/mlpack/methods/kernel_pca/CMakeLists.txt +++ /dev/null @@ -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" "") diff --git a/src/mlpack/methods/kernel_pca/kernel_rules/CMakeLists.txt b/src/mlpack/methods/kernel_pca/kernel_rules/CMakeLists.txt deleted file mode 100644 index 72f21281a3..0000000000 --- a/src/mlpack/methods/kernel_pca/kernel_rules/CMakeLists.txt +++ /dev/null @@ -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) diff --git a/src/mlpack/methods/kmeans/CMakeLists.txt b/src/mlpack/methods/kmeans/CMakeLists.txt deleted file mode 100644 index 7b1cea7144..0000000000 --- a/src/mlpack/methods/kmeans/CMakeLists.txt +++ /dev/null @@ -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" "") diff --git a/src/mlpack/methods/lars/CMakeLists.txt b/src/mlpack/methods/lars/CMakeLists.txt deleted file mode 100644 index 3c20f37d56..0000000000 --- a/src/mlpack/methods/lars/CMakeLists.txt +++ /dev/null @@ -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" "") diff --git a/src/mlpack/methods/linear_regression/CMakeLists.txt b/src/mlpack/methods/linear_regression/CMakeLists.txt deleted file mode 100644 index da87ce69a7..0000000000 --- a/src/mlpack/methods/linear_regression/CMakeLists.txt +++ /dev/null @@ -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") diff --git a/src/mlpack/methods/linear_svm/CMakeLists.txt b/src/mlpack/methods/linear_svm/CMakeLists.txt deleted file mode 100644 index 35d2517bf3..0000000000 --- a/src/mlpack/methods/linear_svm/CMakeLists.txt +++ /dev/null @@ -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" "") diff --git a/src/mlpack/methods/lmnn/CMakeLists.txt b/src/mlpack/methods/lmnn/CMakeLists.txt deleted file mode 100644 index de9e6cea80..0000000000 --- a/src/mlpack/methods/lmnn/CMakeLists.txt +++ /dev/null @@ -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" "") diff --git a/src/mlpack/methods/local_coordinate_coding/CMakeLists.txt b/src/mlpack/methods/local_coordinate_coding/CMakeLists.txt deleted file mode 100644 index 17ddb2e48a..0000000000 --- a/src/mlpack/methods/local_coordinate_coding/CMakeLists.txt +++ /dev/null @@ -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" "") diff --git a/src/mlpack/methods/logistic_regression/CMakeLists.txt b/src/mlpack/methods/logistic_regression/CMakeLists.txt deleted file mode 100644 index aab9d9967f..0000000000 --- a/src/mlpack/methods/logistic_regression/CMakeLists.txt +++ /dev/null @@ -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" "") diff --git a/src/mlpack/methods/lsh/CMakeLists.txt b/src/mlpack/methods/lsh/CMakeLists.txt deleted file mode 100644 index 2c509721cd..0000000000 --- a/src/mlpack/methods/lsh/CMakeLists.txt +++ /dev/null @@ -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" "") diff --git a/src/mlpack/methods/matrix_completion/CMakeLists.txt b/src/mlpack/methods/matrix_completion/CMakeLists.txt deleted file mode 100644 index 968ce9240f..0000000000 --- a/src/mlpack/methods/matrix_completion/CMakeLists.txt +++ /dev/null @@ -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) diff --git a/src/mlpack/methods/mean_shift/CMakeLists.txt b/src/mlpack/methods/mean_shift/CMakeLists.txt deleted file mode 100644 index 653d503720..0000000000 --- a/src/mlpack/methods/mean_shift/CMakeLists.txt +++ /dev/null @@ -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" "") diff --git a/src/mlpack/methods/naive_bayes/CMakeLists.txt b/src/mlpack/methods/naive_bayes/CMakeLists.txt deleted file mode 100644 index dac4b330ce..0000000000 --- a/src/mlpack/methods/naive_bayes/CMakeLists.txt +++ /dev/null @@ -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" "") diff --git a/src/mlpack/methods/nca/CMakeLists.txt b/src/mlpack/methods/nca/CMakeLists.txt deleted file mode 100644 index 4cddb79bdb..0000000000 --- a/src/mlpack/methods/nca/CMakeLists.txt +++ /dev/null @@ -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" "") diff --git a/src/mlpack/methods/neighbor_search/CMakeLists.txt b/src/mlpack/methods/neighbor_search/CMakeLists.txt deleted file mode 100644 index 1d7b76a452..0000000000 --- a/src/mlpack/methods/neighbor_search/CMakeLists.txt +++ /dev/null @@ -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" "") diff --git a/src/mlpack/methods/nmf/CMakeLists.txt b/src/mlpack/methods/nmf/CMakeLists.txt deleted file mode 100644 index a0634a1987..0000000000 --- a/src/mlpack/methods/nmf/CMakeLists.txt +++ /dev/null @@ -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" "") diff --git a/src/mlpack/methods/nystroem_method/CMakeLists.txt b/src/mlpack/methods/nystroem_method/CMakeLists.txt deleted file mode 100644 index 8677e1e065..0000000000 --- a/src/mlpack/methods/nystroem_method/CMakeLists.txt +++ /dev/null @@ -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) diff --git a/src/mlpack/methods/pca/CMakeLists.txt b/src/mlpack/methods/pca/CMakeLists.txt deleted file mode 100644 index f9f5939718..0000000000 --- a/src/mlpack/methods/pca/CMakeLists.txt +++ /dev/null @@ -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" "") diff --git a/src/mlpack/methods/pca/decomposition_policies/CMakeLists.txt b/src/mlpack/methods/pca/decomposition_policies/CMakeLists.txt deleted file mode 100644 index 232c9abb2e..0000000000 --- a/src/mlpack/methods/pca/decomposition_policies/CMakeLists.txt +++ /dev/null @@ -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) diff --git a/src/mlpack/methods/perceptron/CMakeLists.txt b/src/mlpack/methods/perceptron/CMakeLists.txt deleted file mode 100644 index 25b72f1149..0000000000 --- a/src/mlpack/methods/perceptron/CMakeLists.txt +++ /dev/null @@ -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" "") diff --git a/src/mlpack/methods/perceptron/initialization_methods/CMakeLists.txt b/src/mlpack/methods/perceptron/initialization_methods/CMakeLists.txt deleted file mode 100644 index 40848d20a8..0000000000 --- a/src/mlpack/methods/perceptron/initialization_methods/CMakeLists.txt +++ /dev/null @@ -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) diff --git a/src/mlpack/methods/perceptron/learning_policies/CMakeLists.txt b/src/mlpack/methods/perceptron/learning_policies/CMakeLists.txt deleted file mode 100644 index 737c079844..0000000000 --- a/src/mlpack/methods/perceptron/learning_policies/CMakeLists.txt +++ /dev/null @@ -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) diff --git a/src/mlpack/methods/preprocess/CMakeLists.txt b/src/mlpack/methods/preprocess/CMakeLists.txt deleted file mode 100644 index 3f4fed187e..0000000000 --- a/src/mlpack/methods/preprocess/CMakeLists.txt +++ /dev/null @@ -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 () diff --git a/src/mlpack/methods/quic_svd/CMakeLists.txt b/src/mlpack/methods/quic_svd/CMakeLists.txt deleted file mode 100644 index ae7a36adc8..0000000000 --- a/src/mlpack/methods/quic_svd/CMakeLists.txt +++ /dev/null @@ -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) diff --git a/src/mlpack/methods/radical/CMakeLists.txt b/src/mlpack/methods/radical/CMakeLists.txt deleted file mode 100644 index 79968372cd..0000000000 --- a/src/mlpack/methods/radical/CMakeLists.txt +++ /dev/null @@ -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" "") diff --git a/src/mlpack/methods/random_forest/CMakeLists.txt b/src/mlpack/methods/random_forest/CMakeLists.txt deleted file mode 100644 index 7b54ff3f66..0000000000 --- a/src/mlpack/methods/random_forest/CMakeLists.txt +++ /dev/null @@ -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" "") diff --git a/src/mlpack/methods/randomized_svd/CMakeLists.txt b/src/mlpack/methods/randomized_svd/CMakeLists.txt deleted file mode 100644 index 542b55e255..0000000000 --- a/src/mlpack/methods/randomized_svd/CMakeLists.txt +++ /dev/null @@ -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) diff --git a/src/mlpack/methods/range_search/CMakeLists.txt b/src/mlpack/methods/range_search/CMakeLists.txt deleted file mode 100644 index c7f8f8ecef..0000000000 --- a/src/mlpack/methods/range_search/CMakeLists.txt +++ /dev/null @@ -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" "") diff --git a/src/mlpack/methods/rann/CMakeLists.txt b/src/mlpack/methods/rann/CMakeLists.txt deleted file mode 100644 index b4c01db87f..0000000000 --- a/src/mlpack/methods/rann/CMakeLists.txt +++ /dev/null @@ -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" "") diff --git a/src/mlpack/methods/regularized_svd/CMakeLists.txt b/src/mlpack/methods/regularized_svd/CMakeLists.txt deleted file mode 100644 index 106fb194bb..0000000000 --- a/src/mlpack/methods/regularized_svd/CMakeLists.txt +++ /dev/null @@ -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) diff --git a/src/mlpack/methods/reinforcement_learning/CMakeLists.txt b/src/mlpack/methods/reinforcement_learning/CMakeLists.txt deleted file mode 100644 index 4bc9cc7664..0000000000 --- a/src/mlpack/methods/reinforcement_learning/CMakeLists.txt +++ /dev/null @@ -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) diff --git a/src/mlpack/methods/reinforcement_learning/environment/CMakeLists.txt b/src/mlpack/methods/reinforcement_learning/environment/CMakeLists.txt deleted file mode 100644 index dd95985f99..0000000000 --- a/src/mlpack/methods/reinforcement_learning/environment/CMakeLists.txt +++ /dev/null @@ -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) diff --git a/src/mlpack/methods/reinforcement_learning/policy/CMakeLists.txt b/src/mlpack/methods/reinforcement_learning/policy/CMakeLists.txt deleted file mode 100644 index 026ed072ba..0000000000 --- a/src/mlpack/methods/reinforcement_learning/policy/CMakeLists.txt +++ /dev/null @@ -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) diff --git a/src/mlpack/methods/reinforcement_learning/q_networks/CMakeLists.txt b/src/mlpack/methods/reinforcement_learning/q_networks/CMakeLists.txt deleted file mode 100644 index a30c0215c2..0000000000 --- a/src/mlpack/methods/reinforcement_learning/q_networks/CMakeLists.txt +++ /dev/null @@ -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) diff --git a/src/mlpack/methods/reinforcement_learning/replay/CMakeLists.txt b/src/mlpack/methods/reinforcement_learning/replay/CMakeLists.txt deleted file mode 100644 index d8fd19c7a4..0000000000 --- a/src/mlpack/methods/reinforcement_learning/replay/CMakeLists.txt +++ /dev/null @@ -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) diff --git a/src/mlpack/methods/reinforcement_learning/worker/CMakeLists.txt b/src/mlpack/methods/reinforcement_learning/worker/CMakeLists.txt deleted file mode 100644 index 7880a982db..0000000000 --- a/src/mlpack/methods/reinforcement_learning/worker/CMakeLists.txt +++ /dev/null @@ -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) diff --git a/src/mlpack/methods/softmax_regression/CMakeLists.txt b/src/mlpack/methods/softmax_regression/CMakeLists.txt deleted file mode 100644 index fa8ea108b5..0000000000 --- a/src/mlpack/methods/softmax_regression/CMakeLists.txt +++ /dev/null @@ -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" "") diff --git a/src/mlpack/methods/sparse_autoencoder/CMakeLists.txt b/src/mlpack/methods/sparse_autoencoder/CMakeLists.txt deleted file mode 100644 index db505bb46d..0000000000 --- a/src/mlpack/methods/sparse_autoencoder/CMakeLists.txt +++ /dev/null @@ -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) diff --git a/src/mlpack/methods/sparse_coding/CMakeLists.txt b/src/mlpack/methods/sparse_coding/CMakeLists.txt deleted file mode 100644 index 73345260d5..0000000000 --- a/src/mlpack/methods/sparse_coding/CMakeLists.txt +++ /dev/null @@ -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" "") diff --git a/src/mlpack/methods/svdplusplus/CMakeLists.txt b/src/mlpack/methods/svdplusplus/CMakeLists.txt deleted file mode 100644 index c6f7e0f057..0000000000 --- a/src/mlpack/methods/svdplusplus/CMakeLists.txt +++ /dev/null @@ -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) diff --git a/src/mlpack/methods/xgboost/CMakeLists.txt b/src/mlpack/methods/xgboost/CMakeLists.txt deleted file mode 100644 index 37be5ee1d1..0000000000 --- a/src/mlpack/methods/xgboost/CMakeLists.txt +++ /dev/null @@ -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)