mahout-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r1022082 - /mahout/trunk/examples/src/test/java/org/apache/mahout/classifier/sgd/TrainLogisticTest.java
Date Wed, 13 Oct 2010 12:49:06 GMT
Author: drew
Date: Wed Oct 13 12:49:05 2010
New Revision: 1022082

URL: http://svn.apache.org/viewvc?rev=1022082&view=rev
Log:
Updated TrainLogisticTest to write model output to a temporary directory

Modified:
    mahout/trunk/examples/src/test/java/org/apache/mahout/classifier/sgd/TrainLogisticTest.java

Modified: mahout/trunk/examples/src/test/java/org/apache/mahout/classifier/sgd/TrainLogisticTest.java
URL: http://svn.apache.org/viewvc/mahout/trunk/examples/src/test/java/org/apache/mahout/classifier/sgd/TrainLogisticTest.java?rev=1022082&r1=1022081&r2=1022082&view=diff
==============================================================================
--- mahout/trunk/examples/src/test/java/org/apache/mahout/classifier/sgd/TrainLogisticTest.java
(original)
+++ mahout/trunk/examples/src/test/java/org/apache/mahout/classifier/sgd/TrainLogisticTest.java
Wed Oct 13 12:49:05 2010
@@ -40,7 +40,7 @@ public class TrainLogisticTest extends M
 
   @Test
   public void testMain() throws IOException {
-    String outputFile = "./model";
+    String outputFile = getTestTempFile("model").getAbsolutePath();
     String inputFile = "donut.csv";
     String[] args = Iterables.toArray(ON_WHITE_SPACE.split(
       "--input " +



Mime
View raw message