[mlpack-svn] r15841 - mlpack/trunk/src/mlpack/tests
fastlab-svn at coffeetalk-1.cc.gatech.edu
fastlab-svn at coffeetalk-1.cc.gatech.edu
Thu Sep 26 10:38:37 EDT 2013
Author: rcurtin
Date: Thu Sep 26 10:38:37 2013
New Revision: 15841
Log:
Widen tolerances.
Modified:
mlpack/trunk/src/mlpack/tests/gmm_test.cpp
Modified: mlpack/trunk/src/mlpack/tests/gmm_test.cpp
==============================================================================
--- mlpack/trunk/src/mlpack/tests/gmm_test.cpp (original)
+++ mlpack/trunk/src/mlpack/tests/gmm_test.cpp Thu Sep 26 10:38:37 2013
@@ -419,7 +419,7 @@
// that we introduced a fair amount of random noise into this whole process.
// First Gaussian (d4).
- BOOST_REQUIRE_SMALL(g.Weights()[sortedIndices[0]] - 0.1, 0.075);
+ BOOST_REQUIRE_SMALL(g.Weights()[sortedIndices[0]] - 0.1, 0.1);
for (size_t i = 0; i < 3; i++)
BOOST_REQUIRE_SMALL((g.Means()[sortedIndices[0]][i] - d4.Mean()[i]), 0.4);
@@ -430,7 +430,7 @@
d4.Covariance()(row, col)), 0.60); // Big tolerance! Lots of noise.
// Second Gaussian (d1).
- BOOST_REQUIRE_SMALL(g.Weights()[sortedIndices[1]] - 0.2, 0.075);
+ BOOST_REQUIRE_SMALL(g.Weights()[sortedIndices[1]] - 0.2, 0.1);
for (size_t i = 0; i < 3; i++)
BOOST_REQUIRE_SMALL((g.Means()[sortedIndices[1]][i] - d1.Mean()[i]), 0.4);
More information about the mlpack-svn
mailing list