[mlpack-git] master: Slightly loosen tolerances for NMF tests. (b7cbda9)
gitdub at big.cc.gt.atl.ga.us
gitdub at big.cc.gt.atl.ga.us
Thu Mar 5 22:03:21 EST 2015
Repository : https://github.com/mlpack/mlpack
On branch : master
Link : https://github.com/mlpack/mlpack/compare/904762495c039e345beba14c1142fd719b3bd50e...f94823c800ad6f7266995c700b1b630d5ffdcf40
>---------------------------------------------------------------
commit b7cbda9d96fe262075f4a7fc90622042bd255b6c
Author: Ryan Curtin <ryan at ratml.org>
Date: Mon Nov 17 18:50:27 2014 +0000
Slightly loosen tolerances for NMF tests.
>---------------------------------------------------------------
b7cbda9d96fe262075f4a7fc90622042bd255b6c
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 5a66b8e..18dae2e 100644
--- a/src/mlpack/tests/nmf_test.cpp
+++ b/src/mlpack/tests/nmf_test.cpp
@@ -38,9 +38,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);
}
/**
@@ -63,7 +63,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);
}
/**
@@ -85,9 +85,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