[mlpack-svn] r17415 - mlpack/trunk/src/mlpack/tests

fastlab-svn at coffeetalk-1.cc.gatech.edu fastlab-svn at coffeetalk-1.cc.gatech.edu
Wed Nov 26 11:13:51 EST 2014


Author: rcurtin
Date: Wed Nov 26 11:13:51 2014
New Revision: 17415

Log:
Slightly loosen tolerance.


Modified:
   mlpack/trunk/src/mlpack/tests/hmm_test.cpp

Modified: mlpack/trunk/src/mlpack/tests/hmm_test.cpp
==============================================================================
--- mlpack/trunk/src/mlpack/tests/hmm_test.cpp	(original)
+++ mlpack/trunk/src/mlpack/tests/hmm_test.cpp	Wed Nov 26 11:13:51 2014
@@ -898,10 +898,10 @@
   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-svn mailing list