[mlpack-svn] r15702 - mlpack/conf/jenkins-conf/benchmark/methods/weka
fastlab-svn at coffeetalk-1.cc.gatech.edu
fastlab-svn at coffeetalk-1.cc.gatech.edu
Mon Sep 2 09:39:16 EDT 2013
Author: marcus
Date: Mon Sep 2 09:39:15 2013
New Revision: 15702
Log:
Fix zero timings for the weka library.
Modified:
mlpack/conf/jenkins-conf/benchmark/methods/weka/allknn.py
mlpack/conf/jenkins-conf/benchmark/methods/weka/kmeans.py
mlpack/conf/jenkins-conf/benchmark/methods/weka/linear_regression.py
mlpack/conf/jenkins-conf/benchmark/methods/weka/nbc.py
mlpack/conf/jenkins-conf/benchmark/methods/weka/pca.py
Modified: mlpack/conf/jenkins-conf/benchmark/methods/weka/allknn.py
==============================================================================
--- mlpack/conf/jenkins-conf/benchmark/methods/weka/allknn.py (original)
+++ mlpack/conf/jenkins-conf/benchmark/methods/weka/allknn.py Mon Sep 2 09:39:15 2013
@@ -79,7 +79,7 @@
# Return the elapsed time.
timer = self.parseTimer(s)
- if not timer:
+ if not timer or timer < 0:
Log.Fatal("Can't parse the timer")
return -1
else:
Modified: mlpack/conf/jenkins-conf/benchmark/methods/weka/kmeans.py
==============================================================================
--- mlpack/conf/jenkins-conf/benchmark/methods/weka/kmeans.py (original)
+++ mlpack/conf/jenkins-conf/benchmark/methods/weka/kmeans.py Mon Sep 2 09:39:15 2013
@@ -72,7 +72,7 @@
# Return the elapsed time.
timer = self.parseTimer(s)
- if not timer:
+ if not timer or timer < 0:
Log.Fatal("Can't parse the timer")
return -1
else:
Modified: mlpack/conf/jenkins-conf/benchmark/methods/weka/linear_regression.py
==============================================================================
--- mlpack/conf/jenkins-conf/benchmark/methods/weka/linear_regression.py (original)
+++ mlpack/conf/jenkins-conf/benchmark/methods/weka/linear_regression.py Mon Sep 2 09:39:15 2013
@@ -79,7 +79,7 @@
# Return the elapsed time.
timer = self.parseTimer(s)
- if not timer:
+ if not timer or timer < 0:
Log.Fatal("Can't parse the timer")
return -1
else:
Modified: mlpack/conf/jenkins-conf/benchmark/methods/weka/nbc.py
==============================================================================
--- mlpack/conf/jenkins-conf/benchmark/methods/weka/nbc.py (original)
+++ mlpack/conf/jenkins-conf/benchmark/methods/weka/nbc.py Mon Sep 2 09:39:15 2013
@@ -76,7 +76,7 @@
# Return the elapsed time.
timer = self.parseTimer(s)
- if not timer:
+ if not timer or timer < 0:
Log.Fatal("Can't parse the timer")
return -1
else:
Modified: mlpack/conf/jenkins-conf/benchmark/methods/weka/pca.py
==============================================================================
--- mlpack/conf/jenkins-conf/benchmark/methods/weka/pca.py (original)
+++ mlpack/conf/jenkins-conf/benchmark/methods/weka/pca.py Mon Sep 2 09:39:15 2013
@@ -72,7 +72,7 @@
# Return the elapsed time.
timer = self.parseTimer(s)
- if not timer:
+ if not timer or timer < 0:
Log.Fatal("Can't parse the timer")
return -1
else:
More information about the mlpack-svn
mailing list