[mlpack-svn] r15443 - in mlpack/conf/jenkins-conf/benchmark/methods: matlab mlpy

fastlab-svn at coffeetalk-1.cc.gatech.edu fastlab-svn at coffeetalk-1.cc.gatech.edu
Wed Jul 10 13:46:07 EDT 2013


Author: marcus
Date: Wed Jul 10 13:46:07 2013
New Revision: 15443

Log:
Set correct method name and avoid unimportant output.

Modified:
   mlpack/conf/jenkins-conf/benchmark/methods/matlab/ALLKNN.m
   mlpack/conf/jenkins-conf/benchmark/methods/mlpy/allknn.py

Modified: mlpack/conf/jenkins-conf/benchmark/methods/matlab/ALLKNN.m
==============================================================================
--- mlpack/conf/jenkins-conf/benchmark/methods/matlab/ALLKNN.m	(original)
+++ mlpack/conf/jenkins-conf/benchmark/methods/matlab/ALLKNN.m	Wed Jul 10 13:46:07 2013
@@ -33,14 +33,14 @@
   queryData = csvread(queryFile{:});
 end
 
+total_time = tic;
 if ~isempty(k)
-  k = str2double(k)
+  k = str2double(k);
 else
   disp('[Fatal] Required options: Number of furthest neighbors to find.');
   return;
 end
 
-total_time = tic;
 % Sanity check on k value: must be greater than 0, must be less than the
 % number of reference points.
 if k > size(referenceData, 2)

Modified: mlpack/conf/jenkins-conf/benchmark/methods/mlpy/allknn.py
==============================================================================
--- mlpack/conf/jenkins-conf/benchmark/methods/mlpy/allknn.py	(original)
+++ mlpack/conf/jenkins-conf/benchmark/methods/mlpy/allknn.py	Wed Jul 10 13:46:07 2013
@@ -91,7 +91,7 @@
     return totalTimer.ElapsedTime()
 
   '''
-  Perform K-Means Clustering. If the method has been successfully completed 
+  Perform All K-Nearest-Neighbors. If the method has been successfully completed 
   return the elapsed time in seconds.
 
   @param options - Extra options for the method.



More information about the mlpack-svn mailing list