[mlpack] 118/149: Widen tolerance slightly.

Barak A. Pearlmutter barak+git at pearlmutter.net
Sat May 2 09:11:16 UTC 2015


This is an automated email from the git hooks/post-receive script.

bap pushed a commit to branch svn-trunk
in repository mlpack.

commit 7b2fd347f1badf810a7bfcac559b586551cee51f
Author: rcurtin <rcurtin at 9d5b8971-822b-0410-80eb-d18c1038ef23>
Date:   Mon Nov 24 23:05:57 2014 +0000

    Widen tolerance slightly.
    
    
    git-svn-id: http://svn.cc.gatech.edu/fastlab/mlpack/trunk@17406 9d5b8971-822b-0410-80eb-d18c1038ef23
---
 src/mlpack/tests/gmm_test.cpp | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/mlpack/tests/gmm_test.cpp b/src/mlpack/tests/gmm_test.cpp
index 9e30477..7bbae69 100644
--- a/src/mlpack/tests/gmm_test.cpp
+++ b/src/mlpack/tests/gmm_test.cpp
@@ -331,7 +331,7 @@ BOOST_AUTO_TEST_CASE(GMMTrainEMMultipleGaussiansWithProbability)
   for (size_t row = 0; row < 3; row++)
     for (size_t col = 0; col < 3; col++)
       BOOST_REQUIRE_SMALL((g.Component(sortedIndices[0]).Covariance()(row, col)
-          - d4.Covariance()(row, col)), 0.60); // Big tolerance!  Lots of noise.
+          - d4.Covariance()(row, col)), 0.7); // Big tolerance!  Lots of noise.
 
   // Second Gaussian (d1).
   BOOST_REQUIRE_SMALL(g.Weights()[sortedIndices[1]] - 0.2, 0.1);
@@ -343,7 +343,7 @@ BOOST_AUTO_TEST_CASE(GMMTrainEMMultipleGaussiansWithProbability)
   for (size_t row = 0; row < 3; row++)
     for (size_t col = 0; col < 3; col++)
       BOOST_REQUIRE_SMALL((g.Component(sortedIndices[1]).Covariance()(row, col)
-          - d1.Covariance()(row, col)), 0.55); // Big tolerance!  Lots of noise.
+          - d1.Covariance()(row, col)), 0.7); // Big tolerance!  Lots of noise.
 
   // Third Gaussian (d2).
   BOOST_REQUIRE_SMALL(g.Weights()[sortedIndices[2]] - 0.3, 0.1);
@@ -355,7 +355,7 @@ BOOST_AUTO_TEST_CASE(GMMTrainEMMultipleGaussiansWithProbability)
   for (size_t row = 0; row < 3; row++)
     for (size_t col = 0; col < 3; col++)
       BOOST_REQUIRE_SMALL((g.Component(sortedIndices[2]).Covariance()(row, col)
-          - d2.Covariance()(row, col)), 0.50); // Big tolerance!  Lots of noise.
+          - d2.Covariance()(row, col)), 0.7); // Big tolerance!  Lots of noise.
 
   // Fourth gaussian (d3).
   BOOST_REQUIRE_SMALL(g.Weights()[sortedIndices[3]] - 0.4, 0.1);
@@ -367,7 +367,7 @@ BOOST_AUTO_TEST_CASE(GMMTrainEMMultipleGaussiansWithProbability)
   for (size_t row = 0; row < 3; ++row)
     for (size_t col = 0; col < 3; ++col)
       BOOST_REQUIRE_SMALL((g.Component(sortedIndices[3]).Covariance()(row, col)
-          - d3.Covariance()(row, col)), 0.50);
+          - d3.Covariance()(row, col)), 0.7);
 }
 
 /**

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/mlpack.git



More information about the debian-science-commits mailing list