[mlpack-svn] r15419 - mlpack/conf/jenkins-conf/benchmark/methods/matlab
fastlab-svn at coffeetalk-1.cc.gatech.edu
fastlab-svn at coffeetalk-1.cc.gatech.edu
Fri Jul 5 12:59:19 EDT 2013
Author: marcus
Date: Fri Jul 5 12:59:19 2013
New Revision: 15419
Log:
Use the path env to get the matlab path.
Modified:
mlpack/conf/jenkins-conf/benchmark/methods/matlab/nbc.py
mlpack/conf/jenkins-conf/benchmark/methods/matlab/nmf.py
mlpack/conf/jenkins-conf/benchmark/methods/matlab/pca.py
Modified: mlpack/conf/jenkins-conf/benchmark/methods/matlab/nbc.py
==============================================================================
--- mlpack/conf/jenkins-conf/benchmark/methods/matlab/nbc.py (original)
+++ mlpack/conf/jenkins-conf/benchmark/methods/matlab/nbc.py Fri Jul 5 12:59:19 2013
@@ -36,7 +36,7 @@
@param path - Path to the mlpack executable.
@param verbose - Display informational messages.
'''
- def __init__(self, dataset, path="/opt/matlab/bin/", verbose=True):
+ def __init__(self, dataset, path=os.environ["MATLAB_BIN"], verbose=True):
self.verbose = verbose
self.dataset = dataset
self.path = path
Modified: mlpack/conf/jenkins-conf/benchmark/methods/matlab/nmf.py
==============================================================================
--- mlpack/conf/jenkins-conf/benchmark/methods/matlab/nmf.py (original)
+++ mlpack/conf/jenkins-conf/benchmark/methods/matlab/nmf.py Fri Jul 5 12:59:19 2013
@@ -36,7 +36,7 @@
@param path - Path to the mlpack executable.
@param verbose - Display informational messages.
'''
- def __init__(self, dataset, path="/opt/matlab/bin/", verbose=True):
+ def __init__(self, dataset, path=os.environ["MATLAB_BIN"], verbose=True):
self.verbose = verbose
self.dataset = dataset
self.path = path
Modified: mlpack/conf/jenkins-conf/benchmark/methods/matlab/pca.py
==============================================================================
--- mlpack/conf/jenkins-conf/benchmark/methods/matlab/pca.py (original)
+++ mlpack/conf/jenkins-conf/benchmark/methods/matlab/pca.py Fri Jul 5 12:59:19 2013
@@ -36,7 +36,7 @@
@param path - Path to the mlpack executable.
@param verbose - Display informational messages.
'''
- def __init__(self, dataset, path="/opt/matlab/bin/", verbose=True):
+ def __init__(self, dataset, path=os.environ["MATLAB_BIN"], verbose=True):
self.verbose = verbose
self.dataset = dataset
self.path = path
More information about the mlpack-svn
mailing list