Package Details: mlpack 3.0.2-1

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.000015
First Submitted: 2015-10-29 03:40
Last Updated: 2018-06-15 14:25

Latest Comments

alcros33 commented on 2018-05-14 16:31

to jerry73204,

Thank you, I'll just skip the check() step, but just saying that I have reproduced the issue around 10 times...

jerry73204 commented on 2018-05-12 18:16

To alcron33, My build runs successfully and I cannot reproduce this error. The message indicates that it was caused by a failing test. It's better to report it to upstream. If you need the build to be done, as a remedy, you can comment out check() function in PKGBUILD.

alcros33 commented on 2018-05-11 18:29

I have tried installing a couple of times... it always displays this error when doing the check() after build:

Running 1262 test cases... /tmp/yaourt-tmp-alcros33/aur-mlpack/src/mlpack-3.0.0/src/mlpack/tests/distribution_test.cpp(888): fatal error: in "DistributionTest/GammaDistributionRandomTest": difference{0.100615} between d2.Beta(i){1.1811578593978589} and b(i){1.3} exceeds 10%

unknown location(0): fatal error: in "DecisionTreeMainTest/DecisionTreeCategoricalOutputDimensionTest": memory access violation at address: 0x00000000: no mapping at fault address

/tmp/yaourt-tmp-alcros33/aur-mlpack/src/mlpack-3.0.0/src/mlpack/tests/main_tests/decision_tree_test.cpp(98): last checkpoint: "DecisionTreeCategoricalOutputDimensionTest" test entry

*** 2 failures are detected in the test module "mlpackTest"

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.

All comments