[mlpack-git] mlpack-1.0.x: Backport r17375. (fcb292f)
gitdub at big.cc.gt.atl.ga.us
gitdub at big.cc.gt.atl.ga.us
Wed Jan 7 11:58:04 EST 2015
Repository : https://github.com/mlpack/mlpack
On branch : mlpack-1.0.x
Link : https://github.com/mlpack/mlpack/compare/0000000000000000000000000000000000000000...904762495c039e345beba14c1142fd719b3bd50e
>---------------------------------------------------------------
commit fcb292fe86c914d420fffc4fe7dc71ae7d826993
Author: Ryan Curtin <ryan at ratml.org>
Date: Sun Dec 7 19:33:23 2014 +0000
Backport r17375.
>---------------------------------------------------------------
fcb292fe86c914d420fffc4fe7dc71ae7d826993
src/mlpack/tests/nmf_test.cpp | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/mlpack/tests/nmf_test.cpp b/src/mlpack/tests/nmf_test.cpp
index 5b95eae..71853de 100644
--- a/src/mlpack/tests/nmf_test.cpp
+++ b/src/mlpack/tests/nmf_test.cpp
@@ -53,9 +53,9 @@ BOOST_AUTO_TEST_CASE(NMFDefaultTest)
mat wh = w * h;
- // Make sure reconstruction error is not too high. 0.5% tolerance.
+ // Make sure reconstruction error is not too high. 1.5% tolerance.
BOOST_REQUIRE_SMALL(arma::norm(v - wh, "fro") / arma::norm(v, "fro"),
- 0.012);
+ 0.015);
}
/**
@@ -78,7 +78,7 @@ BOOST_AUTO_TEST_CASE(NMFAcolDistTest)
mat wh = w * h;
BOOST_REQUIRE_SMALL(arma::norm(v - wh, "fro") / arma::norm(v, "fro"),
- 0.012);
+ 0.015);
}
/**
@@ -100,9 +100,9 @@ BOOST_AUTO_TEST_CASE(NMFRandomDivTest)
mat wh = w * h;
- // Make sure reconstruction error is not too high. 0.5% tolerance.
+ // Make sure reconstruction error is not too high. 1.5% tolerance.
BOOST_REQUIRE_SMALL(arma::norm(v - wh, "fro") / arma::norm(v, "fro"),
- 0.012);
+ 0.015);
}
/**
More information about the mlpack-git
mailing list