[mlpack-svn] r17462 - in mlpack/tags/mlpack-1.0.11: . src/mlpack/tests
fastlab-svn at coffeetalk-1.cc.gatech.edu
fastlab-svn at coffeetalk-1.cc.gatech.edu
Sun Dec 7 14:33:24 EST 2014
Author: rcurtin
Date: Sun Dec 7 14:33:23 2014
New Revision: 17462
Log:
Backport r17375.
Modified:
mlpack/tags/mlpack-1.0.11/ (props changed)
mlpack/tags/mlpack-1.0.11/src/mlpack/tests/nmf_test.cpp
Modified: mlpack/tags/mlpack-1.0.11/src/mlpack/tests/nmf_test.cpp
==============================================================================
--- mlpack/tags/mlpack-1.0.11/src/mlpack/tests/nmf_test.cpp (original)
+++ mlpack/tags/mlpack-1.0.11/src/mlpack/tests/nmf_test.cpp Sun Dec 7 14:33:23 2014
@@ -53,9 +53,9 @@
mat wh = w * h;
- // Make sure reconstruction error is not too high. 0.5% tolerance.
+ // Make sure reconstruction error is not too high. 1.5% tolerance.
BOOST_REQUIRE_SMALL(arma::norm(v - wh, "fro") / arma::norm(v, "fro"),
- 0.012);
+ 0.015);
}
/**
@@ -78,7 +78,7 @@
mat wh = w * h;
BOOST_REQUIRE_SMALL(arma::norm(v - wh, "fro") / arma::norm(v, "fro"),
- 0.012);
+ 0.015);
}
/**
@@ -94,15 +94,15 @@
size_t r = 12;
AMF<SimpleResidueTermination,
- RandomInitialization,
+ RandomInitialization,
NMFMultiplicativeDivergenceUpdate> nmf;
nmf.Apply(v, r, w, h);
mat wh = w * h;
- // Make sure reconstruction error is not too high. 0.5% tolerance.
+ // Make sure reconstruction error is not too high. 1.5% tolerance.
BOOST_REQUIRE_SMALL(arma::norm(v - wh, "fro") / arma::norm(v, "fro"),
- 0.012);
+ 0.015);
}
/**
More information about the mlpack-svn
mailing list