Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- knakul853@knakul853-HP-Laptop-15-bs1xx:~/Desktop/mlpack/mlpack/build$ make -j4
- [ 0%] Updating arma_config.hpp (if necessary)
- [ 1%] Updating gitversion.hpp (if necessary)
- [ 1%] Built target mlpack_arma_config
- -- Found Git: /usr/bin/git (found version "2.7.4")
- -- gitversion.hpp is already up to date.
- [ 1%] Built target mlpack_gitversion
- Moving header files to include/mlpack/
- [ 1%] Built target mlpack_headers
- [ 1%] Generating mlpack.pc (pkg-config) file.
- [ 1%] Built target pkgconfig
- [ 10%] Built target mlpack
- [ 10%] Built target mlpack_adaboost
- [ 10%] Built target mlpack_cf
- [ 11%] Built target mlpack_approx_kfn
- [ 11%] Built target mlpack_decision_stump
- [ 12%] Built target mlpack_dbscan
- [ 12%] Built target mlpack_decision_tree
- [ 13%] Built target mlpack_det
- [ 13%] Built target mlpack_emst
- [ 13%] Built target python_copy
- [ 13%] Built target mlpack_gmm_generate
- [ 13%] Built target mlpack_fastmks
- [ 14%] Built target mlpack_gmm_train
- [ 14%] Built target mlpack_gmm_probability
- [ 14%] Built target mlpack_hmm_loglik
- [ 15%] Built target mlpack_hmm_train
- [ 15%] Built target mlpack_hmm_viterbi
- [ 15%] Built target mlpack_hmm_generate
- [ 15%] Built target mlpack_hoeffding_tree
- [ 16%] Built target mlpack_kde
- [ 16%] Built target mlpack_kernel_pca
- [ 16%] Built target mlpack_kmeans
- [ 16%] Built target mlpack_lars
- [ 16%] Built target mlpack_linear_regression
- [ 17%] Built target mlpack_linear_svm
- [ 17%] Built target mlpack_lmnn
- [ 17%] Built target mlpack_local_coordinate_coding
- [ 18%] Built target mlpack_logistic_regression
- [ 18%] Built target mlpack_nca
- [ 18%] Built target mlpack_lsh
- [ 18%] Built target mlpack_nbc
- [ 19%] Built target mlpack_mean_shift
- [ 20%] Built target mlpack_kfn
- [ 21%] Built target mlpack_nmf
- [ 21%] Built target mlpack_pca
- [ 21%] Built target mlpack_knn
- [ 21%] Built target mlpack_perceptron
- [ 21%] Built target mlpack_preprocess_scale
- [ 22%] Built target mlpack_preprocess_describe
- [ 23%] Built target mlpack_preprocess_split
- [ 23%] Built target mlpack_preprocess_binarize
- [ 23%] Built target mlpack_preprocess_imputer
- [ 23%] Built target mlpack_radical
- [ 23%] Built target mlpack_random_forest
- [ 24%] Built target mlpack_krann
- [ 25%] Built target mlpack_range_search
- [ 26%] Configuring setup.py...
- Scanning dependencies of target mlpack_softmax_regression
- [ 27%] Built target mlpack_sparse_coding
- -- Run with /usr/lib/x86_64-linux-gnu/libboost_serialization.so.
- [ 27%] Built target python_configure
- [ 27%] Building CXX object src/mlpack/methods/softmax_regression/CMakeFiles/mlpack_softmax_regression.dir/softmax_regression_main.cpp.o
- Scanning dependencies of target mlpack_test
- [ 27%] Building CXX object src/mlpack/tests/CMakeFiles/mlpack_test.dir/callback_test.cpp.o
- [ 27%] Building CXX object src/mlpack/tests/CMakeFiles/mlpack_test.dir/cv_test.cpp.o
- In file included from /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/mlpack_main.hpp:89:0,
- from /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/methods/softmax_regression/softmax_regression_main.cpp:13:
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:1182:40: error: template argument 1 is invalid
- static mlpack::util::Option<TYPE*> \
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:946:5: note: in expansion of macro ‘PARAM_MODEL’
- PARAM_MODEL(TYPE, ID, DESC, ALIAS, false, true)
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/methods/softmax_regression/softmax_regression_main.cpp:97:1: note: in expansion of macro ‘PARAM_MODEL_IN’
- PARAM_MODEL_IN(SoftmaxRegression, "input_model", "File containing existing "
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:1184:65: error: expression list treated as compound expression in initializer [-fpermissive]
- (nullptr, ID, DESC, ALIAS, #TYPE, REQ, IN, false, testName);
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:946:5: note: in expansion of macro ‘PARAM_MODEL’
- PARAM_MODEL(TYPE, ID, DESC, ALIAS, false, true)
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/methods/softmax_regression/softmax_regression_main.cpp:97:1: note: in expansion of macro ‘PARAM_MODEL_IN’
- PARAM_MODEL_IN(SoftmaxRegression, "input_model", "File containing existing "
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:1184:65: warning: left operand of comma operator has no effect [-Wunused-value]
- (nullptr, ID, DESC, ALIAS, #TYPE, REQ, IN, false, testName);
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:946:5: note: in expansion of macro ‘PARAM_MODEL’
- PARAM_MODEL(TYPE, ID, DESC, ALIAS, false, true)
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/methods/softmax_regression/softmax_regression_main.cpp:97:1: note: in expansion of macro ‘PARAM_MODEL_IN’
- PARAM_MODEL_IN(SoftmaxRegression, "input_model", "File containing existing "
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:1184:65: warning: right operand of comma operator has no effect [-Wunused-value]
- (nullptr, ID, DESC, ALIAS, #TYPE, REQ, IN, false, testName);
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:946:5: note: in expansion of macro ‘PARAM_MODEL’
- PARAM_MODEL(TYPE, ID, DESC, ALIAS, false, true)
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/methods/softmax_regression/softmax_regression_main.cpp:97:1: note: in expansion of macro ‘PARAM_MODEL_IN’
- PARAM_MODEL_IN(SoftmaxRegression, "input_model", "File containing existing "
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:1184:65: warning: right operand of comma operator has no effect [-Wunused-value]
- (nullptr, ID, DESC, ALIAS, #TYPE, REQ, IN, false, testName);
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:946:5: note: in expansion of macro ‘PARAM_MODEL’
- PARAM_MODEL(TYPE, ID, DESC, ALIAS, false, true)
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/methods/softmax_regression/softmax_regression_main.cpp:97:1: note: in expansion of macro ‘PARAM_MODEL_IN’
- PARAM_MODEL_IN(SoftmaxRegression, "input_model", "File containing existing "
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:1184:65: warning: right operand of comma operator has no effect [-Wunused-value]
- (nullptr, ID, DESC, ALIAS, #TYPE, REQ, IN, false, testName);
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:946:5: note: in expansion of macro ‘PARAM_MODEL’
- PARAM_MODEL(TYPE, ID, DESC, ALIAS, false, true)
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/methods/softmax_regression/softmax_regression_main.cpp:97:1: note: in expansion of macro ‘PARAM_MODEL_IN’
- PARAM_MODEL_IN(SoftmaxRegression, "input_model", "File containing existing "
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:1184:65: warning: right operand of comma operator has no effect [-Wunused-value]
- (nullptr, ID, DESC, ALIAS, #TYPE, REQ, IN, false, testName);
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:946:5: note: in expansion of macro ‘PARAM_MODEL’
- PARAM_MODEL(TYPE, ID, DESC, ALIAS, false, true)
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/methods/softmax_regression/softmax_regression_main.cpp:97:1: note: in expansion of macro ‘PARAM_MODEL_IN’
- PARAM_MODEL_IN(SoftmaxRegression, "input_model", "File containing existing "
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:1184:65: warning: right operand of comma operator has no effect [-Wunused-value]
- (nullptr, ID, DESC, ALIAS, #TYPE, REQ, IN, false, testName);
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:946:5: note: in expansion of macro ‘PARAM_MODEL’
- PARAM_MODEL(TYPE, ID, DESC, ALIAS, false, true)
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/methods/softmax_regression/softmax_regression_main.cpp:97:1: note: in expansion of macro ‘PARAM_MODEL_IN’
- PARAM_MODEL_IN(SoftmaxRegression, "input_model", "File containing existing "
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:1184:65: warning: right operand of comma operator has no effect [-Wunused-value]
- (nullptr, ID, DESC, ALIAS, #TYPE, REQ, IN, false, testName);
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:946:5: note: in expansion of macro ‘PARAM_MODEL’
- PARAM_MODEL(TYPE, ID, DESC, ALIAS, false, true)
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/methods/softmax_regression/softmax_regression_main.cpp:97:1: note: in expansion of macro ‘PARAM_MODEL_IN’
- PARAM_MODEL_IN(SoftmaxRegression, "input_model", "File containing existing "
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:1184:65: warning: right operand of comma operator has no effect [-Wunused-value]
- (nullptr, ID, DESC, ALIAS, #TYPE, REQ, IN, false, testName);
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:946:5: note: in expansion of macro ‘PARAM_MODEL’
- PARAM_MODEL(TYPE, ID, DESC, ALIAS, false, true)
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/methods/softmax_regression/softmax_regression_main.cpp:97:1: note: in expansion of macro ‘PARAM_MODEL_IN’
- PARAM_MODEL_IN(SoftmaxRegression, "input_model", "File containing existing "
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:1184:65: error: cannot convert ‘const string {aka const std::__cxx11::basic_string<char>}’ to ‘int’ in initialization
- (nullptr, ID, DESC, ALIAS, #TYPE, REQ, IN, false, testName);
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:946:5: note: in expansion of macro ‘PARAM_MODEL’
- PARAM_MODEL(TYPE, ID, DESC, ALIAS, false, true)
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/methods/softmax_regression/softmax_regression_main.cpp:97:1: note: in expansion of macro ‘PARAM_MODEL_IN’
- PARAM_MODEL_IN(SoftmaxRegression, "input_model", "File containing existing "
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:1182:40: error: template argument 1 is invalid
- static mlpack::util::Option<TYPE*> \
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:1005:5: note: in expansion of macro ‘PARAM_MODEL’
- PARAM_MODEL(TYPE, ID, DESC, ALIAS, false, false)
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/methods/softmax_regression/softmax_regression_main.cpp:99:1: note: in expansion of macro ‘PARAM_MODEL_OUT’
- PARAM_MODEL_OUT(SoftmaxRegression, "output_model", "File to save trained "
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:1184:65: error: expression list treated as compound expression in initializer [-fpermissive]
- (nullptr, ID, DESC, ALIAS, #TYPE, REQ, IN, false, testName);
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:1005:5: note: in expansion of macro ‘PARAM_MODEL’
- PARAM_MODEL(TYPE, ID, DESC, ALIAS, false, false)
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/methods/softmax_regression/softmax_regression_main.cpp:99:1: note: in expansion of macro ‘PARAM_MODEL_OUT’
- PARAM_MODEL_OUT(SoftmaxRegression, "output_model", "File to save trained "
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:1184:65: warning: left operand of comma operator has no effect [-Wunused-value]
- (nullptr, ID, DESC, ALIAS, #TYPE, REQ, IN, false, testName);
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:1005:5: note: in expansion of macro ‘PARAM_MODEL’
- PARAM_MODEL(TYPE, ID, DESC, ALIAS, false, false)
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/methods/softmax_regression/softmax_regression_main.cpp:99:1: note: in expansion of macro ‘PARAM_MODEL_OUT’
- PARAM_MODEL_OUT(SoftmaxRegression, "output_model", "File to save trained "
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:1184:65: warning: right operand of comma operator has no effect [-Wunused-value]
- (nullptr, ID, DESC, ALIAS, #TYPE, REQ, IN, false, testName);
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:1005:5: note: in expansion of macro ‘PARAM_MODEL’
- PARAM_MODEL(TYPE, ID, DESC, ALIAS, false, false)
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/methods/softmax_regression/softmax_regression_main.cpp:99:1: note: in expansion of macro ‘PARAM_MODEL_OUT’
- PARAM_MODEL_OUT(SoftmaxRegression, "output_model", "File to save trained "
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:1184:65: warning: right operand of comma operator has no effect [-Wunused-value]
- (nullptr, ID, DESC, ALIAS, #TYPE, REQ, IN, false, testName);
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:1005:5: note: in expansion of macro ‘PARAM_MODEL’
- PARAM_MODEL(TYPE, ID, DESC, ALIAS, false, false)
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/methods/softmax_regression/softmax_regression_main.cpp:99:1: note: in expansion of macro ‘PARAM_MODEL_OUT’
- PARAM_MODEL_OUT(SoftmaxRegression, "output_model", "File to save trained "
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:1184:65: warning: right operand of comma operator has no effect [-Wunused-value]
- (nullptr, ID, DESC, ALIAS, #TYPE, REQ, IN, false, testName);
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:1005:5: note: in expansion of macro ‘PARAM_MODEL’
- PARAM_MODEL(TYPE, ID, DESC, ALIAS, false, false)
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/methods/softmax_regression/softmax_regression_main.cpp:99:1: note: in expansion of macro ‘PARAM_MODEL_OUT’
- PARAM_MODEL_OUT(SoftmaxRegression, "output_model", "File to save trained "
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:1184:65: warning: right operand of comma operator has no effect [-Wunused-value]
- (nullptr, ID, DESC, ALIAS, #TYPE, REQ, IN, false, testName);
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:1005:5: note: in expansion of macro ‘PARAM_MODEL’
- PARAM_MODEL(TYPE, ID, DESC, ALIAS, false, false)
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/methods/softmax_regression/softmax_regression_main.cpp:99:1: note: in expansion of macro ‘PARAM_MODEL_OUT’
- PARAM_MODEL_OUT(SoftmaxRegression, "output_model", "File to save trained "
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:1184:65: warning: right operand of comma operator has no effect [-Wunused-value]
- (nullptr, ID, DESC, ALIAS, #TYPE, REQ, IN, false, testName);
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:1005:5: note: in expansion of macro ‘PARAM_MODEL’
- PARAM_MODEL(TYPE, ID, DESC, ALIAS, false, false)
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/methods/softmax_regression/softmax_regression_main.cpp:99:1: note: in expansion of macro ‘PARAM_MODEL_OUT’
- PARAM_MODEL_OUT(SoftmaxRegression, "output_model", "File to save trained "
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:1184:65: warning: right operand of comma operator has no effect [-Wunused-value]
- (nullptr, ID, DESC, ALIAS, #TYPE, REQ, IN, false, testName);
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:1005:5: note: in expansion of macro ‘PARAM_MODEL’
- PARAM_MODEL(TYPE, ID, DESC, ALIAS, false, false)
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/methods/softmax_regression/softmax_regression_main.cpp:99:1: note: in expansion of macro ‘PARAM_MODEL_OUT’
- PARAM_MODEL_OUT(SoftmaxRegression, "output_model", "File to save trained "
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:1184:65: warning: right operand of comma operator has no effect [-Wunused-value]
- (nullptr, ID, DESC, ALIAS, #TYPE, REQ, IN, false, testName);
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:1005:5: note: in expansion of macro ‘PARAM_MODEL’
- PARAM_MODEL(TYPE, ID, DESC, ALIAS, false, false)
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/methods/softmax_regression/softmax_regression_main.cpp:99:1: note: in expansion of macro ‘PARAM_MODEL_OUT’
- PARAM_MODEL_OUT(SoftmaxRegression, "output_model", "File to save trained "
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:1184:65: error: cannot convert ‘const string {aka const std::__cxx11::basic_string<char>}’ to ‘int’ in initialization
- (nullptr, ID, DESC, ALIAS, #TYPE, REQ, IN, false, testName);
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:1005:5: note: in expansion of macro ‘PARAM_MODEL’
- PARAM_MODEL(TYPE, ID, DESC, ALIAS, false, false)
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/methods/softmax_regression/softmax_regression_main.cpp:99:1: note: in expansion of macro ‘PARAM_MODEL_OUT’
- PARAM_MODEL_OUT(SoftmaxRegression, "output_model", "File to save trained "
- ^
- /usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'project_urls'
- warnings.warn(msg)
- /usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'long_description_content_type'
- warnings.warn(msg)
- running build
- running build_py
- copying ./mlpack/matrix_utils.py -> build/lib.linux-x86_64-2.7/mlpack
- [ 27%] Built target python_configured
- [ 27%] Building CXX object src/mlpack/tests/CMakeFiles/mlpack_test.dir/rbm_network_test.cpp.o
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:1183:12: warning: ‘cli_option_dummy_model_6’ defined but not used [-Wunused-variable]
- JOIN(cli_option_dummy_model_, __COUNTER__) \
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:1112:26: note: in definition of macro ‘JOIN_AGAIN’
- #define JOIN_AGAIN(x, y) x ## y
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:1183:7: note: in expansion of macro ‘JOIN’
- JOIN(cli_option_dummy_model_, __COUNTER__) \
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:946:5: note: in expansion of macro ‘PARAM_MODEL’
- PARAM_MODEL(TYPE, ID, DESC, ALIAS, false, true)
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/methods/softmax_regression/softmax_regression_main.cpp:97:1: note: in expansion of macro ‘PARAM_MODEL_IN’
- PARAM_MODEL_IN(SoftmaxRegression, "input_model", "File containing existing "
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:1183:12: warning: ‘cli_option_dummy_model_7’ defined but not used [-Wunused-variable]
- JOIN(cli_option_dummy_model_, __COUNTER__) \
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:1112:26: note: in definition of macro ‘JOIN_AGAIN’
- #define JOIN_AGAIN(x, y) x ## y
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:1183:7: note: in expansion of macro ‘JOIN’
- JOIN(cli_option_dummy_model_, __COUNTER__) \
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/core/util/param.hpp:1005:5: note: in expansion of macro ‘PARAM_MODEL’
- PARAM_MODEL(TYPE, ID, DESC, ALIAS, false, false)
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/methods/softmax_regression/softmax_regression_main.cpp:99:1: note: in expansion of macro ‘PARAM_MODEL_OUT’
- PARAM_MODEL_OUT(SoftmaxRegression, "output_model", "File to save trained "
- ^
- src/mlpack/methods/softmax_regression/CMakeFiles/mlpack_softmax_regression.dir/build.make:62: recipe for target 'src/mlpack/methods/softmax_regression/CMakeFiles/mlpack_softmax_regression.dir/softmax_regression_main.cpp.o' failed
- make[2]: *** [src/mlpack/methods/softmax_regression/CMakeFiles/mlpack_softmax_regression.dir/softmax_regression_main.cpp.o] Error 1
- CMakeFiles/Makefile2:7473: recipe for target 'src/mlpack/methods/softmax_regression/CMakeFiles/mlpack_softmax_regression.dir/all' failed
- make[1]: *** [src/mlpack/methods/softmax_regression/CMakeFiles/mlpack_softmax_regression.dir/all] Error 2
- make[1]: *** Waiting for unfinished jobs....
- [ 27%] Building CXX object src/mlpack/tests/CMakeFiles/mlpack_test.dir/serialization_test.cpp.o
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/tests/rbm_network_test.cpp: In member function ‘void RBMNetworkTest::BinaryRBMClassificationTest::test_method()’:
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/tests/rbm_network_test.cpp:107:21: error: missing template arguments before ‘regressor’
- SoftmaxRegression regressor(trainData, trainLabels,
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/tests/rbm_network_test.cpp:110:35: error: ‘regressor’ was not declared in this scope
- double classificationAccuracy = regressor.ComputeAccuracy(testData,
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/tests/rbm_network_test.cpp:114:21: error: missing template arguments before ‘rbmRegressor’
- SoftmaxRegression rbmRegressor(XRbm, trainLabels, numClasses,
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/tests/rbm_network_test.cpp:116:38: error: ‘rbmRegressor’ was not declared in this scope
- double rbmClassificationAccuracy = rbmRegressor.ComputeAccuracy(YRbm,
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/tests/rbm_network_test.cpp:101:16: warning: unused variable ‘numClasses’ [-Wunused-variable]
- const size_t numClasses = 10; // Number of classes.
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/tests/rbm_network_test.cpp: In member function ‘void RBMNetworkTest::ssRBMClassificationTest::test_method()’:
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/tests/rbm_network_test.cpp:208:21: error: missing template arguments before ‘ssRbmRegressor’
- SoftmaxRegression ssRbmRegressor(XRbm, trainLabels, numClasses,
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/tests/rbm_network_test.cpp:210:40: error: ‘ssRbmRegressor’ was not declared in this scope
- double ssRbmClassificationAccuracy = ssRbmRegressor.ComputeAccuracy(
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/tests/rbm_network_test.cpp:203:16: warning: unused variable ‘numClasses’ [-Wunused-variable]
- const size_t numClasses = 10; // Number of classes.
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/tests/cv_test.cpp: In member function ‘void CVTest::PredictionsTypeTest::test_method()’:
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/tests/cv_test.cpp:216:62: error: no matching function for call to ‘CheckPredictionsType()’
- CheckPredictionsType<SoftmaxRegression, arma::Row<size_t>>();
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/tests/cv_test.cpp:198:6: note: candidate: template<class Class, class ExpectedPT, class PassedMT, class PassedPT> void CVTest::CheckPredictionsType()
- void CheckPredictionsType()
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/tests/cv_test.cpp:198:6: note: template argument deduction/substitution failed:
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/tests/serialization_test.cpp: In member function ‘void SerializationTest::SoftmaxRegressionTest::test_method()’:
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/tests/serialization_test.cpp:670:21: error: missing template arguments before ‘sr’
- SoftmaxRegression sr(dataset, labels, 2);
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/tests/serialization_test.cpp:672:21: error: missing template arguments before ‘srXml’
- SoftmaxRegression srXml(dataset.n_rows, 2);
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/tests/serialization_test.cpp:673:21: error: missing template arguments before ‘srText’
- SoftmaxRegression srText(dataset.n_rows, 2);
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/tests/serialization_test.cpp:674:21: error: missing template arguments before ‘srBinary’
- SoftmaxRegression srBinary(dataset.n_rows, 2);
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/tests/serialization_test.cpp:676:22: error: ‘sr’ was not declared in this scope
- SerializeObjectAll(sr, srXml, srText, srBinary);
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/tests/serialization_test.cpp:676:26: error: ‘srXml’ was not declared in this scope
- SerializeObjectAll(sr, srXml, srText, srBinary);
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/tests/serialization_test.cpp:676:33: error: ‘srText’ was not declared in this scope
- SerializeObjectAll(sr, srXml, srText, srBinary);
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/tests/serialization_test.cpp:676:41: error: ‘srBinary’ was not declared in this scope
- SerializeObjectAll(sr, srXml, srText, srBinary);
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/tests/cv_test.cpp: In member function ‘void CVTest::TakesDatasetInfoTest::test_method()’:
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/tests/cv_test.cpp:279:53: error: type/value mismatch at argument 1 in template parameter list for ‘template<class MLAlgorithm, class MT, class PT, class WT> class mlpack::cv::MetaInfoExtractor’
- static_assert(!MetaInfoExtractor<SoftmaxRegression>::TakesDatasetInfo,
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/tests/cv_test.cpp:279:53: note: expected a type, got ‘SoftmaxRegression’
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/tests/cv_test.cpp: In member function ‘void CVTest::TakesNumClassesTest::test_method()’:
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/tests/cv_test.cpp:291:52: error: type/value mismatch at argument 1 in template parameter list for ‘template<class MLAlgorithm, class MT, class PT, class WT> class mlpack::cv::MetaInfoExtractor’
- static_assert(MetaInfoExtractor<SoftmaxRegression>::TakesNumClasses,
- ^
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/tests/cv_test.cpp:291:52: note: expected a type, got ‘SoftmaxRegression’
- In file included from /usr/include/ensmallen_bits/sgd/sgd.hpp:252:0,
- from /usr/include/ensmallen_bits/ada_delta/ada_delta.hpp:19,
- from /usr/include/ensmallen.hpp:75,
- from /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/tests/callback_test.cpp:11:
- /usr/include/ensmallen_bits/sgd/sgd_impl.hpp: In instantiation of ‘typename std::enable_if<ens::IsArmaType<GradType>::value, typename MatType::elem_type>::type ens::SGD<UpdatePolicyType, DecayPolicyType>::Optimize(DecomposableFunctionType&, MatType&, CallbackTypes&& ...) [with DecomposableFunctionType = mlpack::regression::SoftmaxRegressionFunction; MatType = arma::Mat<double>; GradType = arma::Mat<double>; CallbackTypes = {ens::PrintLoss&}; UpdatePolicyType = ens::VanillaUpdate; DecayPolicyType = ens::NoDecay; typename std::enable_if<ens::IsArmaType<GradType>::value, typename MatType::elem_type>::type = double]’:
- /usr/include/ensmallen_bits/sgd/sgd.hpp:137:26: required from ‘typename MatType::elem_type ens::SGD<UpdatePolicyType, DecayPolicyType>::Optimize(DecomposableFunctionType&, MatType&, CallbackTypes&& ...) [with DecomposableFunctionType = mlpack::regression::SoftmaxRegressionFunction; MatType = arma::Mat<double>; CallbackTypes = {ens::PrintLoss&}; UpdatePolicyType = ens::VanillaUpdate; DecayPolicyType = ens::NoDecay; typename MatType::elem_type = double]’
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/methods/softmax_regression/softmax_regression_impl.hpp:73:76: required from ‘double mlpack::regression::SoftmaxRegression<MatType>::Train(const MatType&, const arma::Row<long unsigned int>&, size_t, OptimizerType, CallbackTypes&& ...) [with OptimizerType = ens::SGD<ens::VanillaUpdate>; CallbackTypes = {ens::PrintLoss}; MatType = arma::Mat<double>; size_t = long unsigned int]’
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/tests/callback_test.cpp:206:27: required from here
- /usr/include/ensmallen_bits/sgd/sgd_impl.hpp:86:46: error: ‘FullFunctionType {aka class ens::Function<mlpack::regression::SoftmaxRegressionFunction, arma::Mat<double>, arma::Mat<double> >}’ has no member named ‘NumFunctions’
- const size_t numFunctions = f.NumFunctions();
- ^
- /usr/include/ensmallen_bits/sgd/sgd_impl.hpp: In instantiation of ‘typename std::enable_if<ens::IsArmaType<GradType>::value, typename MatType::elem_type>::type ens::SGD<UpdatePolicyType, DecayPolicyType>::Optimize(DecomposableFunctionType&, MatType&, CallbackTypes&& ...) [with DecomposableFunctionType = mlpack::regression::SoftmaxRegressionFunction; MatType = arma::Mat<double>; GradType = arma::Mat<double>; CallbackTypes = {}; UpdatePolicyType = ens::VanillaUpdate; DecayPolicyType = ens::NoDecay; typename std::enable_if<ens::IsArmaType<GradType>::value, typename MatType::elem_type>::type = double]’:
- /usr/include/ensmallen_bits/sgd/sgd.hpp:137:26: required from ‘typename MatType::elem_type ens::SGD<UpdatePolicyType, DecayPolicyType>::Optimize(DecomposableFunctionType&, MatType&, CallbackTypes&& ...) [with DecomposableFunctionType = mlpack::regression::SoftmaxRegressionFunction; MatType = arma::Mat<double>; CallbackTypes = {}; UpdatePolicyType = ens::VanillaUpdate; DecayPolicyType = ens::NoDecay; typename MatType::elem_type = double]’
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/methods/softmax_regression/softmax_regression_impl.hpp:73:76: required from ‘double mlpack::regression::SoftmaxRegression<MatType>::Train(const MatType&, const arma::Row<long unsigned int>&, size_t, OptimizerType, CallbackTypes&& ...) [with OptimizerType = ens::SGD<ens::VanillaUpdate>; CallbackTypes = {}; MatType = arma::Mat<double>; size_t = long unsigned int]’
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/methods/softmax_regression/softmax_regression_impl.hpp:34:8: required from ‘mlpack::regression::SoftmaxRegression<MatType>::SoftmaxRegression(const MatType&, const arma::Row<long unsigned int>&, size_t, double, bool, OptimizerType) [with OptimizerType = ens::SGD<ens::VanillaUpdate>; MatType = arma::Mat<double>; size_t = long unsigned int]’
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/tests/callback_test.cpp:203:80: required from here
- /usr/include/ensmallen_bits/sgd/sgd_impl.hpp:86:46: error: ‘FullFunctionType {aka class ens::Function<mlpack::regression::SoftmaxRegressionFunction, arma::Mat<double>, arma::Mat<double> >}’ has no member named ‘NumFunctions’
- In file included from /usr/include/ensmallen_bits/function.hpp:24:0,
- from /usr/include/ensmallen_bits/sgd/sgd_impl.hpp:20,
- from /usr/include/ensmallen_bits/sgd/sgd.hpp:252,
- from /usr/include/ensmallen_bits/ada_delta/ada_delta.hpp:19,
- from /usr/include/ensmallen.hpp:75,
- from /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/tests/callback_test.cpp:11:
- /usr/include/ensmallen_bits/function/static_checks.hpp: In instantiation of ‘void ens::traits::CheckDecomposableFunctionTypeAPI() [with FunctionType = ens::Function<mlpack::regression::SoftmaxRegressionFunction, arma::Mat<double>, arma::Mat<double> >; MatType = arma::Mat<double>; GradType = arma::Mat<double>]’:
- /usr/include/ensmallen_bits/sgd/sgd_impl.hpp:78:20: required from ‘typename std::enable_if<ens::IsArmaType<GradType>::value, typename MatType::elem_type>::type ens::SGD<UpdatePolicyType, DecayPolicyType>::Optimize(DecomposableFunctionType&, MatType&, CallbackTypes&& ...) [with DecomposableFunctionType = mlpack::regression::SoftmaxRegressionFunction; MatType = arma::Mat<double>; GradType = arma::Mat<double>; CallbackTypes = {ens::PrintLoss&}; UpdatePolicyType = ens::VanillaUpdate; DecayPolicyType = ens::NoDecay; typename std::enable_if<ens::IsArmaType<GradType>::value, typename MatType::elem_type>::type = double]’
- /usr/include/ensmallen_bits/sgd/sgd.hpp:137:26: required from ‘typename MatType::elem_type ens::SGD<UpdatePolicyType, DecayPolicyType>::Optimize(DecomposableFunctionType&, MatType&, CallbackTypes&& ...) [with DecomposableFunctionType = mlpack::regression::SoftmaxRegressionFunction; MatType = arma::Mat<double>; CallbackTypes = {ens::PrintLoss&}; UpdatePolicyType = ens::VanillaUpdate; DecayPolicyType = ens::NoDecay; typename MatType::elem_type = double]’
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/methods/softmax_regression/softmax_regression_impl.hpp:73:76: required from ‘double mlpack::regression::SoftmaxRegression<MatType>::Train(const MatType&, const arma::Row<long unsigned int>&, size_t, OptimizerType, CallbackTypes&& ...) [with OptimizerType = ens::SGD<ens::VanillaUpdate>; CallbackTypes = {ens::PrintLoss}; MatType = arma::Mat<double>; size_t = long unsigned int]’
- /home/knakul853/Desktop/mlpack/mlpack/src/mlpack/tests/callback_test.cpp:206:27: required from here
- /usr/include/ensmallen_bits/function/static_checks.hpp:332:3: error: static assertion failed: The FunctionType does not have a correct definition of NumFunctions(). Please check that the FunctionType fully satisfies the requirements of the DecomposableFunctionType API; see the optimizer tutorial for more details.
- static_assert(CheckNumFunctions<FunctionType, MatType, GradType>::value,
- ^
- src/mlpack/tests/CMakeFiles/mlpack_test.dir/build.make:2227: recipe for target 'src/mlpack/tests/CMakeFiles/mlpack_test.dir/rbm_network_test.cpp.o' failed
- make[2]: *** [src/mlpack/tests/CMakeFiles/mlpack_test.dir/rbm_network_test.cpp.o] Error 1
- make[2]: *** Waiting for unfinished jobs....
- src/mlpack/tests/CMakeFiles/mlpack_test.dir/build.make:452: recipe for target 'src/mlpack/tests/CMakeFiles/mlpack_test.dir/callback_test.cpp.o' failed
- make[2]: *** [src/mlpack/tests/CMakeFiles/mlpack_test.dir/callback_test.cpp.o] Error 1
- src/mlpack/tests/CMakeFiles/mlpack_test.dir/build.make:627: recipe for target 'src/mlpack/tests/CMakeFiles/mlpack_test.dir/cv_test.cpp.o' failed
- make[2]: *** [src/mlpack/tests/CMakeFiles/mlpack_test.dir/cv_test.cpp.o] Error 1
- src/mlpack/tests/CMakeFiles/mlpack_test.dir/build.make:2402: recipe for target 'src/mlpack/tests/CMakeFiles/mlpack_test.dir/serialization_test.cpp.o' failed
- make[2]: *** [src/mlpack/tests/CMakeFiles/mlpack_test.dir/serialization_test.cpp.o] Error 1
- CMakeFiles/Makefile2:7764: recipe for target 'src/mlpack/tests/CMakeFiles/mlpack_test.dir/all' failed
- make[1]: *** [src/mlpack/tests/CMakeFiles/mlpack_test.dir/all] Error 2
- Makefile:138: recipe for target 'all' failed
- make: *** [all] Error 2
- knakul853@knakul853-HP-Laptop-15-bs1xx:~/Desktop/mlpack/mlpack/build$
Add Comment
Please, Sign In to add comment