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

fastlab-svn at coffeetalk-1.cc.gatech.edu fastlab-svn at coffeetalk-1.cc.gatech.edu
Fri Jun 7 17:54:03 EDT 2013


Author: rcurtin
Date: 2013-06-07 17:54:03 -0400 (Fri, 07 Jun 2013)
New Revision: 15215

Modified:
   mlpack/trunk/src/mlpack/tests/nmf_test.cpp
Log:
Make the NMF decomposition more accurate in a bid to fix the failing test.


Modified: mlpack/trunk/src/mlpack/tests/nmf_test.cpp
===================================================================
--- mlpack/trunk/src/mlpack/tests/nmf_test.cpp	2013-06-07 21:05:30 UTC (rev 15214)
+++ mlpack/trunk/src/mlpack/tests/nmf_test.cpp	2013-06-07 21:54:03 UTC (rev 15215)
@@ -99,7 +99,7 @@
 
   NMF<RandomInitialization,
       WAlternatingLeastSquaresRule,
-      HAlternatingLeastSquaresRule> nmf;
+      HAlternatingLeastSquaresRule> nmf(50000, 1e-15);
   nmf.Apply(v, r, w, h);
 
   mat wh = w * h;




More information about the mlpack-svn mailing list