[mlpack-svn] r15420 - mlpack/conf/jenkins-conf/benchmark/methods/scikit
fastlab-svn at coffeetalk-1.cc.gatech.edu
fastlab-svn at coffeetalk-1.cc.gatech.edu
Fri Jul 5 13:01:11 EDT 2013
Author: marcus
Date: Fri Jul 5 13:01:11 2013
New Revision: 15420
Log:
Convert to int to set correct seed.
Modified:
mlpack/conf/jenkins-conf/benchmark/methods/scikit/nmf.py
Modified: mlpack/conf/jenkins-conf/benchmark/methods/scikit/nmf.py
==============================================================================
--- mlpack/conf/jenkins-conf/benchmark/methods/scikit/nmf.py (original)
+++ mlpack/conf/jenkins-conf/benchmark/methods/scikit/nmf.py Fri Jul 5 13:01:11 2013
@@ -92,7 +92,7 @@
# Perform NMF with the specified update rules.
if seed:
- s = seed.group(1)
+ s = int(seed.group(1))
model = ScikitNMF(n_components=2, init='random', max_iter = m, tol = e, random_state = s)
else:
model = ScikitNMF(n_components=2, init='nndsvdar', max_iter = m, tol = e)
More information about the mlpack-svn
mailing list