[mlpack-git] master: Slightly loosen tolerance. (db174b1)
gitdub at big.cc.gt.atl.ga.us
gitdub at big.cc.gt.atl.ga.us
Thu Mar 5 22:04:13 EST 2015
Repository : https://github.com/mlpack/mlpack
On branch : master
Link : https://github.com/mlpack/mlpack/compare/904762495c039e345beba14c1142fd719b3bd50e...f94823c800ad6f7266995c700b1b630d5ffdcf40
>---------------------------------------------------------------
commit db174b18092300d327521103d364cdbfc6b7cc44
Author: Ryan Curtin <ryan at ratml.org>
Date: Wed Nov 26 16:13:51 2014 +0000
Slightly loosen tolerance.
>---------------------------------------------------------------
db174b18092300d327521103d364cdbfc6b7cc44
src/mlpack/tests/hmm_test.cpp | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/mlpack/tests/hmm_test.cpp b/src/mlpack/tests/hmm_test.cpp
index c5289e8..4368a1f 100644
--- a/src/mlpack/tests/hmm_test.cpp
+++ b/src/mlpack/tests/hmm_test.cpp
@@ -898,10 +898,10 @@ BOOST_AUTO_TEST_CASE(GMMHMMLabeledTrainingTest)
BOOST_REQUIRE_SMALL(hmm.Initial()[1], 0.01);
// Check the results. Use absolute tolerances instead of percentages.
- BOOST_REQUIRE_SMALL(hmm.Transition()(0, 0) - transMat(0, 0), 0.02);
- BOOST_REQUIRE_SMALL(hmm.Transition()(0, 1) - transMat(0, 1), 0.02);
- BOOST_REQUIRE_SMALL(hmm.Transition()(1, 0) - transMat(1, 0), 0.02);
- BOOST_REQUIRE_SMALL(hmm.Transition()(1, 1) - transMat(1, 1), 0.02);
+ BOOST_REQUIRE_SMALL(hmm.Transition()(0, 0) - transMat(0, 0), 0.03);
+ BOOST_REQUIRE_SMALL(hmm.Transition()(0, 1) - transMat(0, 1), 0.03);
+ BOOST_REQUIRE_SMALL(hmm.Transition()(1, 0) - transMat(1, 0), 0.03);
+ BOOST_REQUIRE_SMALL(hmm.Transition()(1, 1) - transMat(1, 1), 0.03);
// Now the emission probabilities (the GMMs).
// We have to sort each GMM for comparison.
More information about the mlpack-git
mailing list