[mlpack-git] master: Slightly widen tolerance. (d8cbcde)

gitdub at big.cc.gt.atl.ga.us gitdub at big.cc.gt.atl.ga.us
Thu Mar 5 22:04:21 EST 2015


Repository : https://github.com/mlpack/mlpack

On branch  : master
Link       : https://github.com/mlpack/mlpack/compare/904762495c039e345beba14c1142fd719b3bd50e...f94823c800ad6f7266995c700b1b630d5ffdcf40

>---------------------------------------------------------------

commit d8cbcdeaf10c412b684574bce66f2824eeb883e9
Author: Ryan Curtin <ryan at ratml.org>
Date:   Wed Nov 26 16:48:15 2014 +0000

    Slightly widen tolerance.


>---------------------------------------------------------------

d8cbcdeaf10c412b684574bce66f2824eeb883e9
 src/mlpack/tests/softmax_regression_test.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/mlpack/tests/softmax_regression_test.cpp b/src/mlpack/tests/softmax_regression_test.cpp
index 07ad79d..da6a522 100644
--- a/src/mlpack/tests/softmax_regression_test.cpp
+++ b/src/mlpack/tests/softmax_regression_test.cpp
@@ -196,7 +196,7 @@ BOOST_AUTO_TEST_CASE(SoftmaxRegressionTwoClasses)
 
   // Compare training accuracy to 100.
   const double acc = sr.ComputeAccuracy(data, labels);
-  BOOST_REQUIRE_CLOSE(acc, 100.0, 0.3);
+  BOOST_REQUIRE_CLOSE(acc, 100.0, 0.5);
 
   // Create test dataset.
   for (size_t i = 0; i < points/2; i++)



More information about the mlpack-git mailing list