Fix various includes.
This commit is contained in:
@@ -26,6 +26,7 @@
|
||||
#include "confusion_matrix.hpp"
|
||||
#include "dataset_mapper.hpp"
|
||||
#include "image_info.hpp"
|
||||
#include "imputer.hpp"
|
||||
#include "is_naninf.hpp"
|
||||
#include "normalize_labels.hpp"
|
||||
#include "one_hot_encoding.hpp"
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
#include "bounds.hpp"
|
||||
|
||||
#include "binary_space_tree.hpp"
|
||||
#include "cosine_tree/cosine_tree.hpp"
|
||||
#include "cover_tree.hpp"
|
||||
#include "example_tree.hpp"
|
||||
#include "octree.hpp"
|
||||
|
||||
@@ -14,9 +14,8 @@
|
||||
#ifndef MLPACK_METHODS_BIAS_SVD_BIAS_SVD_HPP
|
||||
#define MLPACK_METHODS_BIAS_SVD_BIAS_SVD_HPP
|
||||
|
||||
#include <mlpack/prereqs.hpp>
|
||||
#include <mlpack/core.hpp>
|
||||
#include <ensmallen.hpp>
|
||||
#include <mlpack/methods/cf/cf.hpp>
|
||||
|
||||
#include "bias_svd_function.hpp"
|
||||
|
||||
|
||||
@@ -27,6 +27,7 @@
|
||||
|
||||
#include "all_dimension_select.hpp"
|
||||
#include "random_dimension_select.hpp"
|
||||
#include "multiple_random_dimension_select.hpp"
|
||||
|
||||
#include <type_traits>
|
||||
|
||||
|
||||
@@ -17,7 +17,6 @@
|
||||
// Include initialization strategies.
|
||||
#include "sample_initialization.hpp"
|
||||
#include "kmeans_plus_plus_initialization.hpp"
|
||||
#include "refined_start.hpp"
|
||||
#include "random_partition.hpp"
|
||||
|
||||
// Include empty cluster policies.
|
||||
@@ -208,4 +207,8 @@ class KMeans
|
||||
// Include implementation.
|
||||
#include "kmeans_impl.hpp"
|
||||
|
||||
// The refined start initialization strategy uses KMeans, so it must be included
|
||||
// afterwards.
|
||||
#include "refined_start.hpp"
|
||||
|
||||
#endif // MLPACK_METHODS_KMEANS_KMEANS_HPP
|
||||
|
||||
@@ -15,7 +15,6 @@
|
||||
|
||||
#include <mlpack/prereqs.hpp>
|
||||
#include <ensmallen.hpp>
|
||||
#include <mlpack/methods/cf/cf.hpp>
|
||||
|
||||
#include "regularized_svd_function.hpp"
|
||||
|
||||
|
||||
@@ -15,7 +15,6 @@
|
||||
#define MLPACK_METHODS_SVDPLUSPLUS_SVDPLUSPLUS_HPP
|
||||
|
||||
#include <mlpack/core.hpp>
|
||||
#include <mlpack/methods/cf/cf.hpp>
|
||||
|
||||
#include <ensmallen.hpp>
|
||||
|
||||
|
||||
@@ -12,6 +12,11 @@
|
||||
#include <ensmallen_bits/callbacks/callbacks.hpp>
|
||||
#include <mlpack/core.hpp>
|
||||
#include <mlpack/methods/ann/ann.hpp>
|
||||
#include <mlpack/methods/lmnn/lmnn.hpp>
|
||||
#include <mlpack/methods/logistic_regression/logistic_regression.hpp>
|
||||
#include <mlpack/methods/nca/nca.hpp>
|
||||
#include <mlpack/methods/softmax_regression/softmax_regression.hpp>
|
||||
#include <mlpack/methods/sparse_autoencoder/sparse_autoencoder.hpp>
|
||||
|
||||
#include "catch.hpp"
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
|
||||
#include <type_traits>
|
||||
|
||||
#include <mlpack/core/core.hpp>
|
||||
#include <mlpack/core.hpp>
|
||||
#include <mlpack/methods/ann/ann.hpp>
|
||||
#include <mlpack/methods/decision_tree/decision_tree.hpp>
|
||||
#include <mlpack/methods/hoeffding_trees/hoeffding_trees.hpp>
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
#include <time.h>
|
||||
#include <mlpack/core.hpp>
|
||||
#include <mlpack/methods/rann/rann.hpp>
|
||||
#include <mlpack/methods/rann/ra_model.hpp>
|
||||
|
||||
#include "catch.hpp"
|
||||
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
* http://www.opensource.org/licenses/BSD-3-Clause for more information.
|
||||
*/
|
||||
#include <mlpack/core.hpp>
|
||||
#include <mlpack/methods/neighbor_search/neighbor_search.hpp>
|
||||
|
||||
#include "catch.hpp"
|
||||
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
* http://www.opensource.org/licenses/BSD-3-Clause for more information.
|
||||
*/
|
||||
#include <mlpack/core.hpp>
|
||||
#include <mlpack/methods/neighbor_search/neighbor_search.hpp>
|
||||
|
||||
#include "catch.hpp"
|
||||
#include "test_catch_tools.hpp"
|
||||
|
||||
Reference in New Issue
Block a user