JulesSanchez / 3DLabelProp

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

An error occurred when compiling command: bash compile_wrappers.sh

ChicalH opened this issue · comments

Thanks for your code. However, when i configured the environment and compiled the command, an error occurred as follows:

able_if_t' in namespace 'std' does not name a template type; did you mean 'enable_if'?
305 | typename std::enable_if_t<IsVector::value>* = 0);
| ^~~~~~~~~~~
| enable_if
/usr/local/include/mlpack/core/tree/spill_tree/spill_tree.hpp:305:32: error: expected ',' or '...' before '<' token
305 | typename std::enable_if_t<IsVector::value>* = 0);
| ^
/usr/local/include/mlpack/core/tree/spill_tree/spill_tree.hpp:409:38: error: 'enable_if_t' in namespace 'std' does not name a template type; did you mean 'enable_if'?
409 | typename std::enable_if_t<IsVector::value>* = 0)
| ^~~~~~~~~~~
| enable_if
/usr/local/include/mlpack/core/tree/spill_tree/spill_tree.hpp:409:49: error: expected ',' or '...' before '<' token
409 | typename std::enable_if_t<IsVector::value>* = 0)
| ^
/usr/local/include/mlpack/core/tree/spill_tree/spill_tree.hpp:418:38: error: 'enable_if_t' in namespace 'std' does not name a template type; did you mean 'enable_if'?
418 | typename std::enable_if_t<IsVector::value>* = 0)
| ^~~~~~~~~~~
| enable_if
/usr/local/include/mlpack/core/tree/spill_tree/spill_tree.hpp:418:49: error: expected ',' or '...' before '<' token
418 | typename std::enable_if_t<IsVector::value>* = 0)
| ^
/usr/local/include/mlpack/core/tree/spill_tree/spill_tree.hpp:428:31: error: 'enable_if_t' in namespace 'std' does not name a template type; did you mean 'enable_if'?
428 | typename std::enable_if_t<IsVector::value>* = 0) const
| ^~~~~~~~~~~
| enable_if
/usr/local/include/mlpack/core/tree/spill_tree/spill_tree.hpp:428:42: error: expected ',' or '...' before '<' token
428 | typename std::enable_if_t<IsVector::value>* = 0) const
| ^
In file included from /usr/local/include/mlpack/core/tree/spill_tree/spill_tree.hpp:491,
from /usr/local/include/mlpack/core/tree/spill_tree/is_spill_tree.hpp:14,
from /usr/local/include/mlpack/core/tree/spill_tree.hpp:17,
from /usr/local/include/mlpack/core/tree/tree.hpp:23,
from /usr/local/include/mlpack/core.hpp:53,
from /usr/local/include/mlpack/methods/kmeans/kmeans.hpp:15,
from propagation.cpp:9:
/usr/local/include/mlpack/core/tree/spill_tree/spill_tree_impl.hpp:394:25: error: 'enable_if_t' in namespace 'std' does not name a template type; did you mean 'enable_if'?
394 | const typename std::enable_if_t<cereal::is_loading()>) :
| ^~~~~~~~~~~
| enable_if
/usr/local/include/mlpack/core/tree/spill_tree/spill_tree_impl.hpp:394:36: error: expected ',' or '...' before '<' token
394 | const typename std::enable_if_t<cereal::is_loading()>
) :
| ^
/usr/local/include/mlpack/core/tree/spill_tree/spill_tree_impl.hpp:473:19: error: 'enable_if_t' in namespace 'std' does not name a template type; did you mean 'enable_if'?
473 | typename std::enable_if_t<IsVector::value>)
| ^~~~~~~~~~~
| enable_if
/usr/local/include/mlpack/core/tree/spill_tree/spill_tree_impl.hpp:473:30: error: expected ',' or '...' before '<' token
473 | typename std::enable_if_t<IsVector::value>
)
| ^
/usr/local/include/mlpack/core/tree/spill_tree/spill_tree_impl.hpp:499:19: error: 'enable_if_t' in namespace 'std' does not name a template type; did you mean 'enable_if'?
499 | typename std::enable_if_t<IsVector::value>)
| ^~~~~~~~~~~
| enable_if
/usr/local/include/mlpack/core/tree/spill_tree/spill_tree_impl.hpp:499:30: error: expected ',' or '...' before '<' token
499 | typename std::enable_if_t<IsVector::value>
)
| ^
In file included from /usr/local/include/mlpack/core/cv/metrics/metrics.hpp:18,
from /usr/local/include/mlpack/core/cv/cv.hpp:15,
from /usr/local/include/mlpack/core.hpp:56,
from /usr/local/include/mlpack/methods/kmeans/kmeans.hpp:15,
from propagation.cpp:9:
/usr/local/include/mlpack/core/cv/metrics/f1.hpp:72:28: error: 'enable_if_t' in namespace 'std' does not name a template type; did you mean 'enable_if'?
72 | typename = std::enable_if_t<_AS == Binary>>
| ^~~~~~~~~~~
| enable_if
/usr/local/include/mlpack/core/cv/metrics/f1.hpp:72:39: error: expected '>' before '<' token
72 | typename = std::enable_if_t<_AS == Binary>>
| ^
/usr/local/include/mlpack/core/cv/metrics/f1.hpp:83:28: error: 'enable_if_t' in namespace 'std' does not name a template type; did you mean 'enable_if'?
83 | typename = std::enable_if_t<_AS == Micro>,
| ^~~~~~~~~~~
| enable_if
/usr/local/include/mlpack/core/cv/metrics/f1.hpp:83:39: error: expected '>' before '<' token
83 | typename = std::enable_if_t<_AS == Micro>,
| ^
/usr/local/include/mlpack/core/cv/metrics/f1.hpp:85:17: error: 'template<mlpack::AverageStrategy AS, long unsigned int PositiveClass> template<mlpack::AverageStrategy _AS, class MLAlgorithm, class DataType, class> static double mlpack::F1<AS, PositiveClass>::Evaluate(MLAlgorithm&, const DataType&, const arma::Row&)' cannot be overloaded with 'template<mlpack::AverageStrategy AS, long unsigned int PositiveClass> template<mlpack::AverageStrategy _AS, class MLAlgorithm, class DataType, class> static double mlpack::F1<AS, PositiveClass>::Evaluate(MLAlgorithm&, const DataType&, const arma::Row&)'
85 | static double Evaluate(MLAlgorithm& model,
| ^~~~~~~~
/usr/local/include/mlpack/core/cv/metrics/f1.hpp:73:17: note: previous declaration 'template<mlpack::AverageStrategy AS, long unsigned int PositiveClass> template<mlpack::AverageStrategy _AS, class MLAlgorithm, class DataType, class> static double mlpack::F1<AS, PositiveClass>::Evaluate(MLAlgorithm&, const DataType&, const arma::Row&)'
73 | static double Evaluate(MLAlgorithm& model,
| ^~~~~~~~
/usr/local/include/mlpack/core/cv/metrics/f1.hpp:95:28: error: 'enable_if_t' in namespace 'std' does not name a template type; did you mean 'enable_if'?
95 | typename = std::enable_if_t<_AS == Macro>,
| ^~~~~~~~~~~
| enable_if
/usr/local/include/mlpack/core/cv/metrics/f1.hpp:95:39: error: expected '>' before '<' token
95 | typename = std::enable_if_t<_AS == Macro>,
| ^
/usr/local/include/mlpack/core/cv/metrics/f1.hpp:98:17: error: 'template<mlpack::AverageStrategy AS, long unsigned int PositiveClass> template<mlpack::AverageStrategy _AS, class MLAlgorithm, class DataType, class> static double mlpack::F1<AS, PositiveClass>::Evaluate(MLAlgorithm&, const DataType&, const arma::Row&)' cannot be overloaded with 'template<mlpack::AverageStrategy AS, long unsigned int PositiveClass> template<mlpack::AverageStrategy _AS, class MLAlgorithm, class DataType, class> static double mlpack::F1<AS, PositiveClass>::Evaluate(MLAlgorithm&, const DataType&, const arma::Row&)'
98 | static double Evaluate(MLAlgorithm& model,
| ^~~~~~~~
/usr/local/include/mlpack/core/cv/metrics/f1.hpp:73:17: note: previous declaration 'template<mlpack::AverageStrategy AS, long unsigned int PositiveClass> template<mlpack::AverageStrategy _AS, class MLAlgorithm, class DataType, class> static double mlpack::F1<AS, PositiveClass>::Evaluate(MLAlgorithm&, const DataType&, const arma::Row&)'
73 | static double Evaluate(MLAlgorithm& model,
| ^~~~~~~~
In file included from /usr/local/include/mlpack/core/cv/metrics/f1.hpp:106,
from /usr/local/include/mlpack/core/cv/metrics/metrics.hpp:18,
from /usr/local/include/mlpack/core/cv/cv.hpp:15,
from /usr/local/include/mlpack/core.hpp:56,
from /usr/local/include/mlpack/methods/kmeans/kmeans.hpp:15,
from propagation.cpp:9:
/usr/local/include/mlpack/core/cv/metrics/f1_impl.hpp:53:8: error: no declaration matches 'double mlpack::F1<AS, PositiveClass>::Evaluate(MLAlgorithm&, const DataType&, const arma::Row&)'
53 | double F1<AS, PC>::Evaluate(MLAlgorithm& model,
| ^~~~~~~~~~
In file included from /usr/local/include/mlpack/core/cv/metrics/metrics.hpp:18,
from /usr/local/include/mlpack/core/cv/cv.hpp:15,
from /usr/local/include/mlpack/core.hpp:56,
from /usr/local/include/mlpack/methods/kmeans/kmeans.hpp:15,
from propagation.cpp:9:
/usr/local/include/mlpack/core/cv/metrics/f1.hpp:73:17: note: candidates are: 'template<mlpack::AverageStrategy AS, long unsigned int PositiveClass> template<mlpack::AverageStrategy _AS, class MLAlgorithm, class DataType, class> static double mlpack::F1<AS, PositiveClass>::Evaluate(MLAlgorithm&, const DataType&, const arma::Row&)'
73 | static double Evaluate(MLAlgorithm& model,
| ^~~~~~~~
/usr/local/include/mlpack/core/cv/metrics/f1.hpp:55:17: note: 'template<mlpack::AverageStrategy AS, long unsigned int PositiveClass> template<class MLAlgorithm, class DataType> static double mlpack::F1<AS, PositiveClass>::Evaluate(MLAlgorithm&, const DataType&, const arma::Row&)'
55 | static double Evaluate(MLAlgorithm& model,
| ^~~~~~~~
/usr/local/include/mlpack/core/cv/metrics/f1.hpp:44:7: note: 'class mlpack::F1<AS, PositiveClass>' defined here
44 | class F1
| ^~
In file included from /usr/local/include/mlpack/core/cv/metrics/f1.hpp:106,
from /usr/local/include/mlpack/core/cv/metrics/metrics.hpp:18,
from /usr/local/include/mlpack/core/cv/cv.hpp:15,
from /usr/local/include/mlpack/core.hpp:56,
from /usr/local/include/mlpack/methods/kmeans/kmeans.hpp:15,
from propagation.cpp:9:
/usr/local/include/mlpack/core/cv/metrics/f1_impl.hpp:67:8: error: no declaration matches 'double mlpack::F1<AS, PositiveClass>::Evaluate(MLAlgorithm&, const DataType&, const arma::Row&)'
67 | double F1<AS, PC>::Evaluate(MLAlgorithm& model,
| ^~~~~~~~~~
In file included from /usr/local/include/mlpack/core/cv/metrics/metrics.hpp:18,
from /usr/local/include/mlpack/core/cv/cv.hpp:15,
from /usr/local/include/mlpack/core.hpp:56,
from /usr/local/include/mlpack/methods/kmeans/kmeans.hpp:15,
from propagation.cpp:9:
/usr/local/include/mlpack/core/cv/metrics/f1.hpp:73:17: note: candidates are: 'template<mlpack::AverageStrategy AS, long unsigned int PositiveClass> template<mlpack::AverageStrategy _AS, class MLAlgorithm, class DataType, class> static double mlpack::F1<AS, PositiveClass>::Evaluate(MLAlgorithm&, const DataType&, const arma::Row&)'
73 | static double Evaluate(MLAlgorithm& model,
| ^~~~~~~~
/usr/local/include/mlpack/core/cv/metrics/f1.hpp:55:17: note: 'template<mlpack::AverageStrategy AS, long unsigned int PositiveClass> template<class MLAlgorithm, class DataType> static double mlpack::F1<AS, PositiveClass>::Evaluate(MLAlgorithm&, const DataType&, const arma::Row&)'
55 | static double Evaluate(MLAlgorithm& model,
| ^~~~~~~~
/usr/local/include/mlpack/core/cv/metrics/f1.hpp:44:7: note: 'class mlpack::F1<AS, PositiveClass>' defined here
44 | class F1
| ^~
In file included from /usr/local/include/mlpack/core/cv/metrics/metrics.hpp:20,
from /usr/local/include/mlpack/core/cv/cv.hpp:15,
from /usr/local/include/mlpack/core.hpp:56,
from /usr/local/include/mlpack/methods/kmeans/kmeans.hpp:15,
from propagation.cpp:9:
/usr/local/include/mlpack/core/cv/metrics/precision.hpp:75:28: error: 'enable_if_t' in namespace 'std' does not name a template type; did you mean 'enable_if'?
75 | typename = std::enable_if_t<_AS == Binary>>
| ^~~~~~~~~~~
| enable_if
/usr/local/include/mlpack/core/cv/metrics/precision.hpp:75:39: error: expected '>' before '<' token
75 | typename = std::enable_if_t<_AS == Binary>>
| ^
/usr/local/include/mlpack/core/cv/metrics/precision.hpp:86:28: error: 'enable_if_t' in namespace 'std' does not name a template type; did you mean 'enable_if'?
86 | typename = std::enable_if_t<_AS == Micro>,
| ^~~~~~~~~~~
| enable_if
/usr/local/include/mlpack/core/cv/metrics/precision.hpp:86:39: error: expected '>' before '<' token
86 | typename = std::enable_if_t<_AS == Micro>,
| ^
/usr/local/include/mlpack/core/cv/metrics/precision.hpp:88:17: error: 'template<mlpack::AverageStrategy AS, long unsigned int PositiveClass> template<mlpack::AverageStrategy _AS, class MLAlgorithm, class DataType, class> static double mlpack::Precision<AS, PositiveClass>::Evaluate(MLAlgorithm&, const DataType&, const arma::Row&)' cannot be overloaded with 'template<mlpack::AverageStrategy AS, long unsigned int PositiveClass> template<mlpack::AverageStrategy _AS, class MLAlgorithm, class DataType, class> static double mlpack::Precision<AS, PositiveClass>::Evaluate(MLAlgorithm&, const DataType&, const arma::Row&)'
88 | static double Evaluate(MLAlgorithm& model,
| ^~~~~~~~
/usr/local/include/mlpack/core/cv/metrics/precision.hpp:76:17: note: previous declaration 'template<mlpack::AverageStrategy AS, long unsigned int PositiveClass> template<mlpack::AverageStrategy _AS, class MLAlgorithm, class DataType, class> static double mlpack::Precision<AS, PositiveClass>::Evaluate(MLAlgorithm&, const DataType&, const arma::Row&)'
76 | static double Evaluate(MLAlgorithm& model,
| ^~~~~~~~
/usr/local/include/mlpack/core/cv/metrics/precision.hpp:98:28: error: 'enable_if_t' in namespace 'std' does not name a template type; did you mean 'enable_if'?
98 | typename = std::enable_if_t<_AS == Macro>,
| ^~~~~~~~~~~
| enable_if
/usr/local/include/mlpack/core/cv/metrics/precision.hpp:98:39: error: expected '>' before '<' token
98 | typename = std::enable_if_t<_AS == Macro>,
| ^
/usr/local/include/mlpack/core/cv/metrics/precision.hpp:101:17: error: 'template<mlpack::AverageStrategy AS, long unsigned int PositiveClass> template<mlpack::AverageStrategy _AS, class MLAlgorithm, class DataType, class> static double mlpack::Precision<AS, PositiveClass>::Evaluate(MLAlgorithm&, const DataType&, const arma::Row&)' cannot be overloaded with 'template<mlpack::AverageStrategy AS, long unsigned int PositiveClass> template<mlpack::AverageStrategy _AS, class MLAlgorithm, class DataType, class> static double mlpack::Precision<AS, PositiveClass>::Evaluate(MLAlgorithm&, const DataType&, const arma::Row&)'
101 | static double Evaluate(MLAlgorithm& model,
| ^~~~~~~~
/usr/local/include/mlpack/core/cv/metrics/precision.hpp:76:17: note: previous declaration 'template<mlpack::AverageStrategy AS, long unsigned int PositiveClass> template<mlpack::AverageStrategy _AS, class MLAlgorithm, class DataType, class> static double mlpack::Precision<AS, PositiveClass>::Evaluate(MLAlgorithm&, const DataType&, const arma::Row&)'
76 | static double Evaluate(MLAlgorithm& model,
| ^~~~~~~~
In file included from /usr/local/include/mlpack/core/cv/metrics/precision.hpp:109,
from /usr/local/include/mlpack/core/cv/metrics/metrics.hpp:20,
from /usr/local/include/mlpack/core/cv/cv.hpp:15,
from /usr/local/include/mlpack/core.hpp:56,
from /usr/local/include/mlpack/methods/kmeans/kmeans.hpp:15,
from propagation.cpp:9:
/usr/local/include/mlpack/core/cv/metrics/precision_impl.hpp:48:8: error: no declaration matches 'double mlpack::Precision<AS, PositiveClass>::Evaluate(MLAlgorithm&, const DataType&, const arma::Row&)'
48 | double Precision<AS, PC>::Evaluate(MLAlgorithm& model,
| ^~~~~~~~~~~~~~~~~
In file included from /usr/local/include/mlpack/core/cv/metrics/metrics.hpp:20,
from /usr/local/include/mlpack/core/cv/cv.hpp:15,
from /usr/local/include/mlpack/core.hpp:56,
from /usr/local/include/mlpack/methods/kmeans/kmeans.hpp:15,
from propagation.cpp:9:
/usr/local/include/mlpack/core/cv/metrics/precision.hpp:76:17: note: candidates are: 'template<mlpack::AverageStrategy AS, long unsigned int PositiveClass> template<mlpack::AverageStrategy _AS, class MLAlgorithm, class DataType, class> static double mlpack::Precision<AS, PositiveClass>::Evaluate(MLAlgorithm&, const DataType&, const arma::Row&)'
76 | static double Evaluate(MLAlgorithm& model,
| ^~~~~~~~
/usr/local/include/mlpack/core/cv/metrics/precision.hpp:58:17: note: 'template<mlpack::AverageStrategy AS, long unsigned int PositiveClass> template<class MLAlgorithm, class DataType> static double mlpack::Precision<AS, PositiveClass>::Evaluate(MLAlgorithm&, const DataType&, const arma::Row&)'
58 | static double Evaluate(MLAlgorithm& model,
| ^~~~~~~~
/usr/local/include/mlpack/core/cv/metrics/precision.hpp:47:7: note: 'class mlpack::Precision<AS, PositiveClass>' defined here
47 | class Precision
| ^~~~~~~~~
In file included from /usr/local/include/mlpack/core/cv/metrics/precision.hpp:109,
from /usr/local/include/mlpack/core/cv/metrics/metrics.hpp:20,
from /usr/local/include/mlpack/core/cv/cv.hpp:15,
from /usr/local/include/mlpack/core.hpp:56,
from /usr/local/include/mlpack/methods/kmeans/kmeans.hpp:15,
from propagation.cpp:9:
/usr/local/include/mlpack/core/cv/metrics/precision_impl.hpp:61:8: error: no declaration matches 'double mlpack::Precision<AS, PositiveClass>::Evaluate(MLAlgorithm&, const DataType&, const arma::Row&)'
61 | double Precision<AS, PC>::Evaluate(MLAlgorithm& model,
| ^~~~~~~~~~~~~~~~~
In file included from /usr/local/include/mlpack/core/cv/metrics/metrics.hpp:20,
from /usr/local/include/mlpack/core/cv/cv.hpp:15,
from /usr/local/include/mlpack/core.hpp:56,
from /usr/local/include/mlpack/methods/kmeans/kmeans.hpp:15,
from propagation.cpp:9:
/usr/local/include/mlpack/core/cv/metrics/precision.hpp:76:17: note: candidates are: 'template<mlpack::AverageStrategy AS, long unsigned int PositiveClass> template<mlpack::AverageStrategy _AS, class MLAlgorithm, class DataType, class> static double mlpack::Precision<AS, PositiveClass>::Evaluate(MLAlgorithm&, const DataType&, const arma::Row&)'
76 | static double Evaluate(MLAlgorithm& model,
| ^~~~~~~~
/usr/local/include/mlpack/core/cv/metrics/precision.hpp:58:17: note: 'template<mlpack::AverageStrategy AS, long unsigned int PositiveClass> template<class MLAlgorithm, class DataType> static double mlpack::Precision<AS, PositiveClass>::Evaluate(MLAlgorithm&, const DataType&, const arma::Row&)'
58 | static double Evaluate(MLAlgorithm& model,
| ^~~~~~~~
/usr/local/include/mlpack/core/cv/metrics/precision.hpp:47:7: note: 'class mlpack::Precision<AS, PositiveClass>' defined here
47 | class Precision
| ^~~~~~~~~
In file included from /usr/local/include/mlpack/core/cv/metrics/metrics.hpp:22,
from /usr/local/include/mlpack/core/cv/cv.hpp:15,
from /usr/local/include/mlpack/core.hpp:56,
from /usr/local/include/mlpack/methods/kmeans/kmeans.hpp:15,
from propagation.cpp:9:
/usr/local/include/mlpack/core/cv/metrics/recall.hpp:75:28: error: 'enable_if_t' in namespace 'std' does not name a template type; did you mean 'enable_if'?
75 | typename = std::enable_if_t<_AS == Binary>>
| ^~~~~~~~~~~
| enable_if
/usr/local/include/mlpack/core/cv/metrics/recall.hpp:75:39: error: expected '>' before '<' token
75 | typename = std::enable_if_t<_AS == Binary>>
| ^
/usr/local/include/mlpack/core/cv/metrics/recall.hpp:86:28: error: 'enable_if_t' in namespace 'std' does not name a template type; did you mean 'enable_if'?
86 | typename = std::enable_if_t<_AS == Micro>,
| ^~~~~~~~~~~
| enable_if
/usr/local/include/mlpack/core/cv/metrics/recall.hpp:86:39: error: expected '>' before '<' token
86 | typename = std::enable_if_t<_AS == Micro>,
| ^
/usr/local/include/mlpack/core/cv/metrics/recall.hpp:88:17: error: 'template<mlpack::AverageStrategy AS, long unsigned int PositiveClass> template<mlpack::AverageStrategy _AS, class MLAlgorithm, class DataType, class> static double mlpack::Recall<AS, PositiveClass>::Evaluate(MLAlgorithm&, const DataType&, const arma::Row&)' cannot be overloaded with 'template<mlpack::AverageStrategy AS, long unsigned int PositiveClass> template<mlpack::AverageStrategy _AS, class MLAlgorithm, class DataType, class> static double mlpack::Recall<AS, PositiveClass>::Evaluate(MLAlgorithm&, const DataType&, const arma::Row&)'
88 | static double Evaluate(MLAlgorithm& model,
| ^~~~~~~~
/usr/local/include/mlpack/core/cv/metrics/recall.hpp:76:17: note: previous declaration 'template<mlpack::AverageStrategy AS, long unsigned int PositiveClass> template<mlpack::AverageStrategy _AS, class MLAlgorithm, class DataType, class> static double mlpack::Recall<AS, PositiveClass>::Evaluate(MLAlgorithm&, const DataType&, const arma::Row&)'
76 | static double Evaluate(MLAlgorithm& model,
| ^~~~~~~~
/usr/local/include/mlpack/core/cv/metrics/recall.hpp:98:28: error: 'enable_if_t' in namespace 'std' does not name a template type; did you mean 'enable_if'?
98 | typename = std::enable_if_t<_AS == Macro>,
| ^~~~~~~~~~~
| enable_if
/usr/local/include/mlpack/core/cv/metrics/recall.hpp:98:39: error: expected '>' before '<' token
98 | typename = std::enable_if_t<_AS == Macro>,
| ^
/usr/local/include/mlpack/core/cv/metrics/recall.hpp:101:17: error: 'template<mlpack::AverageStrategy AS, long unsigned int PositiveClass> template<mlpack::AverageStrategy _AS, class MLAlgorithm, class DataType, class> static double mlpack::Recall<AS, PositiveClass>::Evaluate(MLAlgorithm&, const DataType&, const arma::Row&)' cannot be overloaded with 'template<mlpack::AverageStrategy AS, long unsigned int PositiveClass> template<mlpack::AverageStrategy _AS, class MLAlgorithm, class DataType, class> static double mlpack::Recall<AS, PositiveClass>::Evaluate(MLAlgorithm&, const DataType&, const arma::Row&)'
101 | static double Evaluate(MLAlgorithm& model,
| ^~~~~~~~
/usr/local/include/mlpack/core/cv/metrics/recall.hpp:76:17: note: previous declaration 'template<mlpack::AverageStrategy AS, long unsigned int PositiveClass> template<mlpack::AverageStrategy _AS, class MLAlgorithm, class DataType, class> static double mlpack::Recall<AS, PositiveClass>::Evaluate(MLAlgorithm&, const DataType&, const arma::Row&)'
76 | static double Evaluate(MLAlgorithm& model,
| ^~~~~~~~
In file included from /usr/local/include/mlpack/core/cv/metrics/recall.hpp:109,
from /usr/local/include/mlpack/core/cv/metrics/metrics.hpp:22,
from /usr/local/include/mlpack/core/cv/cv.hpp:15,
from /usr/local/include/mlpack/core.hpp:56,
from /usr/local/include/mlpack/methods/kmeans/kmeans.hpp:15,
from propagation.cpp:9:
/usr/local/include/mlpack/core/cv/metrics/recall_impl.hpp:48:8: error: no declaration matches 'double mlpack::Recall<AS, PositiveClass>::Evaluate(MLAlgorithm&, const DataType&, const arma::Row&)'
48 | double Recall<AS, PC>::Evaluate(MLAlgorithm& model,
| ^~~~~~~~~~~~~~
In file included from /usr/local/include/mlpack/core/cv/metrics/metrics.hpp:22,
from /usr/local/include/mlpack/core/cv/cv.hpp:15,
from /usr/local/include/mlpack/core.hpp:56,
from /usr/local/include/mlpack/methods/kmeans/kmeans.hpp:15,
from propagation.cpp:9:
/usr/local/include/mlpack/core/cv/metrics/recall.hpp:76:17: note: candidates are: 'template<mlpack::AverageStrategy AS, long unsigned int PositiveClass> template<mlpack::AverageStrategy _AS, class MLAlgorithm, class DataType, class> static double mlpack::Recall<AS, PositiveClass>::Evaluate(MLAlgorithm&, const DataType&, const arma::Row&)'
76 | static double Evaluate(MLAlgorithm& model,
| ^~~~~~~~
/usr/local/include/mlpack/core/cv/metrics/recall.hpp:58:17: note: 'template<mlpack::AverageStrategy AS, long unsigned int PositiveClass> template<class MLAlgorithm, class DataType> static double mlpack::Recall<AS, PositiveClass>::Evaluate(MLAlgorithm&, const DataType&, const arma::Row&)'
58 | static double Evaluate(MLAlgorithm& model,
| ^~~~~~~~
/usr/local/include/mlpack/core/cv/metrics/recall.hpp:47:7: note: 'class mlpack::Recall<AS, PositiveClass>' defined here
47 | class Recall
| ^~~~~~
In file included from /usr/local/include/mlpack/core/cv/metrics/recall.hpp:109,
from /usr/local/include/mlpack/core/cv/metrics/metrics.hpp:22,
from /usr/local/include/mlpack/core/cv/cv.hpp:15,
from /usr/local/include/mlpack/core.hpp:56,
from /usr/local/include/mlpack/methods/kmeans/kmeans.hpp:15,
from propagation.cpp:9:
/usr/local/include/mlpack/core/cv/metrics/recall_impl.hpp:61:8: error: no declaration matches 'double mlpack::Recall<AS, PositiveClass>::Evaluate(MLAlgorithm&, const DataType&, const arma::Row&)'
61 | double Recall<AS, PC>::Evaluate(MLAlgorithm& model,
| ^~~~~~~~~~~~~~
In file included from /usr/local/include/mlpack/core/cv/metrics/metrics.hpp:22,
from /usr/local/include/mlpack/core/cv/cv.hpp:15,
from /usr/local/include/mlpack/core.hpp:56,
from /usr/local/include/mlpack/methods/kmeans/kmeans.hpp:15,
from propagation.cpp:9:
/usr/local/include/mlpack/core/cv/metrics/recall.hpp:76:17: note: candidates are: 'template<mlpack::AverageStrategy AS, long unsigned int PositiveClass> template<mlpack::AverageStrategy _AS, class MLAlgorithm, class DataType, class> static double mlpack::Recall<AS, PositiveClass>::Evaluate(MLAlgorithm&, const DataType&, const arma::Row&)'
76 | static double Evaluate(MLAlgorithm& model,
| ^~~~~~~~
/usr/local/include/mlpack/core/cv/metrics/recall.hpp:58:17: note: 'template<mlpack::AverageStrategy AS, long unsigned int PositiveClass> template<class MLAlgorithm, class DataType> static double mlpack::Recall<AS, PositiveClass>::Evaluate(MLAlgorithm&, const DataType&, const arma::Row&)'
58 | static double Evaluate(MLAlgorithm& model,
| ^~~~~~~~
/usr/local/include/mlpack/core/cv/metrics/recall.hpp:47:7: note: 'class mlpack::Recall<AS, PositiveClass>' defined here
47 | class Recall
| ^~~~~~
In file included from /usr/local/include/mlpack/core.hpp:57,
from /usr/local/include/mlpack/methods/kmeans/kmeans.hpp:15,
from propagation.cpp:9:
/usr/local/include/mlpack/core/hpt/hpt.hpp:257:28: error: 'enable_if_t' in namespace 'std' does not name a template type; did you mean 'enable_if'?
257 | typename = std::enable_if_t<I == std::tuple_size::value>>
| ^~~~~~~~~~~
| enable_if
/usr/local/include/mlpack/core/hpt/hpt.hpp:257:39: error: expected '>' before '<' token
257 | typename = std::enable_if_t<I == std::tuple_size::value>>
| ^
/usr/local/include/mlpack/core/hpt/hpt.hpp:275:28: error: 'enable_if_t' in namespace 'std' does not name a template type; did you mean 'enable_if'?
275 | typename = std::enable_if_t<(I < std::tuple_size::value)>,
| ^~~~~~~~~~~
| enable_if
/usr/local/include/mlpack/core/hpt/hpt.hpp:275:39: error: expected '>' before '<' token
275 | typename = std::enable_if_t<(I < std::tuple_size::value)>,
| ^
/usr/local/include/mlpack/core/hpt/hpt.hpp:277:15: error: 'template<class MLAlgorithm, class Metric, template<class, class, class, class, class> class CV, class OptimizerType, class MatType, class PredictionsType, class WeightsType> template<long unsigned int I, class ArgsTuple, class ... FixedArgs, class> void mlpack::HyperParameterTuner<MLAlgorithm, Metric, CV, OptimizerType, MatType, PredictionsType, WeightsType>::InitAndOptimize(const ArgsTuple&, arma::mat&, mlpack::data::DatasetMapper<mlpack::data::IncrementPolicy, double>&, FixedArgs ...)' cannot be overloaded with 'template<class MLAlgorithm, class Metric, template<class, class, class, class, class> class CV, class OptimizerType, class MatType, class PredictionsType, class WeightsType> template<long unsigned int I, class ArgsTuple, class ... FixedArgs, class> void mlpack::HyperParameterTuner<MLAlgorithm, Metric, CV, OptimizerType, MatType, PredictionsType, WeightsType>::InitAndOptimize(const ArgsTuple&, arma::mat&, mlpack::data::DatasetMapper<mlpack::data::IncrementPolicy, double>&, FixedArgs ...)'
277 | inline void InitAndOptimize(
| ^~~~~~~~~~~~~~~
/usr/local/include/mlpack/core/hpt/hpt.hpp:258:15: note: previous declaration 'template<class MLAlgorithm, class Metric, template<class, class, class, class, class> class CV, class OptimizerType, class MatType, class PredictionsType, class WeightsType> template<long unsigned int I, class ArgsTuple, class ... FixedArgs, class> void mlpack::HyperParameterTuner<MLAlgorithm, Metric, CV, OptimizerType, MatType, PredictionsType, WeightsType>::InitAndOptimize(const ArgsTuple&, arma::mat&, mlpack::data::DatasetMapper<mlpack::data::IncrementPolicy, double>&, FixedArgs ...)'
258 | inline void InitAndOptimize(
| ^~~~~~~~~~~~~~~
/usr/local/include/mlpack/core/hpt/hpt.hpp:294:28: error: 'enable_if_t' in namespace 'std' does not name a template type; did you mean 'enable_if'?
294 | typename = std::enable_if_t<(I < std::tuple_size::value)>,
| ^~~~~~~~~~~
| enable_if
/usr/local/include/mlpack/core/hpt/hpt.hpp:294:39: error: expected '>' before '<' token
294 | typename = std::enable_if_t<(I < std::tuple_size::value)>,
| ^
/usr/local/include/mlpack/core/hpt/hpt.hpp:298:15: error: 'template<class MLAlgorithm, class Metric, template<class, class, class, class, class> class CV, class OptimizerType, class MatType, class PredictionsType, class WeightsType> template<long unsigned int I, class ArgsTuple, class ... FixedArgs, class> void mlpack::HyperParameterTuner<MLAlgorithm, Metric, CV, OptimizerType, MatType, PredictionsType, WeightsType>::InitAndOptimize(const ArgsTuple&, arma::mat&, mlpack::data::DatasetMapper<mlpack::data::IncrementPolicy, double>&, FixedArgs ...)' cannot be overloaded with 'template<class MLAlgorithm, class Metric, template<class, class, class, class, class> class CV, class OptimizerType, class MatType, class PredictionsType, class WeightsType> template<long unsigned int I, class ArgsTuple, class ... FixedArgs, class> void mlpack::HyperParameterTuner<MLAlgorithm, Metric, CV, OptimizerType, MatType, PredictionsType, WeightsType>::InitAndOptimize(const ArgsTuple&, arma::mat&, mlpack::data::DatasetMapper<mlpack::data::IncrementPolicy, double>&, FixedArgs ...)'
298 | inline void InitAndOptimize(
| ^~~~~~~~~~~~~~~
/usr/local/include/mlpack/core/hpt/hpt.hpp:258:15: note: previous declaration 'template<class MLAlgorithm, class Metric, template<class, class, class, class, class> class CV, class OptimizerType, class MatType, class PredictionsType, class WeightsType> template<long unsigned int I, class ArgsTuple, class ... FixedArgs, class> void mlpack::HyperParameterTuner<MLAlgorithm, Metric, CV, OptimizerType, MatType, PredictionsType, WeightsType>::InitAndOptimize(const ArgsTuple&, arma::mat&, mlpack::data::DatasetMapper<mlpack::data::IncrementPolicy, double>&, FixedArgs ...)'
258 | inline void InitAndOptimize(
| ^~~~~~~~~~~~~~~
/usr/local/include/mlpack/core/hpt/hpt.hpp:315:28: error: 'enable_if_t' in namespace 'std' does not name a template type; did you mean 'enable_if'?
315 | typename = std::enable_if_t<(I < std::tuple_size::value)>,
| ^~~~~~~~~~~
| enable_if
/usr/local/include/mlpack/core/hpt/hpt.hpp:315:39: error: expected '>' before '<' token
315 | typename = std::enable_if_t<(I < std::tuple_size::value)>,
| ^
/usr/local/include/mlpack/core/hpt/hpt.hpp:320:15: error: 'template<class MLAlgorithm, class Metric, template<class, class, class, class, class> class CV, class OptimizerType, class MatType, class PredictionsType, class WeightsType> template<long unsigned int I, class ArgsTuple, class ... FixedArgs, class> void mlpack::HyperParameterTuner<MLAlgorithm, Metric, CV, OptimizerType, MatType, PredictionsType, WeightsType>::InitAndOptimize(const ArgsTuple&, arma::mat&, mlpack::data::DatasetMapper<mlpack::data::IncrementPolicy, double>&, FixedArgs ...)' cannot be overloaded with 'template<class MLAlgorithm, class Metric, template<class, class, class, class, class> class CV, class OptimizerType, class MatType, class PredictionsType, class WeightsType> template<long unsigned int I, class ArgsTuple, class ... FixedArgs, class> void mlpack::HyperParameterTuner<MLAlgorithm, Metric, CV, OptimizerType, MatType, PredictionsType, WeightsType>::InitAndOptimize(const ArgsTuple&, arma::mat&, mlpack::data::DatasetMapper<mlpack::data::IncrementPolicy, double>&, FixedArgs ...)'
320 | inline void InitAndOptimize(
| ^~~~~~~~~~~~~~~
/usr/local/include/mlpack/core/hpt/hpt.hpp:258:15: note: previous declaration 'template<class MLAlgorithm, class Metric, template<class, class, class, class, class> class CV, class OptimizerType, class MatType, class PredictionsType, class WeightsType> template<long unsigned int I, class ArgsTuple, class ... FixedArgs, class> void mlpack::HyperParameterTuner<MLAlgorithm, Metric, CV, OptimizerType, MatType, PredictionsType, WeightsType>::InitAndOptimize(const ArgsTuple&, arma::mat&, mlpack::data::DatasetMapper<mlpack::data::IncrementPolicy, double>&, FixedArgs ...)'
258 | inline void InitAndOptimize(
| ^~~~~~~~~~~~~~~
/usr/local/include/mlpack/core/hpt/hpt.hpp:334:21: error: 'enable_if_t' in namespace 'std' does not name a template type; did you mean 'enable_if'?
334 | std::enable_if_t<(I < std::tuple_size::value)>>
| ^~~~~~~~~~~
| enable_if
/usr/local/include/mlpack/core/hpt/hpt.hpp:334:32: error: expected '>' before '<' token
334 | std::enable_if_t<(I < std::tuple_size::value)>>
| ^
/usr/local/include/mlpack/core/hpt/hpt.hpp:344:21: error: 'enable_if_t' in namespace 'std' does not name a template type; did you mean 'enable_if'?
344 | std::enable_if_t<I == std::tuple_size::value>,
| ^~~~~~~~~~~
| enable_if
/usr/local/include/mlpack/core/hpt/hpt.hpp:344:32: error: expected '>' before '<' token
344 | std::enable_if_t<I == std::tuple_size::value>,
| ^
/usr/local/include/mlpack/core/hpt/hpt.hpp:346:20: error: 'template<class MLAlgorithm, class Metric, template<class, class, class, class, class> class CV, class OptimizerType, class MatType, class PredictionsType, class WeightsType> template<class TupleType, long unsigned int I, class ... Args, class> TupleType mlpack::HyperParameterTuner<MLAlgorithm, Metric, CV, OptimizerType, MatType, PredictionsType, WeightsType>::VectorToTuple(const vec&, const Args& ...)' cannot be overloaded with 'template<class MLAlgorithm, class Metric, template<class, class, class, class, class> class CV, class OptimizerType, class MatType, class PredictionsType, class WeightsType> template<class TupleType, long unsigned int I, class ... Args, class> TupleType mlpack::HyperParameterTuner<MLAlgorithm, Metric, CV, OptimizerType, MatType, PredictionsType, WeightsType>::VectorToTuple(const vec&, const Args& ...)'
346 | inline TupleType VectorToTuple(const arma::vec& vector, const Args&... args);
| ^~~~~~~~~~~~~
/usr/local/include/mlpack/core/hpt/hpt.hpp:335:20: note: previous declaration 'template<class MLAlgorithm, class Metric, template<class, class, class, class, class> class CV, class OptimizerType, class MatType, class PredictionsType, class WeightsType> template<class TupleType, long unsigned int I, class ... Args, class> TupleType mlpack::HyperParameterTuner<MLAlgorithm, Metric, CV, OptimizerType, MatType, PredictionsType, WeightsType>::VectorToTuple(const vec&, const Args& ...)'
335 | inline TupleType VectorToTuple(const arma::vec& vector, const Args&... args);
| ^~~~~~~~~~~~~
In file included from /usr/local/include/mlpack/core/hpt/hpt.hpp:352,
from /usr/local/include/mlpack/core.hpp:57,
from /usr/local/include/mlpack/methods/kmeans/kmeans.hpp:15,
from propagation.cpp:9:
/usr/local/include/mlpack/core/hpt/hpt_impl.hpp:121:6: error: no declaration matches 'void mlpack::HyperParameterTuner<MLAlgorithm, Metric, CV, OptimizerType, MatType, PredictionsType, WeightsType>::InitAndOptimize(const ArgsTuple&, arma::mat&, mlpack::data::DatasetMapper<mlpack::data::IncrementPolicy, double>&, FixedArgs ...)'
121 | void HyperParameterTuner<MLAlgorithm,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
122 | Metric,
| ~~~~~~~
123 | CV,
| ~~~
124 | Optimizer,
| ~~~~~~~~~~
125 | MatType,
| ~~~~~~~~
126 | PredictionsType,
| ~~~~~~~~~~~~~~~~
127 | WeightsType>::InitAndOptimize(
| ~~~~~~~~~~~~
In file included from /usr/local/include/mlpack/core.hpp:57,
from /usr/local/include/mlpack/methods/kmeans/kmeans.hpp:15,
from propagation.cpp:9:
/usr/local/include/mlpack/core/hpt/hpt.hpp:258:15: note: candidate is: 'template<class MLAlgorithm, class Metric, template<class, class, class, class, class> class CV, class OptimizerType, class MatType, class PredictionsType, class WeightsType> template<long unsigned int I, class ArgsTuple, class ... FixedArgs, class> void mlpack::HyperParameterTuner<MLAlgorithm, Metric, CV, OptimizerType, MatType, PredictionsType, WeightsType>::InitAndOptimize(const ArgsTuple&, arma::mat&, mlpack::data::DatasetMapper<mlpack::data::IncrementPolicy, double>&, FixedArgs ...)'
258 | inline void InitAndOptimize(
| ^~~~~~~~~~~~~~~
/usr/local/include/mlpack/core/hpt/hpt.hpp:95:7: note: 'class mlpack::HyperParameterTuner<MLAlgorithm, Metric, CV, OptimizerType, MatType, PredictionsType, WeightsType>' defined here
95 | class HyperParameterTuner
| ^~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/mlpack/core/hpt/hpt.hpp:352,
from /usr/local/include/mlpack/core.hpp:57,
from /usr/local/include/mlpack/methods/kmeans/kmeans.hpp:15,
from propagation.cpp:9:
/usr/local/include/mlpack/core/hpt/hpt_impl.hpp:149:6: error: no declaration matches 'void mlpack::HyperParameterTuner<MLAlgorithm, Metric, CV, OptimizerType, MatType, PredictionsType, WeightsType>::InitAndOptimize(const ArgsTuple&, arma::mat&, mlpack::data::DatasetMapper<mlpack::data::IncrementPolicy, double>&, FixedArgs ...)'
149 | void HyperParameterTuner<MLAlgorithm,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
150 | Metric,
| ~~~~~~~
151 | CV,
| ~~~
152 | Optimizer,
| ~~~~~~~~~~
153 | MatType,
| ~~~~~~~~
154 | PredictionsType,
| ~~~~~~~~~~~~~~~~
155 | WeightsType>::InitAndOptimize(
| ~~~~~~~~~~~~
In file included from /usr/local/include/mlpack/core.hpp:57,
from /usr/local/include/mlpack/methods/kmeans/kmeans.hpp:15,
from propagation.cpp:9:
/usr/local/include/mlpack/core/hpt/hpt.hpp:258:15: note: candidate is: 'template<class MLAlgorithm, class Metric, template<class, class, class, class, class> class CV, class OptimizerType, class MatType, class PredictionsType, class WeightsType> template<long unsigned int I, class ArgsTuple, class ... FixedArgs, class> void mlpack::HyperParameterTuner<MLAlgorithm, Metric, CV, OptimizerType, MatType, PredictionsType, WeightsType>::InitAndOptimize(const ArgsTuple&, arma::mat&, mlpack::data::DatasetMapper<mlpack::data::IncrementPolicy, double>&, FixedArgs ...)'
258 | inline void InitAndOptimize(
| ^~~~~~~~~~~~~~~
/usr/local/include/mlpack/core/hpt/hpt.hpp:95:7: note: 'class mlpack::HyperParameterTuner<MLAlgorithm, Metric, CV, OptimizerType, MatType, PredictionsType, WeightsType>' defined here
95 | class HyperParameterTuner
| ^~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/mlpack/core/hpt/hpt.hpp:352,
from /usr/local/include/mlpack/core.hpp:57,
from /usr/local/include/mlpack/methods/kmeans/kmeans.hpp:15,
from propagation.cpp:9:
/usr/local/include/mlpack/core/hpt/hpt_impl.hpp:178:6: error: no declaration matches 'void mlpack::HyperParameterTuner<MLAlgorithm, Metric, CV, OptimizerType, MatType, PredictionsType, WeightsType>::InitAndOptimize(const ArgsTuple&, arma::mat&, mlpack::data::DatasetMapper<mlpack::data::IncrementPolicy, double>&, FixedArgs ...)'
178 | void HyperParameterTuner<MLAlgorithm,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
179 | Metric,
| ~~~~~~~
180 | CV,
| ~~~
181 | Optimizer,
| ~~~~~~~~~~
182 | MatType,
| ~~~~~~~~
183 | PredictionsType,
| ~~~~~~~~~~~~~~~~
184 | WeightsType>::InitAndOptimize(
| ~~~~~~~~~~~~
In file included from /usr/local/include/mlpack/core.hpp:57,
from /usr/local/include/mlpack/methods/kmeans/kmeans.hpp:15,
from propagation.cpp:9:
/usr/local/include/mlpack/core/hpt/hpt.hpp:258:15: note: candidate is: 'template<class MLAlgorithm, class Metric, template<class, class, class, class, class> class CV, class OptimizerType, class MatType, class PredictionsType, class WeightsType> template<long unsigned int I, class ArgsTuple, class ... FixedArgs, class> void mlpack::HyperParameterTuner<MLAlgorithm, Metric, CV, OptimizerType, MatType, PredictionsType, WeightsType>::InitAndOptimize(const ArgsTuple&, arma::mat&, mlpack::data::DatasetMapper<mlpack::data::IncrementPolicy, double>&, FixedArgs ...)'
258 | inline void InitAndOptimize(
| ^~~~~~~~~~~~~~~
/usr/local/include/mlpack/core/hpt/hpt.hpp:95:7: note: 'class mlpack::HyperParameterTuner<MLAlgorithm, Metric, CV, OptimizerType, MatType, PredictionsType, WeightsType>' defined here
95 | class HyperParameterTuner
| ^~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/mlpack/core/hpt/hpt.hpp:352,
from /usr/local/include/mlpack/core.hpp:57,
from /usr/local/include/mlpack/methods/kmeans/kmeans.hpp:15,
from propagation.cpp:9:
/usr/local/include/mlpack/core/hpt/hpt_impl.hpp:234:11: error: no declaration matches 'TupleType mlpack::HyperParameterTuner<MLAlgorithm, Metric, CV, OptimizerType, MatType, PredictionsType, WeightsType>::VectorToTuple(const vec&, const Args& ...)'
234 | TupleType HyperParameterTuner<MLAlgorithm,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
235 | Metric,
| ~~~~~~~
236 | CV,
| ~~~
237 | Optimizer,
| ~~~~~~~~~~
238 | MatType,
| ~~~~~~~~
239 | PredictionsType,
| ~~~~~~~~~~~~~~~~
240 | WeightsType>::VectorToTuple(
| ~~~~~~~~~~~~
In file included from /usr/local/include/mlpack/core.hpp:57,
from /usr/local/include/mlpack/methods/kmeans/kmeans.hpp:15,
from propagation.cpp:9:
/usr/local/include/mlpack/core/hpt/hpt.hpp:335:20: note: candidate is: 'template<class MLAlgorithm, class Metric, template<class, class, class, class, class> class CV, class OptimizerType, class MatType, class PredictionsType, class WeightsType> template<class TupleType, long unsigned int I, class ... Args, class> TupleType mlpack::HyperParameterTuner<MLAlgorithm, Metric, CV, OptimizerType, MatType, PredictionsType, WeightsType>::VectorToTuple(const vec&, const Args& ...)'
335 | inline TupleType VectorToTuple(const arma::vec& vector, const Args&... args);
| ^~~~~~~~~~~~~
/usr/local/include/mlpack/core/hpt/hpt.hpp:95:7: note: 'class mlpack::HyperParameterTuner<MLAlgorithm, Metric, CV, OptimizerType, MatType, PredictionsType, WeightsType>' defined here
95 | class HyperParameterTuner
| ^~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/mlpack/methods/kmeans/kmeans.hpp:29,
from propagation.cpp:9:
/usr/local/include/mlpack/methods/kmeans/dual_tree_kmeans.hpp:136:36: error: 'enable_if_t' in namespace 'std' does not name a template type; did you mean 'enable_if'?
136 | const typename std::enable_if_t<
| ^~~~~~~~~~~
| enable_if
/usr/local/include/mlpack/methods/kmeans/dual_tree_kmeans.hpp:136:47: error: expected ',' or '...' before '<' token
136 | const typename std::enable_if_t<
| ^
/usr/local/include/mlpack/methods/kmeans/dual_tree_kmeans.hpp:145:36: error: 'enable_if_t' in namespace 'std' does not name a template type; did you mean 'enable_if'?
145 | const typename std::enable_if_t<
| ^~~~~~~~~~~
| enable_if
/usr/local/include/mlpack/methods/kmeans/dual_tree_kmeans.hpp:145:47: error: expected ',' or '...' before '<' token
145 | const typename std::enable_if_t<
| ^
/usr/local/include/mlpack/methods/kmeans/dual_tree_kmeans.hpp:151:42: error: 'enable_if_t' in namespace 'std' does not name a template type; did you mean 'enable_if'?
151 | const typename std::enable_if_t<!TreeTraits<
| ^~~~~~~~~~~
| enable_if
/usr/local/include/mlpack/methods/kmeans/dual_tree_kmeans.hpp:151:53: error: expected ',' or '...' before '<' token
151 | const typename std::enable_if_t<!TreeTraits<
| ^
/usr/local/include/mlpack/methods/kmeans/dual_tree_kmeans.hpp:157:42: error: 'enable_if_t' in namespace 'std' does not name a template type; did you mean 'enable_if'?
157 | const typename std::enable_if_t<TreeTraits<
| ^~~~~~~~~~~
| enable_if
/usr/local/include/mlpack/methods/kmeans/dual_tree_kmeans.hpp:157:53: error: expected ',' or '...' before '<' token
157 | const typename std::enable_if_t<TreeTraits<
| ^
In file included from /usr/local/include/mlpack/methods/kmeans/dual_tree_kmeans.hpp:173,
from /usr/local/include/mlpack/methods/kmeans/kmeans.hpp:29,
from propagation.cpp:9:
/usr/local/include/mlpack/methods/kmeans/dual_tree_kmeans_impl.hpp:625:36: error: 'enable_if_t' in namespace 'std' does not name a template type; did you mean 'enable_if'?
625 | const typename std::enable_if_t<
| ^~~~~~~~~~~
| enable_if
/usr/local/include/mlpack/methods/kmeans/dual_tree_kmeans_impl.hpp:625:47: error: expected ',' or '...' before '<' token
625 | const typename std::enable_if_t<
| ^
/usr/local/include/mlpack/methods/kmeans/dual_tree_kmeans_impl.hpp:637:36: error: 'enable_if_t' in namespace 'std' does not name a template type; did you mean 'enable_if'?
637 | const typename std::enable_if_t<
| ^~~~~~~~~~~
| enable_if
/usr/local/include/mlpack/methods/kmeans/dual_tree_kmeans_impl.hpp:637:47: error: expected ',' or '...' before '<' token
637 | const typename std::enable_if_t<
| ^
/usr/local/include/mlpack/methods/kmeans/dual_tree_kmeans_impl.hpp:635:6: error: redefinition of 'template void mlpack::HideChild(TreeType&, size_t, int)'
635 | void HideChild(TreeType& node,
| ^~~~~~~~~
/usr/local/include/mlpack/methods/kmeans/dual_tree_kmeans_impl.hpp:623:6: note: 'template void mlpack::HideChild(TreeType&, size_t, int)' previously declared here
623 | void HideChild(TreeType& node,
| ^~~~~~~~~
/usr/local/include/mlpack/methods/kmeans/dual_tree_kmeans_impl.hpp:656:42: error: 'enable_if_t' in namespace 'std' does not name a template type; did you mean 'enable_if'?
656 | const typename std::enable_if_t<
| ^~~~~~~~~~~
| enable_if
/usr/local/include/mlpack/methods/kmeans/dual_tree_kmeans_impl.hpp:656:53: error: expected ',' or '...' before '<' token
656 | const typename std::enable_if_t<
| ^
/usr/local/include/mlpack/methods/kmeans/dual_tree_kmeans_impl.hpp:668:42: error: 'enable_if_t' in namespace 'std' does not name a template type; did you mean 'enable_if'?
668 | const typename std::enable_if_t<
| ^~~~~~~~~~~
| enable_if
/usr/local/include/mlpack/methods/kmeans/dual_tree_kmeans_impl.hpp:668:53: error: expected ',' or '...' before '<' token
668 | const typename std::enable_if_t<
| ^
/usr/local/include/mlpack/methods/kmeans/dual_tree_kmeans_impl.hpp:667:6: error: redefinition of 'template void mlpack::RestoreChildren(TreeType&, int)'
667 | void RestoreChildren(TreeType& node,
| ^~~~~~~~~~~~~~~
/usr/local/include/mlpack/methods/kmeans/dual_tree_kmeans_impl.hpp:655:6: note: 'template void mlpack::RestoreChildren(TreeType&, int)' previously declared here
655 | void RestoreChildren(TreeType& node,
| ^~~~~~~~~~~~~~~
In file included from /usr/local/include/mlpack/methods/kmeans/kmeans.hpp:206,
from propagation.cpp:9:
/usr/local/include/mlpack/methods/kmeans/kmeans_impl.hpp:55:25: error: 'enable_if_t' in namespace 'std' does not name a template type; did you mean 'enable_if'?
55 | const typename std::enable_if_t<
| ^~~~~~~~~~~
| enable_if
/usr/local/include/mlpack/methods/kmeans/kmeans_impl.hpp:55:36: error: expected ',' or '...' before '<' token
55 | const typename std::enable_if_t<
| ^
/usr/local/include/mlpack/methods/kmeans/kmeans_impl.hpp:73:25: error: 'enable_if_t' in namespace 'std' does not name a template type; did you mean 'enable_if'?
73 | const typename std::enable_if_t<
| ^~~~~~~~~~~
| enable_if
/usr/local/include/mlpack/methods/kmeans/kmeans_impl.hpp:73:36: error: expected ',' or '...' before '<' token
73 | const typename std::enable_if_t<
| ^
/usr/local/include/mlpack/methods/kmeans/kmeans_impl.hpp:67:6: error: redefinition of 'template<class MatType, class InitialPartitionPolicy> bool mlpack::GetInitialAssignmentsOrCentroids(InitialPartitionPolicy&, const MatType&, size_t, arma::Row&, arma::mat&, int)'
67 | bool GetInitialAssignmentsOrCentroids(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/mlpack/methods/kmeans/kmeans_impl.hpp:49:6: note: 'template<class MatType, class InitialPartitionPolicy> bool mlpack::GetInitialAssignmentsOrCentroids(InitialPartitionPolicy&, const MatType&, size_t, arma::Row&, arma::mat&, int)' previously declared here
49 | bool GetInitialAssignmentsOrCentroids(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
propagation.cpp:13:25: error: 'kmeans' is not a namespace-name; did you mean 'KMeans'?
13 | using namespace mlpack::kmeans;
| ^~~~~~
| KMeans
propagation.cpp: In function 'std::vector<std::vector<int, std::allocator > > make_clusters(pybind11::array_t, pybind11::array_t, int, double, int, std::string)':
propagation.cpp:215:9: error: 'KMeans' was not declared in this scope; did you mean 'mlpack::KMeans'?
215 | KMeans<> k(20);
| ^~~~~~
| mlpack::KMeans
In file included from propagation.cpp:9:
/usr/local/include/mlpack/methods/kmeans/kmeans.hpp:82:7: note: 'mlpack::KMeans' declared here
82 | class KMeans
| ^~~~~~
propagation.cpp:215:16: error: expected primary-expression before '>' token
215 | KMeans<> k(20);
| ^
propagation.cpp:215:18: error: 'k' was not declared in this scope
215 | KMeans<> k(20);
| ^

Could you please tell me what the problem is and how to solve it? Thank you.