Package Details: mlpack 2.2.5-2

Git Clone URL: (read-only)
Package Base: mlpack
Description: a scalable c++ machine learning library
Upstream URL:
Licenses: BSD
Submitter: jerry73204
Maintainer: jerry73204
Last Packager: jerry73204
Votes: 6
Popularity: 0.000185
First Submitted: 2015-10-29 03:40
Last Updated: 2017-09-24 12:30

Latest Comments

jerry73204 commented on 2017-09-24 12:32

To flying-sheep:
I drop the load_save_test.
If you still encounter problems during tests, feel free to modify the PKGBUILD file.

flying-sheep commented on 2017-09-20 16:30

hmm, i get the error mentioned in

/home/phil/.cache/pacaur/mlpack/src/mlpack-2.2.5/src/mlpack/tests/load_save_test.cpp(637): fatal error: in "LoadSaveTest/LoadHDF5Test": critical check test.n_rows == 4 has failed [2 != 4]

they say it can be safely ignored, but since the package doesn’t build without the tests passing, that isn’t helpful.

maybe include a patch that fixes/disables the test?

carlos commented on 2017-06-06 16:24

Required to build properly.
gcc-Version 7.1.1 20170516 (GCC)
mlpack 2.2.2-1

jerry73204 commented on 2016-04-13 08:35

I tried building again (on another machine) and it did not get involved in this error. I doubt that it might be environment dependent.
I would suggest you report this issue to the mainstream with machine details (OS, CPU, etc) for further help.

acgtyrant commented on 2016-04-13 07:56

I build again, successed, looks like this bug can not reproduce.

acgtyrant commented on 2016-04-13 07:22

Testing failed:

Running 582 test cases...
[WARN ] 'test_file.csv' is not a standard csv file.
[WARN ] 'test_file.csv' is not a standard csv file.
[WARN ] L-BFGS line search direction is not a descent direction (terminating)!
-2.8482 2.9447 -0.9286
-0.1035 0.1040 0.0015
6.1912 -2.1401 -1.9840
4.9959 4.9196 4.9928
/tmp/yaourt-tmp-acgtyrant/aur-mlpack/src/mlpack-2.0.1/src/mlpack/tests/nmf_test.cpp(96): fatal error: in "NMFTest/NMFRandomDivTest": absolute value of arma::norm(v - wh, "fro") / arma::norm(v, "fro"){0.071118744921277136} exceeds 0.014999999999999999

versusvoid commented on 2016-04-12 06:51

Running 582 test cases...
/tmp/yaourt-tmp-versus/aur-mlpack/src/mlpack-2.0.1/src/mlpack/tests/hoeffding_tree_test.cpp(991): fatal error: in "HoeffdingTreeTest/BatchTrainingTest": critical check batchCorrect > streamCorrect has failed [9914 <= 9914]

I guess it's the library's bug. For now I simply disabled test execution in PKGBUILD.

jerry73204 commented on 2016-04-12 04:15

To versusvoid:
I've uploaded a patch for this issue.
Please notify me if it still failed to build the package.

jerry73204 commented on 2016-04-11 17:19

To versusvoid:
After I apply the patch, I found it builds and passes with warnings with gcc 5.3.0.
What error message did you encounter?

versusvoid commented on 2016-04-11 13:24

Build fails on gcc 5.3.0. This commit ( fixes the building, yet test fails anyway.