Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- In file included from /usr/include/c++/5/cstdint:35:0,
- from /usr/local/include/mlpack/prereqs.hpp:32,
- from /usr/local/include/mlpack/core.hpp:253,
- from streamin_extractor_music.cpp:32:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /usr/local/include/mlpack/core.hpp:253:0,
- from streamin_extractor_music.cpp:32:
- /usr/local/include/mlpack/prereqs.hpp:58:1: error: expected unqualified-id before ‘using’
- using enable_if_t = typename enable_if<B, T>::type;
- ^
- In file included from /usr/local/include/mlpack/core/boost_backport/boost_backport_serialization.hpp:25:0,
- from /usr/local/include/mlpack/prereqs.hpp:82,
- from /usr/local/include/mlpack/core.hpp:253,
- from streamin_extractor_music.cpp:32:
- /usr/include/boost/serialization/unordered_map.hpp:98:16: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- const std::unordered_map<
- ^
- /usr/include/boost/serialization/unordered_map.hpp:98:29: error: expected ‘,’ or ‘...’ before ‘<’ token
- const std::unordered_map<
- ^
- /usr/include/boost/serialization/unordered_map.hpp: In function ‘void boost::serialization::save(Archive&, int)’:
- /usr/include/boost/serialization/unordered_map.hpp:105:9: error: ‘unordered_map’ is not a member of ‘std’
- std::unordered_map<
- ^
- /usr/include/boost/serialization/unordered_map.hpp:105:9: error: ‘unordered_map’ is not a member of ‘std’
- /usr/include/boost/serialization/unordered_map.hpp:103:32: error: parse error in template argument list
- boost::serialization::stl::save_unordered_collection<
- ^
- /usr/include/boost/serialization/unordered_map.hpp:108:11: error: ‘t’ was not declared in this scope
- >(ar, t);
- ^
- /usr/include/boost/serialization/unordered_map.hpp: At global scope:
- /usr/include/boost/serialization/unordered_map.hpp:120:10: error: ‘std::unordered_map’ has not been declared
- std::unordered_map<
- ^
- /usr/include/boost/serialization/unordered_map.hpp:120:23: error: expected ‘,’ or ‘...’ before ‘<’ token
- std::unordered_map<
- ^
- /usr/include/boost/serialization/unordered_map.hpp: In function ‘void boost::serialization::load(Archive&, int)’:
- /usr/include/boost/serialization/unordered_map.hpp:127:9: error: ‘unordered_map’ is not a member of ‘std’
- std::unordered_map<
- ^
- /usr/include/boost/serialization/unordered_map.hpp:127:9: error: ‘unordered_map’ is not a member of ‘std’
- /usr/include/boost/serialization/unordered_map.hpp:125:32: error: parse error in template argument list
- boost::serialization::stl::load_unordered_collection<
- ^
- /usr/include/boost/serialization/unordered_map.hpp:132:13: error: ‘unordered_map’ is not a member of ‘std’
- std::unordered_map<
- ^
- /usr/include/boost/serialization/unordered_map.hpp:132:13: error: ‘unordered_map’ is not a member of ‘std’
- /usr/include/boost/serialization/unordered_map.hpp:134:13: error: wrong number of template arguments (5, should be 2)
- >
- ^
- /usr/include/boost/serialization/unordered_map.hpp:37:8: note: provided for ‘template<class Archive, class Container> struct boost::serialization::stl::archive_input_unordered_map’
- struct archive_input_unordered_map
- ^
- /usr/include/boost/serialization/unordered_map.hpp:136:5: error: expected primary-expression before ‘>’ token
- >(ar, t);
- ^
- /usr/include/boost/serialization/unordered_map.hpp:136:11: error: ‘t’ was not declared in this scope
- >(ar, t);
- ^
- /usr/include/boost/serialization/unordered_map.hpp: At global scope:
- /usr/include/boost/serialization/unordered_map.hpp:150:10: error: ‘std::unordered_map’ has not been declared
- std::unordered_map<
- ^
- /usr/include/boost/serialization/unordered_map.hpp:150:23: error: expected ‘,’ or ‘...’ before ‘<’ token
- std::unordered_map<
- ^
- /usr/include/boost/serialization/unordered_map.hpp: In function ‘void boost::serialization::serialize(Archive&, int)’:
- /usr/include/boost/serialization/unordered_map.hpp:155:42: error: ‘t’ was not declared in this scope
- boost::serialization::split_free(ar, t, file_version);
- ^
- /usr/include/boost/serialization/unordered_map.hpp:155:45: error: ‘file_version’ was not declared in this scope
- boost::serialization::split_free(ar, t, file_version);
- ^
- /usr/include/boost/serialization/unordered_map.hpp: At global scope:
- /usr/include/boost/serialization/unordered_map.hpp:168:16: error: ‘unordered_multimap’ in namespace ‘std’ does not name a template type
- const std::unordered_multimap<
- ^
- /usr/include/boost/serialization/unordered_map.hpp:168:34: error: expected ‘,’ or ‘...’ before ‘<’ token
- const std::unordered_multimap<
- ^
- /usr/include/boost/serialization/unordered_map.hpp:166:13: error: redefinition of ‘template<class Archive, class Key, class HashFcn, class EqualKey, class Allocator> void boost::serialization::save(Archive&, int)’
- inline void save(
- ^
- /usr/include/boost/serialization/unordered_map.hpp:96:13: note: ‘template<class Archive, class Key, class HashFcn, class EqualKey, class Allocator> void boost::serialization::save(Archive&, int)’ previously declared here
- inline void save(
- ^
- /usr/include/boost/serialization/unordered_map.hpp:190:10: error: ‘std::unordered_multimap’ has not been declared
- std::unordered_multimap<
- ^
- /usr/include/boost/serialization/unordered_map.hpp:190:28: error: expected ‘,’ or ‘...’ before ‘<’ token
- std::unordered_multimap<
- ^
- /usr/include/boost/serialization/unordered_map.hpp:188:13: error: redefinition of ‘template<class Archive, class Key, class HashFcn, class EqualKey, class Allocator> void boost::serialization::load(Archive&, int)’
- inline void load(
- ^
- /usr/include/boost/serialization/unordered_map.hpp:118:13: note: ‘template<class Archive, class Key, class HashFcn, class EqualKey, class Allocator> void boost::serialization::load(Archive&, int)’ previously declared here
- inline void load(
- ^
- /usr/include/boost/serialization/unordered_map.hpp:220:10: error: ‘std::unordered_multimap’ has not been declared
- std::unordered_multimap<
- ^
- /usr/include/boost/serialization/unordered_map.hpp:220:28: error: expected ‘,’ or ‘...’ before ‘<’ token
- std::unordered_multimap<
- ^
- /usr/include/boost/serialization/unordered_map.hpp:218:13: error: redefinition of ‘template<class Archive, class Key, class HashFcn, class EqualKey, class Allocator> void boost::serialization::serialize(Archive&, int)’
- inline void serialize(
- ^
- /usr/include/boost/serialization/unordered_map.hpp:148:13: note: ‘template<class Archive, class Key, class HashFcn, class EqualKey, class Allocator> void boost::serialization::serialize(Archive&, int)’ previously declared here
- inline void serialize(
- ^
- In file included from /usr/local/include/mlpack/core/data/has_serialize.hpp:16:0,
- from /usr/local/include/mlpack/prereqs.hpp:88,
- from /usr/local/include/mlpack/core.hpp:253,
- from streamin_extractor_music.cpp:32:
- /usr/local/include/mlpack/core/util/sfinae_utility.hpp:106:58: error: expected class-name before ‘{’ token
- template<typename U, U> struct SigCheck : std::true_type {};
- ^
- /usr/local/include/mlpack/core/data/has_serialize.hpp:26:1: error: expected unqualified-id before ‘using’
- HAS_EXACT_METHOD_FORM(serialize, HasSerializeCheck);
- ^
- /usr/local/include/mlpack/core/data/has_serialize.hpp:26:1: error: expected nested-name-specifier before ‘yes’
- HAS_EXACT_METHOD_FORM(serialize, HasSerializeCheck);
- ^
- /usr/local/include/mlpack/core/data/has_serialize.hpp:26:1: error: expected nested-name-specifier before ‘no’
- HAS_EXACT_METHOD_FORM(serialize, HasSerializeCheck);
- ^
- /usr/local/include/mlpack/core/data/has_serialize.hpp:26:1: error: expected unqualified-id before ‘using’
- HAS_EXACT_METHOD_FORM(serialize, HasSerializeCheck);
- ^
- /usr/local/include/mlpack/core/data/has_serialize.hpp:26:1: error: ‘EnableIfVoid’ does not name a type
- HAS_EXACT_METHOD_FORM(serialize, HasSerializeCheck);
- ^
- /usr/local/include/mlpack/core/data/has_serialize.hpp:26:1: error: ‘no’ does not name a type
- HAS_EXACT_METHOD_FORM(serialize, HasSerializeCheck);
- ^
- /usr/local/include/mlpack/core/data/has_serialize.hpp:26:1: error: ‘chk’ was not declared in this scope
- HAS_EXACT_METHOD_FORM(serialize, HasSerializeCheck);
- ^
- /usr/local/include/mlpack/core/data/has_serialize.hpp:26:1: error: expected primary-expression before ‘>’ token
- HAS_EXACT_METHOD_FORM(serialize, HasSerializeCheck);
- ^
- /usr/local/include/mlpack/core/data/has_serialize.hpp:26:1: error: ‘yes’ was not declared in this scope
- HAS_EXACT_METHOD_FORM(serialize, HasSerializeCheck);
- ^
- /usr/local/include/mlpack/core/data/has_serialize.hpp:26:1: error: expected nested-name-specifier before ‘type’
- HAS_EXACT_METHOD_FORM(serialize, HasSerializeCheck);
- ^
- /usr/local/include/mlpack/core/data/has_serialize.hpp:26:1: error: ‘type’ has not been declared
- HAS_EXACT_METHOD_FORM(serialize, HasSerializeCheck);
- ^
- In file included from /usr/local/include/mlpack/prereqs.hpp:88:0,
- from /usr/local/include/mlpack/core.hpp:253,
- from streamin_extractor_music.cpp:32:
- /usr/local/include/mlpack/core/data/has_serialize.hpp:34:3: error: expected unqualified-id before ‘using’
- using NonStaticSerialize = void(C::*)(boost::archive::xml_oarchive&,
- ^
- /usr/local/include/mlpack/core/data/has_serialize.hpp:37:3: error: expected unqualified-id before ‘using’
- using StaticSerialize = void(*)(boost::archive::xml_oarchive&,
- ^
- /usr/local/include/mlpack/core/data/has_serialize.hpp:40:50: error: ‘NonStaticSerialize’ was not declared in this scope
- static const bool value = HasSerializeCheck<T, NonStaticSerialize>::value ||
- ^
- /usr/local/include/mlpack/core/data/has_serialize.hpp:40:68: error: template argument 2 is invalid
- static const bool value = HasSerializeCheck<T, NonStaticSerialize>::value ||
- ^
- /usr/local/include/mlpack/core/data/has_serialize.hpp:41:50: error: ‘StaticSerialize’ was not declared in this scope
- HasSerializeCheck<T, StaticSerialize>::value;
- ^
- /usr/local/include/mlpack/core/data/has_serialize.hpp:41:65: error: template argument 2 is invalid
- HasSerializeCheck<T, StaticSerialize>::value;
- ^
- /usr/local/include/mlpack/core/data/has_serialize.hpp:53:27: error: ‘enable_if_t’ in namespace ‘std’ does not name a template type
- typename std::enable_if_t<std::is_class<U>::value>*,
- ^
- /usr/local/include/mlpack/core/data/has_serialize.hpp:53:38: error: expected template-argument before ‘<’ token
- typename std::enable_if_t<std::is_class<U>::value>*,
- ^
- /usr/local/include/mlpack/core/data/has_serialize.hpp:53:38: error: expected ‘>’ before ‘<’ token
- /usr/local/include/mlpack/core/data/has_serialize.hpp:54:71: error: wrong number of template arguments (2, should be 3)
- typename std::enable_if_t<HasSerializeFunction<U>::value>*>*);
- ^
- /usr/local/include/mlpack/core/data/has_serialize.hpp:50:55: note: provided for ‘template<class T> template<class U, class V, class W> struct mlpack::data::HasSerialize<T>::check’
- template<typename U, typename V, typename W> struct check;
- ^
- /usr/local/include/mlpack/core/data/has_serialize.hpp:54:72: error: expected ‘::’ before ‘*’ token
- typename std::enable_if_t<HasSerializeFunction<U>::value>*>*);
- ^
- /usr/local/include/mlpack/core/data/has_serialize.hpp:54:72: error: expected identifier before ‘*’ token
- In file included from /usr/local/include/mlpack/core/util/log.hpp:18:0,
- from /usr/local/include/mlpack/prereqs.hpp:116,
- from /usr/local/include/mlpack/core.hpp:253,
- from streamin_extractor_music.cpp:32:
- /usr/local/include/mlpack/core/util/prefixedoutstream.hpp:136:17: error: ‘enable_if’ in namespace ‘std’ does not name a template type
- typename std::enable_if<!arma::is_arma_type<T>::value>::type
- ^
- /usr/local/include/mlpack/core/util/prefixedoutstream.hpp:136:26: error: expected unqualified-id before ‘<’ token
- typename std::enable_if<!arma::is_arma_type<T>::value>::type
- ^
- /usr/local/include/mlpack/core/util/prefixedoutstream.hpp:150:17: error: ‘enable_if’ in namespace ‘std’ does not name a template type
- typename std::enable_if<arma::is_arma_type<T>::value>::type
- ^
- /usr/local/include/mlpack/core/util/prefixedoutstream.hpp:150:26: error: expected unqualified-id before ‘<’ token
- typename std::enable_if<arma::is_arma_type<T>::value>::type
- ^
- In file included from /usr/local/include/mlpack/core/util/prefixedoutstream.hpp:174:0,
- from /usr/local/include/mlpack/core/util/log.hpp:18,
- from /usr/local/include/mlpack/prereqs.hpp:116,
- from /usr/local/include/mlpack/core.hpp:253,
- from streamin_extractor_music.cpp:32:
- /usr/local/include/mlpack/core/util/prefixedoutstream_impl.hpp: In member function ‘mlpack::util::PrefixedOutStream& mlpack::util::PrefixedOutStream::operator<<(const T&)’:
- /usr/local/include/mlpack/core/util/prefixedoutstream_impl.hpp:32:3: error: ‘BaseLogic’ was not declared in this scope
- BaseLogic<T>(s);
- ^
- /usr/local/include/mlpack/core/util/prefixedoutstream_impl.hpp:32:14: error: expected primary-expression before ‘>’ token
- BaseLogic<T>(s);
- ^
- /usr/local/include/mlpack/core/util/prefixedoutstream_impl.hpp: At global scope:
- /usr/local/include/mlpack/core/util/prefixedoutstream_impl.hpp:38:15: error: ‘enable_if’ in namespace ‘std’ does not name a template type
- typename std::enable_if<!arma::is_arma_type<T>::value>::type
- ^
- /usr/local/include/mlpack/core/util/prefixedoutstream_impl.hpp:38:24: error: expected unqualified-id before ‘<’ token
- typename std::enable_if<!arma::is_arma_type<T>::value>::type
- ^
- /usr/local/include/mlpack/core/util/prefixedoutstream_impl.hpp:146:15: error: ‘enable_if’ in namespace ‘std’ does not name a template type
- typename std::enable_if<arma::is_arma_type<T>::value>::type
- ^
- /usr/local/include/mlpack/core/util/prefixedoutstream_impl.hpp:146:24: error: expected unqualified-id before ‘<’ token
- typename std::enable_if<arma::is_arma_type<T>::value>::type
- ^
- In file included from /usr/local/include/mlpack/prereqs.hpp:117:0,
- from /usr/local/include/mlpack/core.hpp:253,
- from streamin_extractor_music.cpp:32:
- /usr/local/include/mlpack/core/util/timers.hpp:76:15: error: ‘chrono’ in namespace ‘std’ does not name a type
- static std::chrono::microseconds Get(const std::string& name);
- ^
- /usr/local/include/mlpack/core/util/timers.hpp:106:25: error: ‘chrono’ is not a member of ‘std’
- std::map<std::string, std::chrono::microseconds> GetAllTimers();
- ^
- /usr/local/include/mlpack/core/util/timers.hpp:106:25: error: ‘chrono’ is not a member of ‘std’
- /usr/local/include/mlpack/core/util/timers.hpp:106:50: error: template argument 2 is invalid
- std::map<std::string, std::chrono::microseconds> GetAllTimers();
- ^
- /usr/local/include/mlpack/core/util/timers.hpp:106:50: error: template argument 4 is invalid
- /usr/local/include/mlpack/core/util/timers.hpp:120:8: error: ‘chrono’ in namespace ‘std’ does not name a type
- std::chrono::microseconds GetTimer(const std::string& timerName);
- ^
- /usr/local/include/mlpack/core/util/timers.hpp:140:30: error: ‘thread’ in namespace ‘std’ does not name a type
- const std::thread::id& threadId = std::thread::id());
- ^
- /usr/local/include/mlpack/core/util/timers.hpp:140:40: error: expected unqualified-id before ‘&’ token
- const std::thread::id& threadId = std::thread::id());
- ^
- /usr/local/include/mlpack/core/util/timers.hpp:140:40: error: expected ‘)’ before ‘&’ token
- /usr/local/include/mlpack/core/util/timers.hpp:140:38: error: expected ‘;’ at end of member declaration
- const std::thread::id& threadId = std::thread::id());
- ^
- /usr/local/include/mlpack/core/util/timers.hpp:140:69: error: expected ‘;’ at end of member declaration
- const std::thread::id& threadId = std::thread::id());
- ^
- /usr/local/include/mlpack/core/util/timers.hpp:140:70: error: expected unqualified-id before ‘)’ token
- const std::thread::id& threadId = std::thread::id());
- ^
- /usr/local/include/mlpack/core/util/timers.hpp:149:29: error: ‘thread’ in namespace ‘std’ does not name a type
- const std::thread::id& threadId = std::thread::id());
- ^
- /usr/local/include/mlpack/core/util/timers.hpp:149:39: error: expected unqualified-id before ‘&’ token
- const std::thread::id& threadId = std::thread::id());
- ^
- /usr/local/include/mlpack/core/util/timers.hpp:149:39: error: expected ‘)’ before ‘&’ token
- /usr/local/include/mlpack/core/util/timers.hpp:149:37: error: expected ‘;’ at end of member declaration
- const std::thread::id& threadId = std::thread::id());
- ^
- /usr/local/include/mlpack/core/util/timers.hpp:149:68: error: expected ‘;’ at end of member declaration
- const std::thread::id& threadId = std::thread::id());
- ^
- /usr/local/include/mlpack/core/util/timers.hpp:149:68: error: redeclaration of ‘int& mlpack::Timers::threadId’
- /usr/local/include/mlpack/core/util/timers.hpp:140:69: note: previous declaration ‘int& mlpack::Timers::threadId’
- const std::thread::id& threadId = std::thread::id());
- ^
- /usr/local/include/mlpack/core/util/timers.hpp:149:69: error: expected unqualified-id before ‘)’ token
- const std::thread::id& threadId = std::thread::id());
- ^
- /usr/local/include/mlpack/core/util/timers.hpp:158:28: error: ‘thread’ in namespace ‘std’ does not name a type
- const std::thread::id& threadId = std::thread::id());
- ^
- /usr/local/include/mlpack/core/util/timers.hpp:158:38: error: expected unqualified-id before ‘&’ token
- const std::thread::id& threadId = std::thread::id());
- ^
- /usr/local/include/mlpack/core/util/timers.hpp:158:38: error: expected ‘)’ before ‘&’ token
- /usr/local/include/mlpack/core/util/timers.hpp:158:36: error: expected ‘;’ at end of member declaration
- const std::thread::id& threadId = std::thread::id());
- ^
- /usr/local/include/mlpack/core/util/timers.hpp:158:67: error: expected ‘;’ at end of member declaration
- const std::thread::id& threadId = std::thread::id());
- ^
- /usr/local/include/mlpack/core/util/timers.hpp:158:67: error: redeclaration of ‘int& mlpack::Timers::threadId’
- /usr/local/include/mlpack/core/util/timers.hpp:140:69: note: previous declaration ‘int& mlpack::Timers::threadId’
- const std::thread::id& threadId = std::thread::id());
- ^
- /usr/local/include/mlpack/core/util/timers.hpp:158:68: error: expected unqualified-id before ‘)’ token
- const std::thread::id& threadId = std::thread::id());
- ^
- /usr/local/include/mlpack/core/util/timers.hpp:166:8: error: ‘atomic’ in namespace ‘std’ does not name a template type
- std::atomic<bool>& Enabled() { return enabled; }
- ^
- /usr/local/include/mlpack/core/util/timers.hpp:172:25: error: ‘chrono’ is not a member of ‘std’
- std::map<std::string, std::chrono::microseconds> timers;
- ^
- /usr/local/include/mlpack/core/util/timers.hpp:172:25: error: ‘chrono’ is not a member of ‘std’
- /usr/local/include/mlpack/core/util/timers.hpp:172:50: error: template argument 2 is invalid
- std::map<std::string, std::chrono::microseconds> timers;
- ^
- /usr/local/include/mlpack/core/util/timers.hpp:172:50: error: template argument 4 is invalid
- /usr/local/include/mlpack/core/util/timers.hpp:174:8: error: ‘mutex’ in namespace ‘std’ does not name a type
- std::mutex timersMutex;
- ^
- /usr/local/include/mlpack/core/util/timers.hpp:176:12: error: ‘thread’ is not a member of ‘std’
- std::map<std::thread::id, std::map<std::string,
- ^
- /usr/local/include/mlpack/core/util/timers.hpp:176:12: error: ‘thread’ is not a member of ‘std’
- /usr/local/include/mlpack/core/util/timers.hpp:177:56: error: wrong number of template arguments (1, should be at least 2)
- std::chrono::high_resolution_clock::time_point>> timerStartTime;
- ^
- In file included from /usr/include/c++/5/map:61:0,
- from /usr/local/include/essentia/types.h:23,
- from /usr/local/include/essentia/essentia.h:24,
- from streamin_extractor_music.cpp:24:
- /usr/include/c++/5/bits/stl_map.h:96:11: note: provided for ‘template<class _Key, class _Tp, class _Compare, class _Alloc> class std::map’
- class map
- ^
- In file included from /usr/local/include/mlpack/prereqs.hpp:117:0,
- from /usr/local/include/mlpack/core.hpp:253,
- from streamin_extractor_music.cpp:32:
- /usr/local/include/mlpack/core/util/timers.hpp:180:8: error: ‘atomic’ in namespace ‘std’ does not name a template type
- std::atomic<bool> enabled;
- ^
- /usr/local/include/mlpack/core/util/timers.hpp:140:58: error: ‘std::thread’ has not been declared
- const std::thread::id& threadId = std::thread::id());
- ^
- /usr/local/include/mlpack/core/util/timers.hpp:149:57: error: ‘std::thread’ has not been declared
- const std::thread::id& threadId = std::thread::id());
- ^
- /usr/local/include/mlpack/core/util/timers.hpp:158:56: error: ‘std::thread’ has not been declared
- const std::thread::id& threadId = std::thread::id());
- ^
- /usr/local/include/mlpack/core/util/timers.hpp: In constructor ‘mlpack::Timers::Timers()’:
- /usr/local/include/mlpack/core/util/timers.hpp:101:14: error: class ‘mlpack::Timers’ does not have any field named ‘enabled’
- Timers() : enabled(false) { }
- ^
- /usr/local/include/mlpack/core/util/timers.hpp: In member function ‘bool mlpack::Timers::Enabled() const’:
- /usr/local/include/mlpack/core/util/timers.hpp:168:33: error: ‘enabled’ was not declared in this scope
- bool Enabled() const { return enabled; }
- ^
- In file included from /usr/local/include/mlpack/core/util/cli.hpp:27:0,
- from /usr/local/include/mlpack/core.hpp:258,
- from streamin_extractor_music.cpp:32:
- /usr/local/include/mlpack/core/util/program_doc.hpp: At global scope:
- /usr/local/include/mlpack/core/util/program_doc.hpp:41:25: error: ‘function’ in namespace ‘std’ does not name a template type
- const std::function<std::string()>& documentation);
- ^
- /usr/local/include/mlpack/core/util/program_doc.hpp:41:33: error: expected ‘,’ or ‘...’ before ‘<’ token
- const std::function<std::string()>& documentation);
- ^
- /usr/local/include/mlpack/core/util/program_doc.hpp:46:8: error: ‘function’ in namespace ‘std’ does not name a template type
- std::function<std::string()> documentation;
- ^
- In file included from /usr/local/include/mlpack/core/util/cli.hpp:30:0,
- from /usr/local/include/mlpack/core.hpp:258,
- from streamin_extractor_music.cpp:32:
- /usr/local/include/mlpack/core/util/param_data.hpp:32:7: error: expected nested-name-specifier before ‘DatasetInfo’
- using DatasetInfo = DatasetMapper<IncrementPolicy, std::string>;
- ^
- In file included from /usr/local/include/mlpack/core.hpp:258:0,
- from streamin_extractor_music.cpp:32:
- /usr/local/include/mlpack/core/util/cli.hpp:175:34: error: expected ‘,’ or ‘...’ before ‘&&’ token
- static void Add(util::ParamData&& d);
- ^
- /usr/local/include/mlpack/core/util/cli.hpp:289:13: error: ‘*’ cannot appear in a constant-expression
- void (*)(const util::ParamData&, const void*, void*)>> FunctionMapType;
- ^
- /usr/local/include/mlpack/core/util/cli.hpp:289:59: error: ‘>>’ should be ‘> >’ within a nested template argument list
- void (*)(const util::ParamData&, const void*, void*)>> FunctionMapType;
- ^
- /usr/local/include/mlpack/core/util/cli.hpp:294:25: error: ‘tuple’ is not a member of ‘std’
- std::map<std::string, std::tuple<std::map<std::string, util::ParamData>,
- ^
- /usr/local/include/mlpack/core/util/cli.hpp:294:25: error: ‘tuple’ is not a member of ‘std’
- /usr/local/include/mlpack/core/util/cli.hpp:295:51: error: spurious ‘>>’, use ‘>’ to terminate a template argument list
- std::map<char, std::string>, FunctionMapType>> storageMap;
- ^
- /usr/local/include/mlpack/core/util/cli.hpp:295:51: error: template argument 2 is invalid
- In file included from /usr/local/include/mlpack/core/data/dataset_mapper.hpp:21:0,
- from /usr/local/include/mlpack/core/data/load.hpp:22,
- from /usr/local/include/mlpack/core/util/cli_impl.hpp:19,
- from /usr/local/include/mlpack/core/util/cli.hpp:329,
- from /usr/local/include/mlpack/core.hpp:258,
- from streamin_extractor_music.cpp:32:
- /usr/local/include/mlpack/core/data/map_policies/increment_policy.hpp:40:9: error: expected nested-name-specifier before ‘MappedType’
- using MappedType = size_t;
- ^
- /usr/local/include/mlpack/core/data/map_policies/increment_policy.hpp: In member function ‘void mlpack::data::IncrementPolicy::MapFirstPass(const InputType&, size_t, std::vector<mlpack::data::Datatype>&)’:
- /usr/local/include/mlpack/core/data/map_policies/increment_policy.hpp:53:23: error: ‘Datatype’ is not a class or namespace
- if (types[dim] == Datatype::categorical)
- ^
- /usr/local/include/mlpack/core/data/map_policies/increment_policy.hpp:61:20: error: ‘Datatype’ is not a class or namespace
- types[dim] = Datatype::categorical;
- ^
- /usr/local/include/mlpack/core/data/map_policies/increment_policy.hpp:72:22: error: ‘Datatype’ is not a class or namespace
- types[dim] = Datatype::categorical;
- ^
- /usr/local/include/mlpack/core/data/map_policies/increment_policy.hpp: In member function ‘T mlpack::data::IncrementPolicy::MapString(const InputType&, size_t, MapType&, std::vector<mlpack::data::Datatype>&)’:
- /usr/local/include/mlpack/core/data/map_policies/increment_policy.hpp:96:29: error: ‘Datatype’ is not a class or namespace
- if (types[dimension] == Datatype::numeric && !forceAllMappings)
- ^
- /usr/local/include/mlpack/core/data/map_policies/increment_policy.hpp:123:28: error: ‘Datatype’ is not a class or namespace
- types[dimension] = Datatype::categorical;
- ^
- /usr/local/include/mlpack/core/data/map_policies/increment_policy.hpp:125:45: error: ‘MappedType’ was not declared in this scope
- typedef typename std::pair<InputType, MappedType> PairType;
- ^
- /usr/local/include/mlpack/core/data/map_policies/increment_policy.hpp:125:55: error: template argument 2 is invalid
- typedef typename std::pair<InputType, MappedType> PairType;
- ^
- /usr/local/include/mlpack/core/data/map_policies/increment_policy.hpp:125:57: error: ‘PairType’ in namespace ‘std’ does not name a type
- typedef typename std::pair<InputType, MappedType> PairType;
- ^
- In file included from /usr/local/include/mlpack/core/data/load.hpp:22:0,
- from /usr/local/include/mlpack/core/util/cli_impl.hpp:19,
- from /usr/local/include/mlpack/core/util/cli.hpp:329,
- from /usr/local/include/mlpack/core.hpp:258,
- from streamin_extractor_music.cpp:32:
- /usr/local/include/mlpack/core/data/dataset_mapper.hpp: At global scope:
- /usr/local/include/mlpack/core/data/dataset_mapper.hpp:158:25: error: expected ‘,’ or ‘...’ before ‘&&’ token
- void Policy(PolicyType&& policy);
- ^
- /usr/local/include/mlpack/core/data/dataset_mapper.hpp:165:9: error: expected nested-name-specifier before ‘ForwardMapType’
- using ForwardMapType = typename std::unordered_map<InputType, typename
- ^
- /usr/local/include/mlpack/core/data/dataset_mapper.hpp:170:9: error: expected nested-name-specifier before ‘ReverseMapType’
- using ReverseMapType = std::unordered_map<typename PolicyType::MappedType,
- ^
- /usr/local/include/mlpack/core/data/dataset_mapper.hpp:176:9: error: expected nested-name-specifier before ‘MapType’
- using MapType = std::unordered_map<size_t, std::pair<ForwardMapType,
- ^
- /usr/local/include/mlpack/core/data/dataset_mapper.hpp:180:3: error: ‘MapType’ does not name a type
- MapType maps;
- ^
- In file included from /usr/include/boost/serialization/map.hpp:26:0,
- from /usr/local/include/mlpack/prereqs.hpp:79,
- from /usr/local/include/mlpack/core.hpp:253,
- from streamin_extractor_music.cpp:32:
- /usr/local/include/mlpack/core/data/dataset_mapper.hpp: In member function ‘void mlpack::data::DatasetMapper<PolicyType, InputType>::serialize(Archive&, unsigned int)’:
- /usr/local/include/mlpack/core/data/dataset_mapper.hpp:149:10: error: ‘maps’ was not declared in this scope
- ar & BOOST_SERIALIZATION_NVP(maps);
- ^
- In file included from /usr/local/include/mlpack/core/data/load.hpp:22:0,
- from /usr/local/include/mlpack/core/util/cli_impl.hpp:19,
- from /usr/local/include/mlpack/core/util/cli.hpp:329,
- from /usr/local/include/mlpack/core.hpp:258,
- from streamin_extractor_music.cpp:32:
- /usr/local/include/mlpack/core/data/dataset_mapper.hpp: At global scope:
- /usr/local/include/mlpack/core/data/dataset_mapper.hpp:188:7: error: expected nested-name-specifier before ‘DatasetInfo’
- using DatasetInfo = DatasetMapper<data::IncrementPolicy>;
- ^
- In file included from /usr/local/include/mlpack/core/data/dataset_mapper.hpp:193:0,
- from /usr/local/include/mlpack/core/data/load.hpp:22,
- from /usr/local/include/mlpack/core/util/cli_impl.hpp:19,
- from /usr/local/include/mlpack/core/util/cli.hpp:329,
- from /usr/local/include/mlpack/core.hpp:258,
- from streamin_extractor_music.cpp:32:
- /usr/local/include/mlpack/core/data/dataset_mapper_impl.hpp: In constructor ‘mlpack::data::DatasetMapper<PolicyType, InputType>::DatasetMapper(size_t)’:
- /usr/local/include/mlpack/core/data/dataset_mapper_impl.hpp:26:27: error: ‘Datatype’ is not a class or namespace
- types(dimensionality, Datatype::numeric)
- ^
- /usr/local/include/mlpack/core/data/dataset_mapper_impl.hpp: In constructor ‘mlpack::data::DatasetMapper<PolicyType, InputType>::DatasetMapper(PolicyType&, size_t)’:
- /usr/local/include/mlpack/core/data/dataset_mapper_impl.hpp:34:27: error: ‘Datatype’ is not a class or namespace
- types(dimensionality, Datatype::numeric),
- ^
- /usr/local/include/mlpack/core/data/dataset_mapper_impl.hpp:35:12: error: ‘move’ is not a member of ‘std’
- policy(std::move(policy))
- ^
- /usr/local/include/mlpack/core/data/dataset_mapper_impl.hpp: At global scope:
- /usr/local/include/mlpack/core/data/dataset_mapper_impl.hpp:47:25: error: ‘enable_if’ in namespace ‘std’ does not name a template type
- const typename std::enable_if<PolicyType::NeedsFirstPass>::type* = 0)
- ^
- /usr/local/include/mlpack/core/data/dataset_mapper_impl.hpp:47:34: error: expected ‘,’ or ‘...’ before ‘<’ token
- const typename std::enable_if<PolicyType::NeedsFirstPass>::type* = 0)
- ^
- /usr/local/include/mlpack/core/data/dataset_mapper_impl.hpp:59:25: error: ‘enable_if’ in namespace ‘std’ does not name a template type
- const typename std::enable_if<!PolicyType::NeedsFirstPass>::type* = 0)
- ^
- /usr/local/include/mlpack/core/data/dataset_mapper_impl.hpp:59:34: error: expected ‘,’ or ‘...’ before ‘<’ token
- const typename std::enable_if<!PolicyType::NeedsFirstPass>::type* = 0)
- ^
- /usr/local/include/mlpack/core/data/dataset_mapper_impl.hpp:54:6: error: redefinition of ‘template<class PolicyType, class InputType, class T> void mlpack::data::CallMapFirstPass(PolicyType&, const InputType&, size_t, std::vector<mlpack::data::Datatype>&, int)’
- void CallMapFirstPass(
- ^
- /usr/local/include/mlpack/core/data/dataset_mapper_impl.hpp:42:6: note: ‘template<class PolicyType, class InputType, class T> void mlpack::data::CallMapFirstPass(PolicyType&, const InputType&, size_t, std::vector<mlpack::data::Datatype>&, int)’ previously declared here
- void CallMapFirstPass(
- ^
- /usr/local/include/mlpack/core/data/dataset_mapper_impl.hpp: In member function ‘T mlpack::data::DatasetMapper<PolicyType, InputType>::MapString(const InputType&, size_t)’:
- /usr/local/include/mlpack/core/data/dataset_mapper_impl.hpp:81:36: error: ‘MapType’ was not declared in this scope
- return policy.template MapString<MapType, T>(input, dimension, maps, types);
- ^
- /usr/local/include/mlpack/core/data/dataset_mapper_impl.hpp:81:66: error: ‘maps’ was not declared in this scope
- return policy.template MapString<MapType, T>(input, dimension, maps, types);
- ^
- /usr/local/include/mlpack/core/data/dataset_mapper_impl.hpp: In member function ‘const InputType& mlpack::data::DatasetMapper<PolicyType, InputType>::UnmapString(T, size_t, size_t) const’:
- /usr/local/include/mlpack/core/data/dataset_mapper_impl.hpp:125:7: error: ‘nexttoward’ is not a member of ‘std’
- std::nexttoward(std::numeric_limits<T>::max(), T(0)) :
- ^
- /usr/local/include/mlpack/core/data/dataset_mapper_impl.hpp:125:7: note: suggested alternatives:
- In file included from /usr/include/features.h:367:0,
- from /usr/include/x86_64-linux-gnu/c++/5/bits/os_defines.h:39,
- from /usr/include/x86_64-linux-gnu/c++/5/bits/c++config.h:482,
- from /usr/include/c++/5/bits/stl_algobase.h:59,
- from /usr/include/c++/5/bits/stl_tree.h:63,
- from /usr/include/c++/5/map:60,
- from /usr/local/include/essentia/types.h:23,
- from /usr/local/include/essentia/essentia.h:24,
- from streamin_extractor_music.cpp:24:
- /usr/include/x86_64-linux-gnu/bits/mathcalls.h:294:1: note: ‘nexttoward’
- __MATHCALLX (nexttoward,, (_Mdouble_ __x, long double __y), (__const__));
- ^
- In file included from /usr/include/armadillo:76:0,
- from /usr/local/include/mlpack/core/arma_extend/arma_extend.hpp:52,
- from /usr/local/include/mlpack/prereqs.hpp:108,
- from /usr/local/include/mlpack/core.hpp:253,
- from streamin_extractor_music.cpp:32:
- /usr/include/c++/5/tr1/cmath:900:5: note: ‘std::tr1::nexttoward’
- nexttoward(_Tp __x, long double __y)
- ^
- In file included from /usr/local/include/mlpack/core/data/dataset_mapper.hpp:193:0,
- from /usr/local/include/mlpack/core/data/load.hpp:22,
- from /usr/local/include/mlpack/core/util/cli_impl.hpp:19,
- from /usr/local/include/mlpack/core/util/cli.hpp:329,
- from /usr/local/include/mlpack/core.hpp:258,
- from streamin_extractor_music.cpp:32:
- /usr/local/include/mlpack/core/data/dataset_mapper_impl.hpp:129:7: error: ‘maps’ was not declared in this scope
- if (maps.at(dimension).second.count(usedValue) == 0)
- ^
- /usr/local/include/mlpack/core/data/dataset_mapper_impl.hpp:137:25: error: ‘maps’ was not declared in this scope
- if (unmappingIndex >= maps.at(dimension).second.at(usedValue).size())
- ^
- /usr/local/include/mlpack/core/data/dataset_mapper_impl.hpp:147:10: error: ‘maps’ was not declared in this scope
- return maps.at(dimension).second.at(usedValue)[unmappingIndex];
- ^
- /usr/local/include/mlpack/core/data/dataset_mapper_impl.hpp: In member function ‘size_t mlpack::data::DatasetMapper<PolicyType, InputType>::NumUnmappings(T, size_t) const’:
- /usr/local/include/mlpack/core/data/dataset_mapper_impl.hpp:160:24: error: ‘nexttoward’ is not a member of ‘std’
- const T newValue = std::nexttoward(std::numeric_limits<T>::max(), T(0));
- ^
- /usr/local/include/mlpack/core/data/dataset_mapper_impl.hpp:160:24: note: suggested alternatives:
- In file included from /usr/include/features.h:367:0,
- from /usr/include/x86_64-linux-gnu/c++/5/bits/os_defines.h:39,
- from /usr/include/x86_64-linux-gnu/c++/5/bits/c++config.h:482,
- from /usr/include/c++/5/bits/stl_algobase.h:59,
- from /usr/include/c++/5/bits/stl_tree.h:63,
- from /usr/include/c++/5/map:60,
- from /usr/local/include/essentia/types.h:23,
- from /usr/local/include/essentia/essentia.h:24,
- from streamin_extractor_music.cpp:24:
- /usr/include/x86_64-linux-gnu/bits/mathcalls.h:294:1: note: ‘nexttoward’
- __MATHCALLX (nexttoward,, (_Mdouble_ __x, long double __y), (__const__));
- ^
- In file included from /usr/include/armadillo:76:0,
- from /usr/local/include/mlpack/core/arma_extend/arma_extend.hpp:52,
- from /usr/local/include/mlpack/prereqs.hpp:108,
- from /usr/local/include/mlpack/core.hpp:253,
- from streamin_extractor_music.cpp:32:
- /usr/include/c++/5/tr1/cmath:900:5: note: ‘std::tr1::nexttoward’
- nexttoward(_Tp __x, long double __y)
- ^
- In file included from /usr/local/include/mlpack/core/data/dataset_mapper.hpp:193:0,
- from /usr/local/include/mlpack/core/data/load.hpp:22,
- from /usr/local/include/mlpack/core/util/cli_impl.hpp:19,
- from /usr/local/include/mlpack/core/util/cli.hpp:329,
- from /usr/local/include/mlpack/core.hpp:258,
- from streamin_extractor_music.cpp:32:
- /usr/local/include/mlpack/core/data/dataset_mapper_impl.hpp:161:12: error: ‘maps’ was not declared in this scope
- return maps.at(dimension).second.at(newValue).size();
- ^
- /usr/local/include/mlpack/core/data/dataset_mapper_impl.hpp:164:10: error: ‘maps’ was not declared in this scope
- return maps.at(dimension).second.at(value).size();
- ^
- /usr/local/include/mlpack/core/data/dataset_mapper_impl.hpp: In member function ‘typename PolicyType::MappedType mlpack::data::DatasetMapper<PolicyType, InputType>::UnmapValue(const InputType&, size_t)’:
- /usr/local/include/mlpack/core/data/dataset_mapper_impl.hpp:175:7: error: ‘maps’ was not declared in this scope
- if (maps[dimension].first.count(input) == 0)
- ^
- /usr/local/include/mlpack/core/data/dataset_mapper_impl.hpp:183:10: error: ‘maps’ was not declared in this scope
- return maps[dimension].first.at(input);
- ^
- /usr/local/include/mlpack/core/data/dataset_mapper_impl.hpp: In member function ‘mlpack::data::Datatype& mlpack::data::DatasetMapper<PolicyType, InputType>::Type(size_t)’:
- /usr/local/include/mlpack/core/data/dataset_mapper_impl.hpp:207:33: error: ‘Datatype’ is not a class or namespace
- types.resize(dimension + 1, Datatype::numeric);
- ^
- /usr/local/include/mlpack/core/data/dataset_mapper_impl.hpp: In member function ‘size_t mlpack::data::DatasetMapper<PolicyType, InputType>::NumMappings(size_t) const’:
- /usr/local/include/mlpack/core/data/dataset_mapper_impl.hpp:216:11: error: ‘maps’ was not declared in this scope
- return (maps.count(dimension) == 0) ? 0 : maps.at(dimension).first.size();
- ^
- /usr/local/include/mlpack/core/data/dataset_mapper_impl.hpp: At global scope:
- /usr/local/include/mlpack/core/data/dataset_mapper_impl.hpp:238:68: error: expected ‘,’ or ‘...’ before ‘&&’ token
- inline void DatasetMapper<PolicyType, InputType>::Policy(PolicyType&& policy)
- ^
- /usr/local/include/mlpack/core/data/dataset_mapper_impl.hpp: In member function ‘void mlpack::data::DatasetMapper<PolicyType, InputType>::Policy(PolicyType)’:
- /usr/local/include/mlpack/core/data/dataset_mapper_impl.hpp:240:18: error: ‘forward’ is not a member of ‘std’
- this->policy = std::forward<PolicyType>(policy);
- ^
- /usr/local/include/mlpack/core/data/dataset_mapper_impl.hpp:240:41: error: expected primary-expression before ‘>’ token
- this->policy = std::forward<PolicyType>(policy);
- ^
- In file included from /usr/local/include/mlpack/core/util/cli_impl.hpp:19:0,
- from /usr/local/include/mlpack/core/util/cli.hpp:329,
- from /usr/local/include/mlpack/core.hpp:258,
- from streamin_extractor_music.cpp:32:
- /usr/local/include/mlpack/core/data/load.hpp: At global scope:
- /usr/local/include/mlpack/core/data/load.hpp:288:22: error: ‘format’ is not a class or namespace
- format f = format::autodetect);
- ^
- In file included from /usr/local/include/mlpack/core/data/load.hpp:294:0,
- from /usr/local/include/mlpack/core/util/cli_impl.hpp:19,
- from /usr/local/include/mlpack/core/util/cli.hpp:329,
- from /usr/local/include/mlpack/core.hpp:258,
- from streamin_extractor_music.cpp:32:
- /usr/local/include/mlpack/core/data/load_model_impl.hpp: In function ‘bool mlpack::data::Load(const string&, const string&, T&, bool, mlpack::data::format)’:
- /usr/local/include/mlpack/core/data/load_model_impl.hpp:42:12: error: ‘format’ is not a class or namespace
- if (f == format::autodetect)
- ^
- /usr/local/include/mlpack/core/data/load_model_impl.hpp:47:11: error: ‘format’ is not a class or namespace
- f = format::xml;
- ^
- /usr/local/include/mlpack/core/data/load_model_impl.hpp:49:11: error: ‘format’ is not a class or namespace
- f = format::binary;
- ^
- /usr/local/include/mlpack/core/data/load_model_impl.hpp:51:11: error: ‘format’ is not a class or namespace
- f = format::text;
- ^
- /usr/local/include/mlpack/core/data/load_model_impl.hpp:73:39: error: no matching function for call to ‘std::basic_ifstream<char>::open(const string&, const openmode&)’
- ifs.open(filename, std::ifstream::in);
- ^
- In file included from /usr/include/armadillo:23:0,
- from /usr/local/include/mlpack/core/arma_extend/arma_extend.hpp:52,
- from /usr/local/include/mlpack/prereqs.hpp:108,
- from /usr/local/include/mlpack/core.hpp:253,
- from streamin_extractor_music.cpp:32:
- /usr/include/c++/5/fstream:595:7: note: candidate: void std::basic_ifstream<_CharT, _Traits>::open(const char*, std::ios_base::openmode) [with _CharT = char; _Traits = std::char_traits<char>; std::ios_base::openmode = std::_Ios_Openmode]
- open(const char* __s, ios_base::openmode __mode = ios_base::in)
- ^
- /usr/include/c++/5/fstream:595:7: note: no known conversion for argument 1 from ‘const string {aka const std::__cxx11::basic_string<char>}’ to ‘const char*’
- In file included from /usr/local/include/mlpack/core/data/load.hpp:294:0,
- from /usr/local/include/mlpack/core/util/cli_impl.hpp:19,
- from /usr/local/include/mlpack/core/util/cli.hpp:329,
- from /usr/local/include/mlpack/core.hpp:258,
- from streamin_extractor_music.cpp:32:
- /usr/local/include/mlpack/core/data/load_model_impl.hpp:90:14: error: ‘format’ is not a class or namespace
- if (f == format::xml)
- ^
- /usr/local/include/mlpack/core/data/load_model_impl.hpp:95:19: error: ‘format’ is not a class or namespace
- else if (f == format::text)
- ^
- /usr/local/include/mlpack/core/data/load_model_impl.hpp:100:19: error: ‘format’ is not a class or namespace
- else if (f == format::binary)
- ^
- In file included from /usr/local/include/mlpack/core/data/load.hpp:296:0,
- from /usr/local/include/mlpack/core/util/cli_impl.hpp:19,
- from /usr/local/include/mlpack/core/util/cli.hpp:329,
- from /usr/local/include/mlpack/core.hpp:258,
- from streamin_extractor_music.cpp:32:
- /usr/local/include/mlpack/core/data/load_vec_impl.hpp: In function ‘bool mlpack::data::Load(const string&, arma::Col<eT>&, bool)’:
- /usr/local/include/mlpack/core/data/load_vec_impl.hpp:73:34: error: ‘move’ is not a member of ‘std’
- *((arma::Mat<eT>*) &vec) = std::move(tmp);
- ^
- /usr/local/include/mlpack/core/data/load_vec_impl.hpp:81:32: error: ‘move’ is not a member of ‘std’
- *((arma::Mat<eT>*) &vec) = std::move(tmp);
- ^
- /usr/local/include/mlpack/core/data/load_vec_impl.hpp: In function ‘bool mlpack::data::Load(const string&, arma::Row<eT>&, bool)’:
- /usr/local/include/mlpack/core/data/load_vec_impl.hpp:135:37: error: ‘move’ is not a member of ‘std’
- *((arma::Mat<eT>*) &rowvec) = std::move(tmp);
- ^
- /usr/local/include/mlpack/core/data/load_vec_impl.hpp:142:35: error: ‘move’ is not a member of ‘std’
- *((arma::Mat<eT>*) &rowvec) = std::move(tmp);
- ^
- In file included from /usr/local/include/mlpack/core/util/cli_impl.hpp:20:0,
- from /usr/local/include/mlpack/core/util/cli.hpp:329,
- from /usr/local/include/mlpack/core.hpp:258,
- from streamin_extractor_music.cpp:32:
- /usr/local/include/mlpack/core/data/save.hpp: At global scope:
- /usr/local/include/mlpack/core/data/save.hpp:91:22: error: ‘format’ is not a class or namespace
- format f = format::autodetect);
- ^
- In file included from /usr/local/include/mlpack/core/data/save.hpp:97:0,
- from /usr/local/include/mlpack/core/util/cli_impl.hpp:20,
- from /usr/local/include/mlpack/core/util/cli.hpp:329,
- from /usr/local/include/mlpack/core.hpp:258,
- from streamin_extractor_music.cpp:32:
- /usr/local/include/mlpack/core/data/save_impl.hpp: In function ‘bool mlpack::data::Save(const string&, const string&, T&, bool, mlpack::data::format)’:
- /usr/local/include/mlpack/core/data/save_impl.hpp:208:12: error: ‘format’ is not a class or namespace
- if (f == format::autodetect)
- ^
- /usr/local/include/mlpack/core/data/save_impl.hpp:213:11: error: ‘format’ is not a class or namespace
- f = format::xml;
- ^
- /usr/local/include/mlpack/core/data/save_impl.hpp:215:11: error: ‘format’ is not a class or namespace
- f = format::binary;
- ^
- /usr/local/include/mlpack/core/data/save_impl.hpp:217:11: error: ‘format’ is not a class or namespace
- f = format::text;
- ^
- /usr/local/include/mlpack/core/data/save_impl.hpp:240:40: error: no matching function for call to ‘std::basic_ofstream<char>::open(const string&, const openmode&)’
- ofs.open(filename, std::ofstream::out);
- ^
- In file included from /usr/include/armadillo:23:0,
- from /usr/local/include/mlpack/core/arma_extend/arma_extend.hpp:52,
- from /usr/local/include/mlpack/prereqs.hpp:108,
- from /usr/local/include/mlpack/core.hpp:253,
- from streamin_extractor_music.cpp:32:
- /usr/include/c++/5/fstream:799:7: note: candidate: void std::basic_ofstream<_CharT, _Traits>::open(const char*, std::ios_base::openmode) [with _CharT = char; _Traits = std::char_traits<char>; std::ios_base::openmode = std::_Ios_Openmode]
- open(const char* __s,
- ^
- /usr/include/c++/5/fstream:799:7: note: no known conversion for argument 1 from ‘const string {aka const std::__cxx11::basic_string<char>}’ to ‘const char*’
- In file included from /usr/local/include/mlpack/core/data/save.hpp:97:0,
- from /usr/local/include/mlpack/core/util/cli_impl.hpp:20,
- from /usr/local/include/mlpack/core/util/cli.hpp:329,
- from /usr/local/include/mlpack/core.hpp:258,
- from streamin_extractor_music.cpp:32:
- /usr/local/include/mlpack/core/data/save_impl.hpp:257:14: error: ‘format’ is not a class or namespace
- if (f == format::xml)
- ^
- /usr/local/include/mlpack/core/data/save_impl.hpp:262:19: error: ‘format’ is not a class or namespace
- else if (f == format::text)
- ^
- /usr/local/include/mlpack/core/data/save_impl.hpp:267:19: error: ‘format’ is not a class or namespace
- else if (f == format::binary)
- ^
- In file included from /usr/local/include/mlpack/core.hpp:264:0,
- from streamin_extractor_music.cpp:32:
- /usr/local/include/mlpack/core/math/random.hpp: At global scope:
- /usr/local/include/mlpack/core/math/random.hpp:27:27: error: ‘mt19937’ in namespace ‘std’ does not name a type
- extern MLPACK_EXPORT std::mt19937 randGen;
- ^
- /usr/local/include/mlpack/core/math/random.hpp:29:27: error: ‘uniform_real_distribution’ in namespace ‘std’ does not name a template type
- extern MLPACK_EXPORT std::uniform_real_distribution<> randUniformDist;
- ^
- /usr/local/include/mlpack/core/math/random.hpp:31:27: error: ‘normal_distribution’ in namespace ‘std’ does not name a template type
- extern MLPACK_EXPORT std::normal_distribution<> randNormalDist;
- ^
- /usr/local/include/mlpack/core/math/random.hpp: In function ‘void mlpack::math::FixedRandomSeed()’:
- /usr/local/include/mlpack/core/math/random.hpp:62:3: error: ‘randGen’ was not declared in this scope
- randGen.seed((uint32_t) seed);
- ^
- /usr/local/include/mlpack/core/math/random.hpp: In function ‘double mlpack::math::Random()’:
- /usr/local/include/mlpack/core/math/random.hpp:73:26: error: ‘randGen’ was not declared in this scope
- return randUniformDist(randGen);
- ^
- /usr/local/include/mlpack/core/math/random.hpp:73:33: error: ‘randUniformDist’ was not declared in this scope
- return randUniformDist(randGen);
- ^
- /usr/local/include/mlpack/core/math/random.hpp: In function ‘double mlpack::math::Random(double, double)’:
- /usr/local/include/mlpack/core/math/random.hpp:81:43: error: ‘randGen’ was not declared in this scope
- return lo + (hi - lo) * randUniformDist(randGen);
- ^
- /usr/local/include/mlpack/core/math/random.hpp:81:50: error: ‘randUniformDist’ was not declared in this scope
- return lo + (hi - lo) * randUniformDist(randGen);
- ^
- /usr/local/include/mlpack/core/math/random.hpp: In function ‘int mlpack::math::RandInt(int)’:
- /usr/local/include/mlpack/core/math/random.hpp:89:66: error: ‘randGen’ was not declared in this scope
- return (int) std::floor((double) hiExclusive * randUniformDist(randGen));
- ^
- /usr/local/include/mlpack/core/math/random.hpp:89:73: error: ‘randUniformDist’ was not declared in this scope
- return (int) std::floor((double) hiExclusive * randUniformDist(randGen));
- ^
- /usr/local/include/mlpack/core/math/random.hpp: In function ‘int mlpack::math::RandInt(int, int)’:
- /usr/local/include/mlpack/core/math/random.hpp:98:50: error: ‘randGen’ was not declared in this scope
- * randUniformDist(randGen));
- ^
- /usr/local/include/mlpack/core/math/random.hpp:98:57: error: ‘randUniformDist’ was not declared in this scope
- * randUniformDist(randGen));
- ^
- /usr/local/include/mlpack/core/math/random.hpp: In function ‘double mlpack::math::RandNormal()’:
- /usr/local/include/mlpack/core/math/random.hpp:106:25: error: ‘randGen’ was not declared in this scope
- return randNormalDist(randGen);
- ^
- /usr/local/include/mlpack/core/math/random.hpp:106:32: error: ‘randNormalDist’ was not declared in this scope
- return randNormalDist(randGen);
- ^
- /usr/local/include/mlpack/core/math/random.hpp: In function ‘double mlpack::math::RandNormal(double, double)’:
- /usr/local/include/mlpack/core/math/random.hpp:118:36: error: ‘randGen’ was not declared in this scope
- return variance * randNormalDist(randGen) + mean;
- ^
- /usr/local/include/mlpack/core/math/random.hpp:118:43: error: ‘randNormalDist’ was not declared in this scope
- return variance * randNormalDist(randGen) + mean;
- ^
- In file included from /usr/local/include/mlpack/core.hpp:269:0,
- from streamin_extractor_music.cpp:32:
- /usr/local/include/mlpack/core/math/shuffle_data.hpp: At global scope:
- /usr/local/include/mlpack/core/math/shuffle_data.hpp:32:29: error: ‘enable_if_t’ in namespace ‘std’ does not name a template type
- const std::enable_if_t<!arma::is_SpMat<MatType>::value>* = 0,
- ^
- /usr/local/include/mlpack/core/math/shuffle_data.hpp:32:40: error: expected ‘,’ or ‘...’ before ‘<’ token
- const std::enable_if_t<!arma::is_SpMat<MatType>::value>* = 0,
- ^
- /usr/local/include/mlpack/core/math/shuffle_data.hpp:55:29: error: ‘enable_if_t’ in namespace ‘std’ does not name a template type
- const std::enable_if_t<arma::is_SpMat<MatType>::value>* = 0,
- ^
- /usr/local/include/mlpack/core/math/shuffle_data.hpp:55:40: error: expected ‘,’ or ‘...’ before ‘<’ token
- const std::enable_if_t<arma::is_SpMat<MatType>::value>* = 0,
- ^
- /usr/local/include/mlpack/core/math/shuffle_data.hpp:51:6: error: redefinition of ‘template<class MatType, class LabelsType> void mlpack::math::ShuffleData(const MatType&, const LabelsType&, MatType&, LabelsType&, int)’
- void ShuffleData(const MatType& inputPoints,
- ^
- /usr/local/include/mlpack/core/math/shuffle_data.hpp:28:6: note: ‘template<class MatType, class LabelsType> void mlpack::math::ShuffleData(const MatType&, const LabelsType&, MatType&, LabelsType&, int)’ previously declared here
- void ShuffleData(const MatType& inputPoints,
- ^
- /usr/local/include/mlpack/core/math/shuffle_data.hpp:107:29: error: ‘enable_if_t’ in namespace ‘std’ does not name a template type
- const std::enable_if_t<!arma::is_SpMat<MatType>::value>* = 0,
- ^
- /usr/local/include/mlpack/core/math/shuffle_data.hpp:107:40: error: expected ‘,’ or ‘...’ before ‘<’ token
- const std::enable_if_t<!arma::is_SpMat<MatType>::value>* = 0,
- ^
- /usr/local/include/mlpack/core/math/shuffle_data.hpp:103:6: error: redefinition of ‘template<class MatType, class LabelsType> void mlpack::math::ShuffleData(const MatType&, const LabelsType&, MatType&, LabelsType&, int)’
- void ShuffleData(const MatType& inputPoints,
- ^
- /usr/local/include/mlpack/core/math/shuffle_data.hpp:28:6: note: ‘template<class MatType, class LabelsType> void mlpack::math::ShuffleData(const MatType&, const LabelsType&, MatType&, LabelsType&, int)’ previously declared here
- void ShuffleData(const MatType& inputPoints,
- ^
- /usr/local/include/mlpack/core/math/shuffle_data.hpp:166:29: error: ‘enable_if_t’ in namespace ‘std’ does not name a template type
- const std::enable_if_t<!arma::is_SpMat<MatType>::value>* = 0,
- ^
- /usr/local/include/mlpack/core/math/shuffle_data.hpp:166:40: error: expected ‘,’ or ‘...’ before ‘<’ token
- const std::enable_if_t<!arma::is_SpMat<MatType>::value>* = 0,
- ^
- /usr/local/include/mlpack/core/math/shuffle_data.hpp:194:29: error: ‘enable_if_t’ in namespace ‘std’ does not name a template type
- const std::enable_if_t<arma::is_SpMat<MatType>::value>* = 0,
- ^
- /usr/local/include/mlpack/core/math/shuffle_data.hpp:194:40: error: expected ‘,’ or ‘...’ before ‘<’ token
- const std::enable_if_t<arma::is_SpMat<MatType>::value>* = 0,
- ^
- /usr/local/include/mlpack/core/math/shuffle_data.hpp:188:6: error: redefinition of ‘template<class MatType, class LabelsType, class WeightsType> void mlpack::math::ShuffleData(const MatType&, const LabelsType&, const WeightsType&, MatType&, LabelsType&, WeightsType&, int)’
- void ShuffleData(const MatType& inputPoints,
- ^
- /usr/local/include/mlpack/core/math/shuffle_data.hpp:160:6: note: ‘template<class MatType, class LabelsType, class WeightsType> void mlpack::math::ShuffleData(const MatType&, const LabelsType&, const WeightsType&, MatType&, LabelsType&, WeightsType&, int)’ previously declared here
- void ShuffleData(const MatType& inputPoints,
- ^
- In file included from /usr/local/include/mlpack/core.hpp:272:0,
- from streamin_extractor_music.cpp:32:
- /usr/local/include/mlpack/core/dists/gaussian_distribution.hpp:39:16: error: ‘constexpr’ does not name a type
- static const constexpr double log2pi = 1.83787706640934533908193770912475883;
- ^
- /usr/local/include/mlpack/core/dists/gaussian_distribution.hpp:39:16: note: C++11 ‘constexpr’ only available with -std=c++11 or -std=gnu++11
- /usr/local/include/mlpack/core/dists/gaussian_distribution.hpp:143:28: error: expected ‘,’ or ‘...’ before ‘&&’ token
- void Covariance(arma::mat&& covariance);
- ^
- /usr/local/include/mlpack/core/dists/gaussian_distribution.hpp: In member function ‘void mlpack::distribution::GaussianDistribution::LogProbability(const mat&, arma::vec&) const’:
- /usr/local/include/mlpack/core/dists/gaussian_distribution.hpp:193:33: error: ‘log2pi’ was not declared in this scope
- logProbabilities = -0.5 * k * log2pi - 0.5 * logDetCov + logExponents;
- ^
- In file included from /usr/local/include/mlpack/core.hpp:291:0,
- from streamin_extractor_music.cpp:32:
- /usr/local/include/mlpack/core/kernels/spherical_kernel.hpp: In member function ‘double mlpack::kernel::SphericalKernel::Normalizer(size_t) const’:
- /usr/local/include/mlpack/core/kernels/spherical_kernel.hpp:91:9: error: ‘tgamma’ is not a member of ‘std’
- std::tgamma(dimension / 2.0 + 1.0);
- ^
- /usr/local/include/mlpack/core/kernels/spherical_kernel.hpp:91:9: note: suggested alternatives:
- In file included from /usr/include/features.h:367:0,
- from /usr/include/x86_64-linux-gnu/c++/5/bits/os_defines.h:39,
- from /usr/include/x86_64-linux-gnu/c++/5/bits/c++config.h:482,
- from /usr/include/c++/5/bits/stl_algobase.h:59,
- from /usr/include/c++/5/bits/stl_tree.h:63,
- from /usr/include/c++/5/map:60,
- from /usr/local/include/essentia/types.h:23,
- from /usr/local/include/essentia/essentia.h:24,
- from streamin_extractor_music.cpp:24:
- /usr/include/x86_64-linux-gnu/bits/mathcalls.h:268:1: note: ‘tgamma’
- __MATHCALL (tgamma,, (_Mdouble_));
- ^
- In file included from /usr/include/armadillo:76:0,
- from /usr/local/include/mlpack/core/arma_extend/arma_extend.hpp:52,
- from /usr/local/include/mlpack/prereqs.hpp:108,
- from /usr/local/include/mlpack/core.hpp:253,
- from streamin_extractor_music.cpp:32:
- /usr/include/c++/5/tr1/cmath:1022:5: note: ‘std::tr1::tgamma’
- tgamma(_Tp __x)
- ^
- In file included from /usr/local/include/mlpack/core/kernels/spherical_kernel.hpp:13:0,
- from /usr/local/include/mlpack/core.hpp:291,
- from streamin_extractor_music.cpp:32:
- /usr/include/boost/math/special_functions/gamma.hpp:1854:4: note: ‘boost::math::tgamma’
- tgamma(T1 a, T2 z, const Policy& pol)
- ^
- /usr/include/boost/math/special_functions/gamma.hpp:1757:4: note: ‘boost::math::detail::tgamma’
- tgamma(T1 a, T2 z, const mpl::false_ tag)
- ^
- In file included from /usr/local/include/mlpack/methods/decision_tree/all_categorical_split.hpp:95:0,
- from /usr/local/include/mlpack/methods/decision_tree/decision_tree.hpp:19,
- from /usr/local/include/mlpack/methods/random_forest/random_forest.hpp:15,
- from streamin_extractor_music.cpp:33:
- /usr/local/include/mlpack/methods/decision_tree/all_categorical_split_impl.hpp: In static member function ‘static double mlpack::tree::AllCategoricalSplit<FitnessFunction>::SplitIfBetter(double, const VecType&, size_t, const arma::Row<long unsigned int>&, size_t, const WeightVecType&, size_t, double, arma::Col<typename VecType::elem_type>&, mlpack::tree::AllCategoricalSplit<FitnessFunction>::AuxiliarySplitInfo<typename VecType::elem_type>&)’:
- /usr/local/include/mlpack/methods/decision_tree/all_categorical_split_impl.hpp:61:31: error: ‘>>’ should be ‘> >’ within a nested template argument list
- std::vector<arma::Row<size_t>> childLabels(numCategories);
- ^
- /usr/local/include/mlpack/methods/decision_tree/all_categorical_split_impl.hpp:62:31: error: ‘>>’ should be ‘> >’ within a nested template argument list
- std::vector<arma::Row<double>> childWeights(numCategories);
- ^
- In file included from /usr/local/include/mlpack/methods/random_forest/random_forest.hpp:15:0,
- from streamin_extractor_music.cpp:33:
- /usr/local/include/mlpack/methods/decision_tree/decision_tree.hpp: At global scope:
- /usr/local/include/mlpack/methods/decision_tree/decision_tree.hpp:67:23: error: expected ‘,’ or ‘...’ before ‘&&’ token
- DecisionTree(MatType&& data,
- ^
- /usr/local/include/mlpack/methods/decision_tree/decision_tree.hpp:87:23: error: expected ‘,’ or ‘...’ before ‘&&’ token
- DecisionTree(MatType&& data,
- ^
- /usr/local/include/mlpack/methods/decision_tree/decision_tree.hpp:87:3: error: ‘template<class FitnessFunction, template<class> class NumericSplitType, template<class> class CategoricalSplitType, class DimensionSelectionType, class ElemType, bool NoRecursion> template<class MatType, class LabelsType> mlpack::tree::DecisionTree<FitnessFunction, NumericSplitType, CategoricalSplitType, DimensionSelectionType, ElemType, NoRecursion>::DecisionTree(MatType)’ cannot be overloaded
- DecisionTree(MatType&& data,
- ^
- /usr/local/include/mlpack/methods/decision_tree/decision_tree.hpp:67:3: error: with ‘template<class FitnessFunction, template<class> class NumericSplitType, template<class> class CategoricalSplitType, class DimensionSelectionType, class ElemType, bool NoRecursion> template<class MatType, class LabelsType> mlpack::tree::DecisionTree<FitnessFunction, NumericSplitType, CategoricalSplitType, DimensionSelectionType, ElemType, NoRecursion>::DecisionTree(MatType)’
- DecisionTree(MatType&& data,
- ^
- /usr/local/include/mlpack/methods/decision_tree/decision_tree.hpp:108:23: error: expected ‘,’ or ‘...’ before ‘&&’ token
- DecisionTree(MatType&& data,
- ^
- /usr/local/include/mlpack/methods/decision_tree/decision_tree.hpp:133:23: error: expected ‘,’ or ‘...’ before ‘&&’ token
- DecisionTree(MatType&& data,
- ^
- /usr/local/include/mlpack/methods/decision_tree/decision_tree.hpp:133:3: error: ‘template<class FitnessFunction, template<class> class NumericSplitType, template<class> class CategoricalSplitType, class DimensionSelectionType, class ElemType, bool NoRecursion> template<class MatType, class LabelsType, class WeightsType> mlpack::tree::DecisionTree<FitnessFunction, NumericSplitType, CategoricalSplitType, DimensionSelectionType, ElemType, NoRecursion>::DecisionTree(MatType)’ cannot be overloaded
- DecisionTree(MatType&& data,
- ^
- /usr/local/include/mlpack/methods/decision_tree/decision_tree.hpp:108:3: error: with ‘template<class FitnessFunction, template<class> class NumericSplitType, template<class> class CategoricalSplitType, class DimensionSelectionType, class ElemType, bool NoRecursion> template<class MatType, class LabelsType, class WeightsType> mlpack::tree::DecisionTree<FitnessFunction, NumericSplitType, CategoricalSplitType, DimensionSelectionType, ElemType, NoRecursion>::DecisionTree(MatType)’
- DecisionTree(MatType&& data,
- ^
- /usr/local/include/mlpack/methods/decision_tree/decision_tree.hpp:165:28: error: expected ‘,’ or ‘...’ before ‘&&’ token
- DecisionTree(DecisionTree&& other);
- ^
- /usr/local/include/mlpack/methods/decision_tree/decision_tree.hpp:165:36: error: invalid constructor; you probably meant ‘mlpack::tree::DecisionTree<FitnessFunction, NumericSplitType, CategoricalSplitType, DimensionSelectionType, ElemType, NoRecursion> (const mlpack::tree::DecisionTree<FitnessFunction, NumericSplitType, CategoricalSplitType, DimensionSelectionType, ElemType, NoRecursion>&)’
- DecisionTree(DecisionTree&& other);
- ^
- /usr/local/include/mlpack/methods/decision_tree/decision_tree.hpp:180:39: error: expected ‘,’ or ‘...’ before ‘&&’ token
- DecisionTree& operator=(DecisionTree&& other);
- ^
- /usr/local/include/mlpack/methods/decision_tree/decision_tree.hpp:203:21: error: expected ‘,’ or ‘...’ before ‘&&’ token
- void Train(MatType&& data,
- ^
- /usr/local/include/mlpack/methods/decision_tree/decision_tree.hpp:224:21: error: expected ‘,’ or ‘...’ before ‘&&’ token
- void Train(MatType&& data,
- ^
- /usr/local/include/mlpack/methods/decision_tree/decision_tree.hpp:224:8: error: ‘template<class FitnessFunction, template<class> class NumericSplitType, template<class> class CategoricalSplitType, class DimensionSelectionType, class ElemType, bool NoRecursion> template<class MatType, class LabelsType> void mlpack::tree::DecisionTree<FitnessFunction, NumericSplitType, CategoricalSplitType, DimensionSelectionType, ElemType, NoRecursion>::Train(MatType)’ cannot be overloaded
- void Train(MatType&& data,
- ^
- /usr/local/include/mlpack/methods/decision_tree/decision_tree.hpp:203:8: error: with ‘template<class FitnessFunction, template<class> class NumericSplitType, template<class> class CategoricalSplitType, class DimensionSelectionType, class ElemType, bool NoRecursion> template<class MatType, class LabelsType> void mlpack::tree::DecisionTree<FitnessFunction, NumericSplitType, CategoricalSplitType, DimensionSelectionType, ElemType, NoRecursion>::Train(MatType)’
- void Train(MatType&& data,
- ^
- /usr/local/include/mlpack/methods/decision_tree/decision_tree.hpp:246:21: error: expected ‘,’ or ‘...’ before ‘&&’ token
- void Train(MatType&& data,
- ^
- /usr/local/include/mlpack/methods/decision_tree/decision_tree.hpp:270:21: error: expected ‘,’ or ‘...’ before ‘&&’ token
- void Train(MatType&& data,
- ^
- /usr/local/include/mlpack/methods/decision_tree/decision_tree.hpp:270:8: error: ‘template<class FitnessFunction, template<class> class NumericSplitType, template<class> class CategoricalSplitType, class DimensionSelectionType, class ElemType, bool NoRecursion> template<class MatType, class LabelsType, class WeightsType> void mlpack::tree::DecisionTree<FitnessFunction, NumericSplitType, CategoricalSplitType, DimensionSelectionType, ElemType, NoRecursion>::Train(MatType)’ cannot be overloaded
- void Train(MatType&& data,
- ^
- /usr/local/include/mlpack/methods/decision_tree/decision_tree.hpp:246:8: error: with ‘template<class FitnessFunction, template<class> class NumericSplitType, template<class> class CategoricalSplitType, class DimensionSelectionType, class ElemType, bool NoRecursion> template<class MatType, class LabelsType, class WeightsType> void mlpack::tree::DecisionTree<FitnessFunction, NumericSplitType, CategoricalSplitType, DimensionSelectionType, ElemType, NoRecursion>::Train(MatType)’
- void Train(MatType&& data,
- ^
- /usr/local/include/mlpack/methods/decision_tree/decision_tree.hpp:409:26: error: ‘DatasetInfo’ in namespace ‘mlpack::data’ does not name a type
- const data::DatasetInfo& datasetInfo,
- ^
- /usr/local/include/mlpack/methods/decision_tree/decision_tree.hpp:449:1: error: expected unqualified-id before ‘using’
- using DecisionStump = DecisionTree<FitnessFunction,
- ^
- In file included from /usr/local/include/mlpack/methods/decision_tree/decision_tree.hpp:460:0,
- from /usr/local/include/mlpack/methods/random_forest/random_forest.hpp:15,
- from streamin_extractor_music.cpp:33:
- /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:31:48: error: expected ‘,’ or ‘...’ before ‘&&’ token
- NoRecursion>::DecisionTree(MatType&& data,
- ^
- /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp: In constructor ‘mlpack::tree::DecisionTree<FitnessFunction, NumericSplitType, CategoricalSplitType, DimensionSelectionType, ElemType, NoRecursion>::DecisionTree(MatType)’:
- /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:38:9: error: expected nested-name-specifier before ‘TrueMatType’
- using TrueMatType = typename std::decay<MatType>::type;
- ^
- /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:39:9: error: expected nested-name-specifier before ‘TrueLabelsType’
- using TrueLabelsType = typename std::decay<LabelsType>::type;
- ^
- /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:42:3: error: ‘TrueMatType’ was not declared in this scope
- TrueMatType tmpData(std::forward<MatType>(data));
- ^
- /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:43:3: error: ‘TrueLabelsType’ was not declared in this scope
- TrueLabelsType tmpLabels(std::forward<LabelsType>(labels));
- ^
- /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:47:16: error: ‘tmpData’ was not declared in this scope
- Train<false>(tmpData, 0, tmpData.n_cols, datasetInfo, tmpLabels, numClasses,
- ^
- /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:47:44: error: ‘datasetInfo’ was not declared in this scope
- Train<false>(tmpData, 0, tmpData.n_cols, datasetInfo, tmpLabels, numClasses,
- ^
- /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:47:57: error: ‘tmpLabels’ was not declared in this scope
- Train<false>(tmpData, 0, tmpData.n_cols, datasetInfo, tmpLabels, numClasses,
- ^
- /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:47:68: error: ‘numClasses’ was not declared in this scope
- Train<false>(tmpData, 0, tmpData.n_cols, datasetInfo, tmpLabels, numClasses,
- ^
- /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:48:16: error: ‘minimumLeafSize’ was not declared in this scope
- weights, minimumLeafSize, minimumGainSplit);
- ^
- /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:48:33: error: ‘minimumGainSplit’ was not declared in this scope
- weights, minimumLeafSize, minimumGainSplit);
- ^
- /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp: At global scope:
- /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:64:48: error: expected ‘,’ or ‘...’ before ‘&&’ token
- NoRecursion>::DecisionTree(MatType&& data,
- ^
- /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:59:1: error: redefinition of ‘mlpack::tree::DecisionTree<FitnessFunction, NumericSplitType, CategoricalSplitType, DimensionSelectionType, ElemType, NoRecursion>::DecisionTree(MatType)’
- DecisionTree<FitnessFunction,
- ^
- /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:26:1: note: ‘mlpack::tree::DecisionTree<FitnessFunction, NumericSplitType, CategoricalSplitType, DimensionSelectionType, ElemType, NoRecursion>::DecisionTree(MatType)’ previously declared here
- DecisionTree<FitnessFunction,
- ^
- /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:96:48: error: expected ‘,’ or ‘...’ before ‘&&’ token
- NoRecursion>::DecisionTree(MatType&& data,
- ^
- /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp: In constructor ‘mlpack::tree::DecisionTree<FitnessFunction, NumericSplitType, CategoricalSplitType, DimensionSelectionType, ElemType, NoRecursion>::DecisionTree(MatType)’:
- /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:108:9: error: expected nested-name-specifier before ‘TrueMatType’
- using TrueMatType = typename std::decay<MatType>::type;
- ^
- /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:109:9: error: expected nested-name-specifier before ‘TrueLabelsType’
- using TrueLabelsType = typename std::decay<LabelsType>::type;
- ^
- /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:110:9: error: expected nested-name-specifier before ‘TrueWeightsType’
- using TrueWeightsType = typename std::decay<WeightsType>::type;
- ^
- /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:113:3: error: ‘TrueMatType’ was not declared in this scope
- TrueMatType tmpData(std::forward<MatType>(data));
- ^
- /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:114:3: error: ‘TrueLabelsType’ was not declared in this scope
- TrueLabelsType tmpLabels(std::forward<LabelsType>(labels));
- ^
- /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:115:3: error: ‘TrueWeightsType’ was not declared in this scope
- TrueWeightsType tmpWeights(std::forward<WeightsType>(weights));
- ^
- /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:118:15: error: ‘tmpData’ was not declared in this scope
- Train<true>(tmpData, 0, tmpData.n_cols, datasetInfo, tmpLabels, numClasses,
- ^
- /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:118:43: error: ‘datasetInfo’ was not declared in this scope
- Train<true>(tmpData, 0, tmpData.n_cols, datasetInfo, tmpLabels, numClasses,
- ^
- /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:118:56: error: ‘tmpLabels’ was not declared in this scope
- Train<true>(tmpData, 0, tmpData.n_cols, datasetInfo, tmpLabels, numClasses,
- ^
- /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:118:67: error: ‘numClasses’ was not declared in this scope
- Train<true>(tmpData, 0, tmpData.n_cols, datasetInfo, tmpLabels, numClasses,
- ^
- /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:119:7: error: ‘tmpWeights’ was not declared in this scope
- tmpWeights, minimumLeafSize, minimumGainSplit);
- ^
- /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:119:19: error: ‘minimumLeafSize’ was not declared in this scope
- tmpWeights, minimumLeafSize, minimumGainSplit);
- ^
- /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:119:36: error: ‘minimumGainSplit’ was not declared in this scope
- tmpWeights, minimumLeafSize, minimumGainSplit);
- ^
- /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp: At global scope:
- /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:135:48: error: expected ‘,’ or ‘...’ before ‘&&’ token
- NoRecursion>::DecisionTree(MatType&& data,
- ^
- /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:130:1: error: redefinition of ‘mlpack::tree::DecisionTree<FitnessFunction, NumericSplitType, CategoricalSplitType, DimensionSelectionType, ElemType, NoRecursion>::DecisionTree(MatType)’
- DecisionTree<FitnessFunction,
- ^
- /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:91:1: note: ‘mlpack::tree::DecisionTree<FitnessFunction, NumericSplitType, CategoricalSplitType, DimensionSelectionType, ElemType, NoRecursion>::DecisionTree(MatType)’ previously declared here
- DecisionTree<FitnessFunction,
- ^
- /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:217:53: error: expected ‘,’ or ‘...’ before ‘&&’ token
- NoRecursion>::DecisionTree(DecisionTree&& other) :
- ^
- /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:212:1: error: prototype for ‘mlpack::tree::DecisionTree<FitnessFunction, NumericSplitType, CategoricalSplitType, DimensionSelectionType, ElemType, NoRecursion>::DecisionTree(mlpack::tree::DecisionTree<FitnessFunction, NumericSplitType, CategoricalSplitType, DimensionSelectionType, ElemType, NoRecursion>)’ does not match any in class ‘mlpack::tree::DecisionTree<FitnessFunction, NumericSplitType, CategoricalSplitType, DimensionSelectionType, ElemType, NoRecursion>’
- DecisionTree<FitnessFunction,
- ^
- /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:188:1: error: candidates are: mlpack::tree::DecisionTree<FitnessFunction, NumericSplitType, CategoricalSplitType, DimensionSelectionType, ElemType, NoRecursion>::DecisionTree(const mlpack::tree::DecisionTree<FitnessFunction, NumericSplitType, CategoricalSplitType, DimensionSelectionType, ElemType, NoRecursion>&)
- DecisionTree<FitnessFunction,
- ^
- /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:167:1: error: mlpack::tree::DecisionTree<FitnessFunction, NumericSplitType, CategoricalSplitType, DimensionSelectionType, ElemType, NoRecursion>::DecisionTree(size_t)
- DecisionTree<FitnessFunction,
- ^
- In file included from /usr/local/include/mlpack/methods/random_forest/random_forest.hpp:15:0,
- from streamin_extractor_music.cpp:33:
- /usr/local/include/mlpack/methods/decision_tree/decision_tree.hpp:108:3: error: template<class FitnessFunction, template<class> class NumericSplitType, template<class> class CategoricalSplitType, class DimensionSelectionType, class ElemType, bool NoRecursion> template<class MatType, class LabelsType, class WeightsType> mlpack::tree::DecisionTree<FitnessFunction, NumericSplitType, CategoricalSplitType, DimensionSelectionType, ElemType, NoRecursion>::DecisionTree(MatType)
- DecisionTree(MatType&& data,
- ^
- /usr/local/include/mlpack/methods/decision_tree/decision_tree.hpp:67:3: error: template<class FitnessFunction, template<class> class NumericSplitType, template<class> class CategoricalSplitType, class DimensionSelectionType, class ElemType, bool NoRecursion> template<class MatType, class LabelsType> mlpack::tree::DecisionTree<FitnessFunction, NumericSplitType, CategoricalSplitType, DimensionSelectionType, ElemType, NoRecursion>::DecisionTree(MatType)
- DecisionTree(MatType&& data,
- ^
- In file included from /usr/local/include/mlpack/methods/decision_tree/decision_tree.hpp:460:0,
- from /usr/local/include/mlpack/methods/random_forest/random_forest.hpp:15,
- from streamin_extractor_music.cpp:33:
- /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:291:50: error: expected ‘,’ or ‘...’ before ‘&&’ token
- NoRecursion>::operator=(DecisionTree&& other)
- ^
- /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp: In member function ‘mlpack::tree::DecisionTree<FitnessFunction, NumericSplitType, CategoricalSplitType, DimensionSelectionType, ElemType, NoRecursion>& mlpack::tree::DecisionTree<FitnessFunction, NumericSplitType, CategoricalSplitType, DimensionSelectionType, ElemType, NoRecursion>::operator=(mlpack::tree::DecisionTree<FitnessFunction, NumericSplitType, CategoricalSplitType, DimensionSelectionType, ElemType, NoRecursion>)’:
- /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:293:16: error: ‘other’ was not declared in this scope
- if (this == &other)
- ^
- /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:302:14: error: ‘move’ is not a member of ‘std’
- children = std::move(other.children);
- ^
- /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:302:14: note: suggested alternative:
- In file included from /usr/include/boost/move/utility.hpp:28:0,
- from /usr/include/boost/optional/optional.hpp:48,
- from /usr/include/boost/optional.hpp:15,
- from /usr/include/boost/format/internals.hpp:20,
- from /usr/include/boost/format.hpp:38,
- from /usr/include/boost/math/policies/error_handling.hpp:31,
- from /usr/include/boost/math/special_functions/gamma.hpp:23,
- from /usr/local/include/mlpack/core/kernels/spherical_kernel.hpp:13,
- from /usr/local/include/mlpack/core.hpp:291,
- from streamin_extractor_music.cpp:32:
- /usr/include/boost/move/utility_core.hpp:68:10: note: ‘boost::move’
- move(rv<T>& x) BOOST_NOEXCEPT
- ^
- In file included from /usr/local/include/mlpack/methods/decision_tree/decision_tree.hpp:460:0,
- from /usr/local/include/mlpack/methods/random_forest/random_forest.hpp:15,
- from streamin_extractor_music.cpp:33:
- /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:302:24: error: ‘other’ was not declared in this scope
- children = std::move(other.children);
- ^
- /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:305:24: error: ‘move’ is not a member of ‘std’
- classProbabilities = std::move(other.classProbabilities);
- ^
- /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:305:24: note: suggested alternative:
- In file included from /usr/include/boost/move/utility.hpp:28:0,
- from /usr/include/boost/optional/optional.hpp:48,
- from /usr/include/boost/optional.hpp:15,
- from /usr/include/boost/format/internals.hpp:20,
- from /usr/include/boost/format.hpp:38,
- from /usr/include/boost/math/policies/error_handling.hpp:31,
- from /usr/include/boost/math/special_functions/gamma.hpp:23,
- from /usr/local/include/mlpack/core/kernels/spherical_kernel.hpp:13,
- from /usr/local/include/mlpack/core.hpp:291,
- from streamin_extractor_music.cpp:32:
- /usr/include/boost/move/utility_core.hpp:68:10: note: ‘boost::move’
- move(rv<T>& x) BOOST_NOEXCEPT
- ^
- In file included from /usr/local/include/mlpack/methods/decision_tree/decision_tree.hpp:460:0,
- from /usr/local/include/mlpack/methods/random_forest/random_forest.hpp:15,
- from streamin_extractor_music.cpp:33:
- /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:311:40: error: ‘move’ is not a member of ‘std’
- NumericAuxiliarySplitInfo::operator=(std::move(other));
- ^
- /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:311:40: note: suggested alternative:
- In file included from /usr/include/boost/move/utility.hpp:28:0,
- from /usr/include/boost/optional/optional.hpp:48,
- from /usr/include/boost/optional.hpp:15,
- from /usr/include/boost/format/internals.hpp:20,
- from /usr/include/boost/format.hpp:38,
- from /usr/include/boost/math/policies/error_handling.hpp:31,
- from /usr/include/boost/math/special_functions/gamma.hpp:23,
- from /usr/local/include/mlpack/core/kernels/spherical_kernel.hpp:13,
- from /usr/local/include/mlpack/core.hpp:291,
- from streamin_extractor_music.cpp:32:
- /usr/include/boost/move/utility_core.hpp:68:10: note: ‘boost::move’
- move(rv<T>& x) BOOST_NOEXCEPT
- ^
- In file included from /usr/local/include/mlpack/methods/decision_tree/decision_tree.hpp:460:0,
- from /usr/local/include/mlpack/methods/random_forest/random_forest.hpp:15,
- from streamin_extractor_music.cpp:33:
- /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:312:44: error: ‘move’ is not a member of ‘std’
- CategoricalAuxiliarySplitInfo::operator=(std::move(other));
- ^
- /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:312:44: note: suggested alternative:
- In file included from /usr/include/boost/move/utility.hpp:28:0,
- from /usr/include/boost/optional/optional.hpp:48,
- from /usr/include/boost/optional.hpp:15,
- from /usr/include/boost/format/internals.hpp:20,
- from /usr/include/boost/format.hpp:38,
- from /usr/include/boost/math/policies/error_handling.hpp:31,
- from /usr/include/boost/math/special_functions/gamma.hpp:23,
- from /usr/local/include/mlpack/core/kernels/spherical_kernel.hpp:13,
- from /usr/local/include/mlpack/core.hpp:291,
- from streamin_extractor_music.cpp:32:
- /usr/include/boost/move/utility_core.hpp:68:10: note: ‘boost::move’
- move(rv<T>& x) BOOST_NOEXCEPT
- ^
- In file included from /usr/local/include/mlpack/methods/decision_tree/decision_tree.hpp:460:0,
- from /usr/local/include/mlpack/methods/random_forest/random_forest.hpp:15,
- from streamin_extractor_music.cpp:33:
- /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp: At global scope:
- /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:348:46: error: expected ‘,’ or ‘...’ before ‘&&’ token
- NoRecursion>::Train(MatType&& data,
- ^
- /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp: In member function ‘void mlpack::tree::DecisionTree<FitnessFunction, NumericSplitType, CategoricalSplitType, DimensionSelectionType, ElemType, NoRecursion>::Train(MatType)’:
- /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:356:11: error: expected primary-expression before ‘.’ token
- if (data.n_cols != labels.n_elem)
- ^
- /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:356:22: error: ‘labels’ was not declared in this scope
- if (data.n_cols != labels.n_elem)
- ^
- /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:359:63: error: expected primary-expression before ‘.’ token
- oss << "DecisionTree::Train(): number of points (" << data.n_cols << ") "
- ^
- /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:365:9: error: expected nested-name-specifier before ‘TrueMatType’
- using TrueMatType = typename std::decay<MatType>::type;
- ^
- /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:366:9: error: expected nested-name-specifier before ‘TrueLabelsType’
- using TrueLabelsType = typename std::decay<LabelsType>::type;
- ^
- /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:369:3: error: ‘TrueMatType’ was not declared in this scope
- TrueMatType tmpData(std::forward<MatType>(data));
- ^
- /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:370:3: error: ‘TrueLabelsType’ was not declared in this scope
- TrueLabelsType tmpLabels(std::forward<LabelsType>(labels));
- ^
- /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:374:16: error: ‘tmpData’ was not declared in this scope
- Train<false>(tmpData, 0, tmpData.n_cols, datasetInfo, tmpLabels, numClasses,
- ^
- /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:374:44: error: ‘datasetInfo’ was not declared in this scope
- Train<false>(tmpData, 0, tmpData.n_cols, datasetInfo, tmpLabels, numClasses,
- ^
- /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:374:57: error: ‘tmpLabels’ was not declared in this scope
- Train<false>(tmpData, 0, tmpData.n_cols, datasetInfo, tmpLabels, numClasses,
- ^
- /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:374:68: error: ‘numClasses’ was not declared in this scope
- Train<false>(tmpData, 0, tmpData.n_cols, datasetInfo, tmpLabels, numClasses,
- ^
- /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:375:16: error: ‘minimumLeafSize’ was not declared in this scope
- weights, minimumLeafSize, minimumGainSplit);
- ^
- /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:375:33: error: ‘minimumGainSplit’ was not declared in this scope
- weights, minimumLeafSize, minimumGainSplit);
- ^
- /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp: At global scope:
- /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:391:46: error: expected ‘,’ or ‘...’ before ‘&&’ token
- NoRecursion>::Train(MatType&& data,
- ^
- /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:386:6: error: redefinition of ‘void mlpack::tree::DecisionTree<FitnessFunction, NumericSplitType, CategoricalSplitType, DimensionSelectionType, ElemType, NoRecursion>::Train(MatType)’
- void DecisionTree<FitnessFunction,
- ^
- /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:343:6: note: ‘void mlpack::tree::DecisionTree<FitnessFunction, NumericSplitType, CategoricalSplitType, DimensionSelectionType, ElemType, NoRecursion>::Train(MatType)’ previously declared here
- void DecisionTree<FitnessFunction,
- ^
- /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:433:46: error: expected ‘,’ or ‘...’ before ‘&&’ token
- NoRecursion>::Train(MatType&& data,
- ^
- /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp: In member function ‘void mlpack::tree::DecisionTree<FitnessFunction, NumericSplitType, CategoricalSplitType, DimensionSelectionType, ElemType, NoRecursion>::Train(MatType)’:
- /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:445:11: error: expected primary-expression before ‘.’ token
- if (data.n_cols != labels.n_elem)
- ^
- /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:445:22: error: ‘labels’ was not declared in this scope
- if (data.n_cols != labels.n_elem)
- ^
- /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:448:63: error: expected primary-expression before ‘.’ token
- oss << "DecisionTree::Train(): number of points (" << data.n_cols << ") "
- ^
- /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:454:9: error: expected nested-name-specifier before ‘TrueMatType’
- using TrueMatType = typename std::decay<MatType>::type;
- ^
- /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:455:9: error: expected nested-name-specifier before ‘TrueLabelsType’
- using TrueLabelsType = typename std::decay<LabelsType>::type;
- ^
- /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:456:9: error: expected nested-name-specifier before ‘TrueWeightsType’
- using TrueWeightsType = typename std::decay<WeightsType>::type;
- ^
- /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:459:3: error: ‘TrueMatType’ was not declared in this scope
- TrueMatType tmpData(std::forward<MatType>(data));
- ^
- /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:460:3: error: ‘TrueLabelsType’ was not declared in this scope
- TrueLabelsType tmpLabels(std::forward<LabelsType>(labels));
- ^
- /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:461:3: error: ‘TrueWeightsType’ was not declared in this scope
- TrueWeightsType tmpWeights(std::forward<WeightsType>(weights));
- ^
- /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:464:15: error: ‘tmpData’ was not declared in this scope
- Train<true>(tmpData, 0, tmpData.n_cols, datasetInfo, tmpLabels, numClasses,
- ^
- /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:464:43: error: ‘datasetInfo’ was not declared in this scope
- Train<true>(tmpData, 0, tmpData.n_cols, datasetInfo, tmpLabels, numClasses,
- ^
- /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:464:56: error: ‘tmpLabels’ was not declared in this scope
- Train<true>(tmpData, 0, tmpData.n_cols, datasetInfo, tmpLabels, numClasses,
- ^
- /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:464:67: error: ‘numClasses’ was not declared in this scope
- Train<true>(tmpData, 0, tmpData.n_cols, datasetInfo, tmpLabels, numClasses,
- ^
- /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:465:7: error: ‘tmpWeights’ was not declared in this scope
- tmpWeights, minimumLeafSize, minimumGainSplit);
- ^
- /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:465:19: error: ‘minimumLeafSize’ was not declared in this scope
- tmpWeights, minimumLeafSize, minimumGainSplit);
- ^
- /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:465:36: error: ‘minimumGainSplit’ was not declared in this scope
- tmpWeights, minimumLeafSize, minimumGainSplit);
- ^
- /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp: At global scope:
- /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:481:46: error: expected ‘,’ or ‘...’ before ‘&&’ token
- NoRecursion>::Train(MatType&& data,
- ^
- /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:476:6: error: redefinition of ‘void mlpack::tree::DecisionTree<FitnessFunction, NumericSplitType, CategoricalSplitType, DimensionSelectionType, ElemType, NoRecursion>::Train(MatType)’
- void DecisionTree<FitnessFunction,
- ^
- /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:428:6: note: ‘void mlpack::tree::DecisionTree<FitnessFunction, NumericSplitType, CategoricalSplitType, DimensionSelectionType, ElemType, NoRecursion>::Train(MatType)’ previously declared here
- void DecisionTree<FitnessFunction,
- ^
- /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:531:51: error: ‘DatasetInfo’ in namespace ‘mlpack::data’ does not name a type
- const data::DatasetInfo& datasetInfo,
- ^
- /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp: In member function ‘void mlpack::tree::DecisionTree<FitnessFunction, NumericSplitType, CategoricalSplitType, DimensionSelectionType, ElemType, NoRecursion>::Train(MatType&, size_t, size_t, const int&, arma::Row<long unsigned int>&, size_t, arma::rowvec&, size_t, double)’:
- /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:552:32: error: request for member ‘Dimensionality’ in ‘datasetInfo’, which is of non-class type ‘const int’
- size_t bestDim = datasetInfo.Dimensionality(); // This means "no split".
- ^
- /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:553:49: error: request for member ‘Dimensionality’ in ‘datasetInfo’, which is of non-class type ‘const int’
- DimensionSelectionType dimensions(datasetInfo.Dimensionality());
- ^
- /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:558:21: error: request for member ‘Type’ in ‘datasetInfo’, which is of non-class type ‘const int’
- if (datasetInfo.Type(i) == data::Datatype::categorical)
- ^
- /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:558:38: error: ‘mlpack::data::Datatype’ is not a class or namespace
- if (datasetInfo.Type(i) == data::Datatype::categorical)
- ^
- /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:562:23: error: request for member ‘NumMappings’ in ‘datasetInfo’, which is of non-class type ‘const int’
- datasetInfo.NumMappings(i),
- ^
- /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:571:26: error: request for member ‘Type’ in ‘datasetInfo’, which is of non-class type ‘const int’
- else if (datasetInfo.Type(i) == data::Datatype::numeric)
- ^
- /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:571:43: error: ‘mlpack::data::Datatype’ is not a class or namespace
- else if (datasetInfo.Type(i) == data::Datatype::numeric)
- ^
- /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:597:30: error: request for member ‘Dimensionality’ in ‘datasetInfo’, which is of non-class type ‘const int’
- if (bestDim != datasetInfo.Dimensionality())
- ^
- /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:599:57: error: request for member ‘Type’ in ‘datasetInfo’, which is of non-class type ‘const int’
- dimensionTypeOrMajorityClass = (size_t) datasetInfo.Type(bestDim);
- ^
- /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:604:21: error: request for member ‘Type’ in ‘datasetInfo’, which is of non-class type ‘const int’
- if (datasetInfo.Type(bestDim) == data::Datatype::categorical)
- ^
- /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:604:44: error: ‘mlpack::data::Datatype’ is not a class or namespace
- if (datasetInfo.Type(bestDim) == data::Datatype::categorical)
- ^
- /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:611:21: error: request for member ‘Type’ in ‘datasetInfo’, which is of non-class type ‘const int’
- if (datasetInfo.Type(bestDim) == data::Datatype::categorical)
- ^
- /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:611:44: error: ‘mlpack::data::Datatype’ is not a class or namespace
- if (datasetInfo.Type(bestDim) == data::Datatype::categorical)
- ^
- /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp: In member function ‘void mlpack::tree::DecisionTree<FitnessFunction, NumericSplitType, CategoricalSplitType, DimensionSelectionType, ElemType, NoRecursion>::Train(MatType&, size_t, size_t, arma::Row<long unsigned int>&, size_t, arma::rowvec&, size_t, double)’:
- /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:752:51: error: ‘mlpack::data::Datatype’ is not a class or namespace
- dimensionTypeOrMajorityClass = (size_t) data::Datatype::numeric;
- ^
- /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp: In member function ‘size_t mlpack::tree::DecisionTree<FitnessFunction, NumericSplitType, CategoricalSplitType, DimensionSelectionType, ElemType, NoRecursion>::CalculateDirection(const VecType&) const’:
- /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:983:13: error: ‘mlpack::data::Datatype’ is not a class or namespace
- data::Datatype::categorical)
- ^
- In file included from streamin_extractor_music.cpp:33:0:
- /usr/local/include/mlpack/methods/random_forest/random_forest.hpp: At global scope:
- /usr/local/include/mlpack/methods/random_forest/random_forest.hpp:73:28: error: ‘DatasetInfo’ in namespace ‘mlpack::data’ does not name a type
- const data::DatasetInfo& datasetInfo,
- ^
- /usr/local/include/mlpack/methods/random_forest/random_forest.hpp:115:28: error: ‘DatasetInfo’ in namespace ‘mlpack::data’ does not name a type
- const data::DatasetInfo& datasetInfo,
- ^
- /usr/local/include/mlpack/methods/random_forest/random_forest.hpp:155:26: error: ‘DatasetInfo’ in namespace ‘mlpack::data’ does not name a type
- const data::DatasetInfo& datasetInfo,
- ^
- /usr/local/include/mlpack/methods/random_forest/random_forest.hpp:197:26: error: ‘DatasetInfo’ in namespace ‘mlpack::data’ does not name a type
- const data::DatasetInfo& datasetInfo,
- ^
- /usr/local/include/mlpack/methods/random_forest/random_forest.hpp:285:26: error: ‘DatasetInfo’ in namespace ‘mlpack::data’ does not name a type
- const data::DatasetInfo& datasetInfo,
- ^
- In file included from /usr/local/include/mlpack/methods/random_forest/random_forest.hpp:300:0,
- from streamin_extractor_music.cpp:33:
- /usr/local/include/mlpack/methods/random_forest/random_forest_impl.hpp: In constructor ‘mlpack::tree::RandomForest<FitnessFunction, DimensionSelectionType, NumericSplitType, CategoricalSplitType, ElemType>::RandomForest(const MatType&, const arma::Row<long unsigned int>&, size_t, size_t, size_t)’:
- /usr/local/include/mlpack/methods/random_forest/random_forest_impl.hpp:42:3: error: ‘DatasetInfo’ is not a member of ‘mlpack::data’
- data::DatasetInfo info; // Ignored.
- ^
- /usr/local/include/mlpack/methods/random_forest/random_forest_impl.hpp:44:32: error: ‘info’ was not declared in this scope
- Train<false, false>(dataset, info, labels, numClasses, weights, numTrees,
- ^
- /usr/local/include/mlpack/methods/random_forest/random_forest_impl.hpp: At global scope:
- /usr/local/include/mlpack/methods/random_forest/random_forest_impl.hpp:63:29: error: ‘DatasetInfo’ in namespace ‘mlpack::data’ does not name a type
- const data::DatasetInfo& datasetInfo,
- ^
- /usr/local/include/mlpack/methods/random_forest/random_forest_impl.hpp: In constructor ‘mlpack::tree::RandomForest<FitnessFunction, DimensionSelectionType, NumericSplitType, CategoricalSplitType, ElemType>::RandomForest(const MatType&, const arma::Row<long unsigned int>&, size_t, const rowvec&, size_t, size_t)’:
- /usr/local/include/mlpack/methods/random_forest/random_forest_impl.hpp:97:3: error: ‘DatasetInfo’ is not a member of ‘mlpack::data’
- data::DatasetInfo info; // Ignored by Train().
- ^
- /usr/local/include/mlpack/methods/random_forest/random_forest_impl.hpp:98:31: error: ‘info’ was not declared in this scope
- Train<true, false>(dataset, info, labels, numClasses, weights, numTrees,
- ^
- /usr/local/include/mlpack/methods/random_forest/random_forest_impl.hpp: At global scope:
- /usr/local/include/mlpack/methods/random_forest/random_forest_impl.hpp:117:29: error: ‘DatasetInfo’ in namespace ‘mlpack::data’ does not name a type
- const data::DatasetInfo& datasetInfo,
- ^
- /usr/local/include/mlpack/methods/random_forest/random_forest_impl.hpp: In member function ‘void mlpack::tree::RandomForest<FitnessFunction, DimensionSelectionType, NumericSplitType, CategoricalSplitType, ElemType>::Train(const MatType&, const arma::Row<long unsigned int>&, size_t, size_t, size_t)’:
- /usr/local/include/mlpack/methods/random_forest/random_forest_impl.hpp:150:3: error: ‘DatasetInfo’ is not a member of ‘mlpack::data’
- data::DatasetInfo info; // Ignored by Train().
- ^
- /usr/local/include/mlpack/methods/random_forest/random_forest_impl.hpp:152:32: error: ‘info’ was not declared in this scope
- Train<false, false>(dataset, info, labels, numClasses, weights, numTrees,
- ^
- /usr/local/include/mlpack/methods/random_forest/random_forest_impl.hpp: At global scope:
- /usr/local/include/mlpack/methods/random_forest/random_forest_impl.hpp:171:22: error: ‘DatasetInfo’ in namespace ‘mlpack::data’ does not name a type
- const data::DatasetInfo& datasetInfo,
- ^
- /usr/local/include/mlpack/methods/random_forest/random_forest_impl.hpp: In member function ‘void mlpack::tree::RandomForest<FitnessFunction, DimensionSelectionType, NumericSplitType, CategoricalSplitType, ElemType>::Train(const MatType&, const arma::Row<long unsigned int>&, size_t, const rowvec&, size_t, size_t)’:
- /usr/local/include/mlpack/methods/random_forest/random_forest_impl.hpp:205:3: error: ‘DatasetInfo’ is not a member of ‘mlpack::data’
- data::DatasetInfo info; // Ignored by Train().
- ^
- /usr/local/include/mlpack/methods/random_forest/random_forest_impl.hpp:206:31: error: ‘info’ was not declared in this scope
- Train<false, true>(dataset, info, labels, numClasses, weights, numTrees,
- ^
- /usr/local/include/mlpack/methods/random_forest/random_forest_impl.hpp: At global scope:
- /usr/local/include/mlpack/methods/random_forest/random_forest_impl.hpp:225:22: error: ‘DatasetInfo’ in namespace ‘mlpack::data’ does not name a type
- const data::DatasetInfo& datasetInfo,
- ^
- /usr/local/include/mlpack/methods/random_forest/random_forest_impl.hpp:425:22: error: ‘DatasetInfo’ in namespace ‘mlpack::data’ does not name a type
- const data::DatasetInfo& datasetInfo,
- ^
- In file included from /usr/include/c++/5/bits/stl_tree.h:63:0,
- from /usr/include/c++/5/map:60,
- from /usr/local/include/essentia/types.h:23,
- from /usr/local/include/essentia/essentia.h:24,
- from streamin_extractor_music.cpp:24:
- /usr/include/c++/5/bits/stl_algobase.h: In instantiation of ‘typename __gnu_cxx::__enable_if<(! std::__is_scalar<_Tp>::__value), void>::__type std::__fill_a(_ForwardIterator, _ForwardIterator, const _Tp&) [with _ForwardIterator = mlpack::tree::DecisionTree<mlpack::tree::GiniGain, mlpack::tree::BestBinaryNumericSplit, mlpack::tree::AllCategoricalSplit, mlpack::tree::MultipleRandomDimensionSelect<>, double, false>*; _Tp = mlpack::tree::DecisionTree<mlpack::tree::GiniGain, mlpack::tree::BestBinaryNumericSplit, mlpack::tree::AllCategoricalSplit, mlpack::tree::MultipleRandomDimensionSelect<>, double, false>; typename __gnu_cxx::__enable_if<(! std::__is_scalar<_Tp>::__value), void>::__type = void]’:
- /usr/include/c++/5/bits/stl_algobase.h:747:20: required from ‘void std::fill(_ForwardIterator, _ForwardIterator, const _Tp&) [with _ForwardIterator = mlpack::tree::DecisionTree<mlpack::tree::GiniGain, mlpack::tree::BestBinaryNumericSplit, mlpack::tree::AllCategoricalSplit, mlpack::tree::MultipleRandomDimensionSelect<>, double, false>*; _Tp = mlpack::tree::DecisionTree<mlpack::tree::GiniGain, mlpack::tree::BestBinaryNumericSplit, mlpack::tree::AllCategoricalSplit, mlpack::tree::MultipleRandomDimensionSelect<>, double, false>]’
- /usr/include/c++/5/bits/vector.tcc:469:14: required from ‘void std::vector<_Tp, _Alloc>::_M_fill_insert(std::vector<_Tp, _Alloc>::iterator, std::vector<_Tp, _Alloc>::size_type, const value_type&) [with _Tp = mlpack::tree::DecisionTree<mlpack::tree::GiniGain, mlpack::tree::BestBinaryNumericSplit, mlpack::tree::AllCategoricalSplit, mlpack::tree::MultipleRandomDimensionSelect<>, double, false>; _Alloc = std::allocator<mlpack::tree::DecisionTree<mlpack::tree::GiniGain, mlpack::tree::BestBinaryNumericSplit, mlpack::tree::AllCategoricalSplit, mlpack::tree::MultipleRandomDimensionSelect<>, double, false> >; std::vector<_Tp, _Alloc>::iterator = __gnu_cxx::__normal_iterator<mlpack::tree::DecisionTree<mlpack::tree::GiniGain, mlpack::tree::BestBinaryNumericSplit, mlpack::tree::AllCategoricalSplit, mlpack::tree::MultipleRandomDimensionSelect<>, double, false>*, std::vector<mlpack::tree::DecisionTree<mlpack::tree::GiniGain, mlpack::tree::BestBinaryNumericSplit, mlpack::tree::AllCategoricalSplit, mlpack::tree::MultipleRandomDimensionSelect<>, double, false>, std::allocator<mlpack::tree::DecisionTree<mlpack::tree::GiniGain, mlpack::tree::BestBinaryNumericSplit, mlpack::tree::AllCategoricalSplit, mlpack::tree::MultipleRandomDimensionSelect<>, double, false> > > >; typename std::_Vector_base<_Tp, _Alloc>::pointer = mlpack::tree::DecisionTree<mlpack::tree::GiniGain, mlpack::tree::BestBinaryNumericSplit, mlpack::tree::AllCategoricalSplit, mlpack::tree::MultipleRandomDimensionSelect<>, double, false>*; std::vector<_Tp, _Alloc>::size_type = long unsigned int; std::vector<_Tp, _Alloc>::value_type = mlpack::tree::DecisionTree<mlpack::tree::GiniGain, mlpack::tree::BestBinaryNumericSplit, mlpack::tree::AllCategoricalSplit, mlpack::tree::MultipleRandomDimensionSelect<>, double, false>]’
- /usr/include/c++/5/bits/stl_vector.h:1073:23: required from ‘void std::vector<_Tp, _Alloc>::insert(std::vector<_Tp, _Alloc>::iterator, std::vector<_Tp, _Alloc>::size_type, const value_type&) [with _Tp = mlpack::tree::DecisionTree<mlpack::tree::GiniGain, mlpack::tree::BestBinaryNumericSplit, mlpack::tree::AllCategoricalSplit, mlpack::tree::MultipleRandomDimensionSelect<>, double, false>; _Alloc = std::allocator<mlpack::tree::DecisionTree<mlpack::tree::GiniGain, mlpack::tree::BestBinaryNumericSplit, mlpack::tree::AllCategoricalSplit, mlpack::tree::MultipleRandomDimensionSelect<>, double, false> >; std::vector<_Tp, _Alloc>::iterator = __gnu_cxx::__normal_iterator<mlpack::tree::DecisionTree<mlpack::tree::GiniGain, mlpack::tree::BestBinaryNumericSplit, mlpack::tree::AllCategoricalSplit, mlpack::tree::MultipleRandomDimensionSelect<>, double, false>*, std::vector<mlpack::tree::DecisionTree<mlpack::tree::GiniGain, mlpack::tree::BestBinaryNumericSplit, mlpack::tree::AllCategoricalSplit, mlpack::tree::MultipleRandomDimensionSelect<>, double, false>, std::allocator<mlpack::tree::DecisionTree<mlpack::tree::GiniGain, mlpack::tree::BestBinaryNumericSplit, mlpack::tree::AllCategoricalSplit, mlpack::tree::MultipleRandomDimensionSelect<>, double, false> > > >; typename std::_Vector_base<_Tp, _Alloc>::pointer = mlpack::tree::DecisionTree<mlpack::tree::GiniGain, mlpack::tree::BestBinaryNumericSplit, mlpack::tree::AllCategoricalSplit, mlpack::tree::MultipleRandomDimensionSelect<>, double, false>*; std::vector<_Tp, _Alloc>::size_type = long unsigned int; std::vector<_Tp, _Alloc>::value_type = mlpack::tree::DecisionTree<mlpack::tree::GiniGain, mlpack::tree::BestBinaryNumericSplit, mlpack::tree::AllCategoricalSplit, mlpack::tree::MultipleRandomDimensionSelect<>, double, false>]’
- /usr/include/c++/5/bits/stl_vector.h:716:10: required from ‘void std::vector<_Tp, _Alloc>::resize(std::vector<_Tp, _Alloc>::size_type, std::vector<_Tp, _Alloc>::value_type) [with _Tp = mlpack::tree::DecisionTree<mlpack::tree::GiniGain, mlpack::tree::BestBinaryNumericSplit, mlpack::tree::AllCategoricalSplit, mlpack::tree::MultipleRandomDimensionSelect<>, double, false>; _Alloc = std::allocator<mlpack::tree::DecisionTree<mlpack::tree::GiniGain, mlpack::tree::BestBinaryNumericSplit, mlpack::tree::AllCategoricalSplit, mlpack::tree::MultipleRandomDimensionSelect<>, double, false> >; std::vector<_Tp, _Alloc>::size_type = long unsigned int; std::vector<_Tp, _Alloc>::value_type = mlpack::tree::DecisionTree<mlpack::tree::GiniGain, mlpack::tree::BestBinaryNumericSplit, mlpack::tree::AllCategoricalSplit, mlpack::tree::MultipleRandomDimensionSelect<>, double, false>]’
- /usr/local/include/mlpack/methods/random_forest/random_forest_impl.hpp:405:5: required from ‘void mlpack::tree::RandomForest<FitnessFunction, DimensionSelectionType, NumericSplitType, CategoricalSplitType, ElemType>::serialize(Archive&, unsigned int) [with Archive = boost::archive::xml_iarchive; FitnessFunction = mlpack::tree::GiniGain; DimensionSelectionType = mlpack::tree::MultipleRandomDimensionSelect<>; NumericSplitType = mlpack::tree::BestBinaryNumericSplit; CategoricalSplitType = mlpack::tree::AllCategoricalSplit; ElemType = double]’
- /usr/include/boost/serialization/access.hpp:118:9: [ skipping 8 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
- /usr/include/boost/archive/detail/common_iarchive.hpp:66:22: required from ‘void boost::archive::detail::common_iarchive<Archive>::load_override(T&, int) [with T = mlpack::tree::RandomForest<>; Archive = boost::archive::xml_iarchive]’
- /usr/include/boost/archive/basic_xml_iarchive.hpp:92:9: required from ‘void boost::archive::basic_xml_iarchive<Archive>::load_override(const boost::serialization::nvp<T>&, int) [with T = mlpack::tree::RandomForest<>; Archive = boost::archive::xml_iarchive]’
- /usr/include/boost/archive/xml_iarchive.hpp:103:51: required from ‘void boost::archive::xml_iarchive_impl<Archive>::load_override(T&, int) [with T = const boost::serialization::nvp<mlpack::tree::RandomForest<> >; Archive = boost::archive::xml_iarchive]’
- /usr/include/boost/archive/detail/interface_iarchive.hpp:60:9: required from ‘Archive& boost::archive::detail::interface_iarchive<Archive>::operator>>(T&) [with T = const boost::serialization::nvp<mlpack::tree::RandomForest<> >; Archive = boost::archive::xml_iarchive]’
- /usr/local/include/mlpack/core/data/load_model_impl.hpp:93:10: required from ‘bool mlpack::data::Load(const string&, const string&, T&, bool, mlpack::data::format) [with T = mlpack::tree::RandomForest<>; std::__cxx11::string = std::__cxx11::basic_string<char>]’
- streamin_extractor_music.cpp:124:58: required from here
- /usr/include/c++/5/bits/stl_algobase.h:701:11: error: ambiguous overload for ‘operator=’ (operand types are ‘mlpack::tree::DecisionTree<mlpack::tree::GiniGain, mlpack::tree::BestBinaryNumericSplit, mlpack::tree::AllCategoricalSplit, mlpack::tree::MultipleRandomDimensionSelect<>, double, false>’ and ‘const mlpack::tree::DecisionTree<mlpack::tree::GiniGain, mlpack::tree::BestBinaryNumericSplit, mlpack::tree::AllCategoricalSplit, mlpack::tree::MultipleRandomDimensionSelect<>, double, false>’)
- *__first = __value;
- ^
- In file included from /usr/local/include/mlpack/methods/decision_tree/decision_tree.hpp:460:0,
- from /usr/local/include/mlpack/methods/random_forest/random_forest.hpp:15,
- from streamin_extractor_music.cpp:33:
- /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:242:1: note: candidate: mlpack::tree::DecisionTree<FitnessFunction, NumericSplitType, CategoricalSplitType, DimensionSelectionType, ElemType, NoRecursion>& mlpack::tree::DecisionTree<FitnessFunction, NumericSplitType, CategoricalSplitType, DimensionSelectionType, ElemType, NoRecursion>::operator=(const mlpack::tree::DecisionTree<FitnessFunction, NumericSplitType, CategoricalSplitType, DimensionSelectionType, ElemType, NoRecursion>&) [with FitnessFunction = mlpack::tree::GiniGain; NumericSplitType = mlpack::tree::BestBinaryNumericSplit; CategoricalSplitType = mlpack::tree::AllCategoricalSplit; DimensionSelectionType = mlpack::tree::MultipleRandomDimensionSelect<>; ElemType = double; bool NoRecursion = false]
- DecisionTree<FitnessFunction,
- ^
- /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:286:1: note: candidate: mlpack::tree::DecisionTree<FitnessFunction, NumericSplitType, CategoricalSplitType, DimensionSelectionType, ElemType, NoRecursion>& mlpack::tree::DecisionTree<FitnessFunction, NumericSplitType, CategoricalSplitType, DimensionSelectionType, ElemType, NoRecursion>::operator=(mlpack::tree::DecisionTree<FitnessFunction, NumericSplitType, CategoricalSplitType, DimensionSelectionType, ElemType, NoRecursion>) [with FitnessFunction = mlpack::tree::GiniGain; NumericSplitType = mlpack::tree::BestBinaryNumericSplit; CategoricalSplitType = mlpack::tree::AllCategoricalSplit; DimensionSelectionType = mlpack::tree::MultipleRandomDimensionSelect<>; ElemType = double; bool NoRecursion = false; mlpack::tree::DecisionTree<FitnessFunction, NumericSplitType, CategoricalSplitType, DimensionSelectionType, ElemType, NoRecursion> = mlpack::tree::DecisionTree<mlpack::tree::GiniGain, mlpack::tree::BestBinaryNumericSplit, mlpack::tree::AllCategoricalSplit, mlpack::tree::MultipleRandomDimensionSelect<>, double, false>]
- DecisionTree<FitnessFunction,
- ^
- In file included from /usr/include/c++/5/bits/stl_tree.h:63:0,
- from /usr/include/c++/5/map:60,
- from /usr/local/include/essentia/types.h:23,
- from /usr/local/include/essentia/essentia.h:24,
- from streamin_extractor_music.cpp:24:
- /usr/include/c++/5/bits/stl_algobase.h: In instantiation of ‘static _BI2 std::__copy_move_backward<false, false, std::random_access_iterator_tag>::__copy_move_b(_BI1, _BI1, _BI2) [with _BI1 = mlpack::tree::DecisionTree<mlpack::tree::GiniGain, mlpack::tree::BestBinaryNumericSplit, mlpack::tree::AllCategoricalSplit, mlpack::tree::MultipleRandomDimensionSelect<>, double, false>*; _BI2 = mlpack::tree::DecisionTree<mlpack::tree::GiniGain, mlpack::tree::BestBinaryNumericSplit, mlpack::tree::AllCategoricalSplit, mlpack::tree::MultipleRandomDimensionSelect<>, double, false>*]’:
- /usr/include/c++/5/bits/stl_algobase.h:604:58: required from ‘_BI2 std::__copy_move_backward_a(_BI1, _BI1, _BI2) [with bool _IsMove = false; _BI1 = mlpack::tree::DecisionTree<mlpack::tree::GiniGain, mlpack::tree::BestBinaryNumericSplit, mlpack::tree::AllCategoricalSplit, mlpack::tree::MultipleRandomDimensionSelect<>, double, false>*; _BI2 = mlpack::tree::DecisionTree<mlpack::tree::GiniGain, mlpack::tree::BestBinaryNumericSplit, mlpack::tree::AllCategoricalSplit, mlpack::tree::MultipleRandomDimensionSelect<>, double, false>*]’
- /usr/include/c++/5/bits/stl_algobase.h:614:5: required from ‘_BI2 std::__copy_move_backward_a2(_BI1, _BI1, _BI2) [with bool _IsMove = false; _BI1 = mlpack::tree::DecisionTree<mlpack::tree::GiniGain, mlpack::tree::BestBinaryNumericSplit, mlpack::tree::AllCategoricalSplit, mlpack::tree::MultipleRandomDimensionSelect<>, double, false>*; _BI2 = mlpack::tree::DecisionTree<mlpack::tree::GiniGain, mlpack::tree::BestBinaryNumericSplit, mlpack::tree::AllCategoricalSplit, mlpack::tree::MultipleRandomDimensionSelect<>, double, false>*]’
- /usr/include/c++/5/bits/stl_algobase.h:649:8: required from ‘_BI2 std::copy_backward(_BI1, _BI1, _BI2) [with _BI1 = mlpack::tree::DecisionTree<mlpack::tree::GiniGain, mlpack::tree::BestBinaryNumericSplit, mlpack::tree::AllCategoricalSplit, mlpack::tree::MultipleRandomDimensionSelect<>, double, false>*; _BI2 = mlpack::tree::DecisionTree<mlpack::tree::GiniGain, mlpack::tree::BestBinaryNumericSplit, mlpack::tree::AllCategoricalSplit, mlpack::tree::MultipleRandomDimensionSelect<>, double, false>*]’
- /usr/include/c++/5/bits/vector.tcc:467:5: required from ‘void std::vector<_Tp, _Alloc>::_M_fill_insert(std::vector<_Tp, _Alloc>::iterator, std::vector<_Tp, _Alloc>::size_type, const value_type&) [with _Tp = mlpack::tree::DecisionTree<mlpack::tree::GiniGain, mlpack::tree::BestBinaryNumericSplit, mlpack::tree::AllCategoricalSplit, mlpack::tree::MultipleRandomDimensionSelect<>, double, false>; _Alloc = std::allocator<mlpack::tree::DecisionTree<mlpack::tree::GiniGain, mlpack::tree::BestBinaryNumericSplit, mlpack::tree::AllCategoricalSplit, mlpack::tree::MultipleRandomDimensionSelect<>, double, false> >; std::vector<_Tp, _Alloc>::iterator = __gnu_cxx::__normal_iterator<mlpack::tree::DecisionTree<mlpack::tree::GiniGain, mlpack::tree::BestBinaryNumericSplit, mlpack::tree::AllCategoricalSplit, mlpack::tree::MultipleRandomDimensionSelect<>, double, false>*, std::vector<mlpack::tree::DecisionTree<mlpack::tree::GiniGain, mlpack::tree::BestBinaryNumericSplit, mlpack::tree::AllCategoricalSplit, mlpack::tree::MultipleRandomDimensionSelect<>, double, false>, std::allocator<mlpack::tree::DecisionTree<mlpack::tree::GiniGain, mlpack::tree::BestBinaryNumericSplit, mlpack::tree::AllCategoricalSplit, mlpack::tree::MultipleRandomDimensionSelect<>, double, false> > > >; typename std::_Vector_base<_Tp, _Alloc>::pointer = mlpack::tree::DecisionTree<mlpack::tree::GiniGain, mlpack::tree::BestBinaryNumericSplit, mlpack::tree::AllCategoricalSplit, mlpack::tree::MultipleRandomDimensionSelect<>, double, false>*; std::vector<_Tp, _Alloc>::size_type = long unsigned int; std::vector<_Tp, _Alloc>::value_type = mlpack::tree::DecisionTree<mlpack::tree::GiniGain, mlpack::tree::BestBinaryNumericSplit, mlpack::tree::AllCategoricalSplit, mlpack::tree::MultipleRandomDimensionSelect<>, double, false>]’
- /usr/include/c++/5/bits/stl_vector.h:1073:23: required from ‘void std::vector<_Tp, _Alloc>::insert(std::vector<_Tp, _Alloc>::iterator, std::vector<_Tp, _Alloc>::size_type, const value_type&) [with _Tp = mlpack::tree::DecisionTree<mlpack::tree::GiniGain, mlpack::tree::BestBinaryNumericSplit, mlpack::tree::AllCategoricalSplit, mlpack::tree::MultipleRandomDimensionSelect<>, double, false>; _Alloc = std::allocator<mlpack::tree::DecisionTree<mlpack::tree::GiniGain, mlpack::tree::BestBinaryNumericSplit, mlpack::tree::AllCategoricalSplit, mlpack::tree::MultipleRandomDimensionSelect<>, double, false> >; std::vector<_Tp, _Alloc>::iterator = __gnu_cxx::__normal_iterator<mlpack::tree::DecisionTree<mlpack::tree::GiniGain, mlpack::tree::BestBinaryNumericSplit, mlpack::tree::AllCategoricalSplit, mlpack::tree::MultipleRandomDimensionSelect<>, double, false>*, std::vector<mlpack::tree::DecisionTree<mlpack::tree::GiniGain, mlpack::tree::BestBinaryNumericSplit, mlpack::tree::AllCategoricalSplit, mlpack::tree::MultipleRandomDimensionSelect<>, double, false>, std::allocator<mlpack::tree::DecisionTree<mlpack::tree::GiniGain, mlpack::tree::BestBinaryNumericSplit, mlpack::tree::AllCategoricalSplit, mlpack::tree::MultipleRandomDimensionSelect<>, double, false> > > >; typename std::_Vector_base<_Tp, _Alloc>::pointer = mlpack::tree::DecisionTree<mlpack::tree::GiniGain, mlpack::tree::BestBinaryNumericSplit, mlpack::tree::AllCategoricalSplit, mlpack::tree::MultipleRandomDimensionSelect<>, double, false>*; std::vector<_Tp, _Alloc>::size_type = long unsigned int; std::vector<_Tp, _Alloc>::value_type = mlpack::tree::DecisionTree<mlpack::tree::GiniGain, mlpack::tree::BestBinaryNumericSplit, mlpack::tree::AllCategoricalSplit, mlpack::tree::MultipleRandomDimensionSelect<>, double, false>]’
- /usr/include/c++/5/bits/stl_vector.h:716:10: [ skipping 10 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
- /usr/include/boost/archive/detail/common_iarchive.hpp:66:22: required from ‘void boost::archive::detail::common_iarchive<Archive>::load_override(T&, int) [with T = mlpack::tree::RandomForest<>; Archive = boost::archive::xml_iarchive]’
- /usr/include/boost/archive/basic_xml_iarchive.hpp:92:9: required from ‘void boost::archive::basic_xml_iarchive<Archive>::load_override(const boost::serialization::nvp<T>&, int) [with T = mlpack::tree::RandomForest<>; Archive = boost::archive::xml_iarchive]’
- /usr/include/boost/archive/xml_iarchive.hpp:103:51: required from ‘void boost::archive::xml_iarchive_impl<Archive>::load_override(T&, int) [with T = const boost::serialization::nvp<mlpack::tree::RandomForest<> >; Archive = boost::archive::xml_iarchive]’
- /usr/include/boost/archive/detail/interface_iarchive.hpp:60:9: required from ‘Archive& boost::archive::detail::interface_iarchive<Archive>::operator>>(T&) [with T = const boost::serialization::nvp<mlpack::tree::RandomForest<> >; Archive = boost::archive::xml_iarchive]’
- /usr/local/include/mlpack/core/data/load_model_impl.hpp:93:10: required from ‘bool mlpack::data::Load(const string&, const string&, T&, bool, mlpack::data::format) [with T = mlpack::tree::RandomForest<>; std::__cxx11::string = std::__cxx11::basic_string<char>]’
- streamin_extractor_music.cpp:124:58: required from here
- /usr/include/c++/5/bits/stl_algobase.h:549:18: error: ambiguous overload for ‘operator=’ (operand types are ‘mlpack::tree::DecisionTree<mlpack::tree::GiniGain, mlpack::tree::BestBinaryNumericSplit, mlpack::tree::AllCategoricalSplit, mlpack::tree::MultipleRandomDimensionSelect<>, double, false>’ and ‘mlpack::tree::DecisionTree<mlpack::tree::GiniGain, mlpack::tree::BestBinaryNumericSplit, mlpack::tree::AllCategoricalSplit, mlpack::tree::MultipleRandomDimensionSelect<>, double, false>’)
- *--__result = *--__last;
- ^
- In file included from /usr/local/include/mlpack/methods/decision_tree/decision_tree.hpp:460:0,
- from /usr/local/include/mlpack/methods/random_forest/random_forest.hpp:15,
- from streamin_extractor_music.cpp:33:
- /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:242:1: note: candidate: mlpack::tree::DecisionTree<FitnessFunction, NumericSplitType, CategoricalSplitType, DimensionSelectionType, ElemType, NoRecursion>& mlpack::tree::DecisionTree<FitnessFunction, NumericSplitType, CategoricalSplitType, DimensionSelectionType, ElemType, NoRecursion>::operator=(const mlpack::tree::DecisionTree<FitnessFunction, NumericSplitType, CategoricalSplitType, DimensionSelectionType, ElemType, NoRecursion>&) [with FitnessFunction = mlpack::tree::GiniGain; NumericSplitType = mlpack::tree::BestBinaryNumericSplit; CategoricalSplitType = mlpack::tree::AllCategoricalSplit; DimensionSelectionType = mlpack::tree::MultipleRandomDimensionSelect<>; ElemType = double; bool NoRecursion = false]
- DecisionTree<FitnessFunction,
- ^
- /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:286:1: note: candidate: mlpack::tree::DecisionTree<FitnessFunction, NumericSplitType, CategoricalSplitType, DimensionSelectionType, ElemType, NoRecursion>& mlpack::tree::DecisionTree<FitnessFunction, NumericSplitType, CategoricalSplitType, DimensionSelectionType, ElemType, NoRecursion>::operator=(mlpack::tree::DecisionTree<FitnessFunction, NumericSplitType, CategoricalSplitType, DimensionSelectionType, ElemType, NoRecursion>) [with FitnessFunction = mlpack::tree::GiniGain; NumericSplitType = mlpack::tree::BestBinaryNumericSplit; CategoricalSplitType = mlpack::tree::AllCategoricalSplit; DimensionSelectionType = mlpack::tree::MultipleRandomDimensionSelect<>; ElemType = double; bool NoRecursion = false; mlpack::tree::DecisionTree<FitnessFunction, NumericSplitType, CategoricalSplitType, DimensionSelectionType, ElemType, NoRecursion> = mlpack::tree::DecisionTree<mlpack::tree::GiniGain, mlpack::tree::BestBinaryNumericSplit, mlpack::tree::AllCategoricalSplit, mlpack::tree::MultipleRandomDimensionSelect<>, double, false>]
- DecisionTree<FitnessFunction,
- ^
- In file included from /usr/include/c++/5/vector:69:0,
- from /usr/local/include/essentia/types.h:24,
- from /usr/local/include/essentia/essentia.h:24,
- from streamin_extractor_music.cpp:24:
- /usr/include/c++/5/bits/vector.tcc: In instantiation of ‘void std::vector<_Tp, _Alloc>::_M_insert_aux(std::vector<_Tp, _Alloc>::iterator, const _Tp&) [with _Tp = mlpack::tree::DecisionTree<mlpack::tree::GiniGain, mlpack::tree::BestBinaryNumericSplit, mlpack::tree::AllCategoricalSplit, mlpack::tree::MultipleRandomDimensionSelect<>, double, false>; _Alloc = std::allocator<mlpack::tree::DecisionTree<mlpack::tree::GiniGain, mlpack::tree::BestBinaryNumericSplit, mlpack::tree::AllCategoricalSplit, mlpack::tree::MultipleRandomDimensionSelect<>, double, false> >; std::vector<_Tp, _Alloc>::iterator = __gnu_cxx::__normal_iterator<mlpack::tree::DecisionTree<mlpack::tree::GiniGain, mlpack::tree::BestBinaryNumericSplit, mlpack::tree::AllCategoricalSplit, mlpack::tree::MultipleRandomDimensionSelect<>, double, false>*, std::vector<mlpack::tree::DecisionTree<mlpack::tree::GiniGain, mlpack::tree::BestBinaryNumericSplit, mlpack::tree::AllCategoricalSplit, mlpack::tree::MultipleRandomDimensionSelect<>, double, false>, std::allocator<mlpack::tree::DecisionTree<mlpack::tree::GiniGain, mlpack::tree::BestBinaryNumericSplit, mlpack::tree::AllCategoricalSplit, mlpack::tree::MultipleRandomDimensionSelect<>, double, false> > > >; typename std::_Vector_base<_Tp, _Alloc>::pointer = mlpack::tree::DecisionTree<mlpack::tree::GiniGain, mlpack::tree::BestBinaryNumericSplit, mlpack::tree::AllCategoricalSplit, mlpack::tree::MultipleRandomDimensionSelect<>, double, false>*]’:
- /usr/include/c++/5/bits/stl_vector.h:925:17: required from ‘void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = mlpack::tree::DecisionTree<mlpack::tree::GiniGain, mlpack::tree::BestBinaryNumericSplit, mlpack::tree::AllCategoricalSplit, mlpack::tree::MultipleRandomDimensionSelect<>, double, false>; _Alloc = std::allocator<mlpack::tree::DecisionTree<mlpack::tree::GiniGain, mlpack::tree::BestBinaryNumericSplit, mlpack::tree::AllCategoricalSplit, mlpack::tree::MultipleRandomDimensionSelect<>, double, false> >; std::vector<_Tp, _Alloc>::value_type = mlpack::tree::DecisionTree<mlpack::tree::GiniGain, mlpack::tree::BestBinaryNumericSplit, mlpack::tree::AllCategoricalSplit, mlpack::tree::MultipleRandomDimensionSelect<>, double, false>]’
- /usr/local/include/mlpack/core/boost_backport/collections_load_imp.hpp:96:9: required from ‘typename boost::disable_if<boost::serialization::detail::is_default_constructible<typename T::value_type>, void>::type boost::serialization::stl::collection_load_impl(Archive&, T&, boost::serialization::collection_size_type, boost::serialization::item_version_type) [with Archive = boost::archive::xml_iarchive; T = std::vector<mlpack::tree::DecisionTree<mlpack::tree::GiniGain, mlpack::tree::BestBinaryNumericSplit, mlpack::tree::AllCategoricalSplit, mlpack::tree::MultipleRandomDimensionSelect<>, double, false>, std::allocator<mlpack::tree::DecisionTree<mlpack::tree::GiniGain, mlpack::tree::BestBinaryNumericSplit, mlpack::tree::AllCategoricalSplit, mlpack::tree::MultipleRandomDimensionSelect<>, double, false> > >; typename boost::disable_if<boost::serialization::detail::is_default_constructible<typename T::value_type>, void>::type = void]’
- /usr/local/include/mlpack/core/boost_backport/vector.hpp:91:30: required from ‘void boost::serialization::load(Archive&, std::vector<U, Allocator>&, unsigned int, mpl_::false_) [with Archive = boost::archive::xml_iarchive; U = mlpack::tree::DecisionTree<mlpack::tree::GiniGain, mlpack::tree::BestBinaryNumericSplit, mlpack::tree::AllCategoricalSplit, mlpack::tree::MultipleRandomDimensionSelect<>, double, false>; Allocator = std::allocator<mlpack::tree::DecisionTree<mlpack::tree::GiniGain, mlpack::tree::BestBinaryNumericSplit, mlpack::tree::AllCategoricalSplit, mlpack::tree::MultipleRandomDimensionSelect<>, double, false> >; mpl_::false_ = mpl_::bool_<false>]’
- /usr/local/include/mlpack/core/boost_backport/vector.hpp:159:9: required from ‘void boost::serialization::load(Archive&, std::vector<U, Allocator>&, unsigned int) [with Archive = boost::archive::xml_iarchive; U = mlpack::tree::DecisionTree<mlpack::tree::GiniGain, mlpack::tree::BestBinaryNumericSplit, mlpack::tree::AllCategoricalSplit, mlpack::tree::MultipleRandomDimensionSelect<>, double, false>; Allocator = std::allocator<mlpack::tree::DecisionTree<mlpack::tree::GiniGain, mlpack::tree::BestBinaryNumericSplit, mlpack::tree::AllCategoricalSplit, mlpack::tree::MultipleRandomDimensionSelect<>, double, false> >]’
- /usr/include/boost/serialization/split_free.hpp:58:13: required from ‘static void boost::serialization::free_loader<Archive, T>::invoke(Archive&, T&, unsigned int) [with Archive = boost::archive::xml_iarchive; T = std::vector<mlpack::tree::DecisionTree<mlpack::tree::GiniGain, mlpack::tree::BestBinaryNumericSplit, mlpack::tree::AllCategoricalSplit, mlpack::tree::MultipleRandomDimensionSelect<>, double, false>, std::allocator<mlpack::tree::DecisionTree<mlpack::tree::GiniGain, mlpack::tree::BestBinaryNumericSplit, mlpack::tree::AllCategoricalSplit, mlpack::tree::MultipleRandomDimensionSelect<>, double, false> > >]’
- /usr/include/boost/serialization/split_free.hpp:74:18: [ skipping 22 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
- /usr/include/boost/archive/detail/common_iarchive.hpp:66:22: required from ‘void boost::archive::detail::common_iarchive<Archive>::load_override(T&, int) [with T = mlpack::tree::RandomForest<>; Archive = boost::archive::xml_iarchive]’
- /usr/include/boost/archive/basic_xml_iarchive.hpp:92:9: required from ‘void boost::archive::basic_xml_iarchive<Archive>::load_override(const boost::serialization::nvp<T>&, int) [with T = mlpack::tree::RandomForest<>; Archive = boost::archive::xml_iarchive]’
- /usr/include/boost/archive/xml_iarchive.hpp:103:51: required from ‘void boost::archive::xml_iarchive_impl<Archive>::load_override(T&, int) [with T = const boost::serialization::nvp<mlpack::tree::RandomForest<> >; Archive = boost::archive::xml_iarchive]’
- /usr/include/boost/archive/detail/interface_iarchive.hpp:60:9: required from ‘Archive& boost::archive::detail::interface_iarchive<Archive>::operator>>(T&) [with T = const boost::serialization::nvp<mlpack::tree::RandomForest<> >; Archive = boost::archive::xml_iarchive]’
- /usr/local/include/mlpack/core/data/load_model_impl.hpp:93:10: required from ‘bool mlpack::data::Load(const string&, const string&, T&, bool, mlpack::data::format) [with T = mlpack::tree::RandomForest<>; std::__cxx11::string = std::__cxx11::basic_string<char>]’
- streamin_extractor_music.cpp:124:58: required from here
- /usr/include/c++/5/bits/vector.tcc:343:16: error: ambiguous overload for ‘operator=’ (operand types are ‘mlpack::tree::DecisionTree<mlpack::tree::GiniGain, mlpack::tree::BestBinaryNumericSplit, mlpack::tree::AllCategoricalSplit, mlpack::tree::MultipleRandomDimensionSelect<>, double, false>’ and ‘mlpack::tree::DecisionTree<mlpack::tree::GiniGain, mlpack::tree::BestBinaryNumericSplit, mlpack::tree::AllCategoricalSplit, mlpack::tree::MultipleRandomDimensionSelect<>, double, false>’)
- *__position = __x_copy;
- ^
- In file included from /usr/local/include/mlpack/methods/decision_tree/decision_tree.hpp:460:0,
- from /usr/local/include/mlpack/methods/random_forest/random_forest.hpp:15,
- from streamin_extractor_music.cpp:33:
- /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:242:1: note: candidate: mlpack::tree::DecisionTree<FitnessFunction, NumericSplitType, CategoricalSplitType, DimensionSelectionType, ElemType, NoRecursion>& mlpack::tree::DecisionTree<FitnessFunction, NumericSplitType, CategoricalSplitType, DimensionSelectionType, ElemType, NoRecursion>::operator=(const mlpack::tree::DecisionTree<FitnessFunction, NumericSplitType, CategoricalSplitType, DimensionSelectionType, ElemType, NoRecursion>&) [with FitnessFunction = mlpack::tree::GiniGain; NumericSplitType = mlpack::tree::BestBinaryNumericSplit; CategoricalSplitType = mlpack::tree::AllCategoricalSplit; DimensionSelectionType = mlpack::tree::MultipleRandomDimensionSelect<>; ElemType = double; bool NoRecursion = false]
- DecisionTree<FitnessFunction,
- ^
- /usr/local/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:286:1: note: candidate: mlpack::tree::DecisionTree<FitnessFunction, NumericSplitType, CategoricalSplitType, DimensionSelectionType, ElemType, NoRecursion>& mlpack::tree::DecisionTree<FitnessFunction, NumericSplitType, CategoricalSplitType, DimensionSelectionType, ElemType, NoRecursion>::operator=(mlpack::tree::DecisionTree<FitnessFunction, NumericSplitType, CategoricalSplitType, DimensionSelectionType, ElemType, NoRecursion>) [with FitnessFunction = mlpack::tree::GiniGain; NumericSplitType = mlpack::tree::BestBinaryNumericSplit; CategoricalSplitType = mlpack::tree::AllCategoricalSplit; DimensionSelectionType = mlpack::tree::MultipleRandomDimensionSelect<>; ElemType = double; bool NoRecursion = false; mlpack::tree::DecisionTree<FitnessFunction, NumericSplitType, CategoricalSplitType, DimensionSelectionType, ElemType, NoRecursion> = mlpack::tree::DecisionTree<mlpack::tree::GiniGain, mlpack::tree::BestBinaryNumericSplit, mlpack::tree::AllCategoricalSplit, mlpack::tree::MultipleRandomDimensionSelect<>, double, false>]
- DecisionTree<FitnessFunction,
- ^
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement