Author: dfilimon
Date: Mon May 20 14:58:18 2013
New Revision: 1484495

URL: http://svn.apache.org/r1484495
Log:

MAHOUT-1219: Remove LSHSearcher from StreamingKMeansTest.

It causes it to sometimes fail.


Modified:
    mahout/trunk/CHANGELOG
    
mahout/trunk/core/src/test/java/org/apache/mahout/clustering/streaming/cluster/StreamingKMeansTest.java

Modified: mahout/trunk/CHANGELOG
URL: 
http://svn.apache.org/viewvc/mahout/trunk/CHANGELOG?rev=1484495&r1=1484494&r2=1484495&view=diff
==============================================================================
--- mahout/trunk/CHANGELOG (original)
+++ mahout/trunk/CHANGELOG Mon May 20 14:58:18 2013
@@ -2,6 +2,8 @@ Mahout Change Log
 
 Release 0.8 - unreleased
 
+__MAHOUT-1219: Remove LSHSearcher from StreamingKMeansTest. It causes it to 
sometimes fail (dfilimon)
+
   MAHOUT-1221: SparseMatrix.viewRow is sometimes readonly. (Maysam Yabandeh 
via smarthi)
 
 __MAHOUT-1219: Remove LSHSearcher from SearchQualityTest. It causes it to 
fail, but the failure is not very meaningful (dfilimon)

Modified: 
mahout/trunk/core/src/test/java/org/apache/mahout/clustering/streaming/cluster/StreamingKMeansTest.java
URL: 
http://svn.apache.org/viewvc/mahout/trunk/core/src/test/java/org/apache/mahout/clustering/streaming/cluster/StreamingKMeansTest.java?rev=1484495&r1=1484494&r2=1484495&view=diff
==============================================================================
--- 
mahout/trunk/core/src/test/java/org/apache/mahout/clustering/streaming/cluster/StreamingKMeansTest.java
 (original)
+++ 
mahout/trunk/core/src/test/java/org/apache/mahout/clustering/streaming/cluster/StreamingKMeansTest.java
 Mon May 20 14:58:18 2013
@@ -29,7 +29,6 @@ import org.apache.mahout.math.Centroid;
 import org.apache.mahout.math.Vector;
 import org.apache.mahout.math.neighborhood.BruteSearch;
 import org.apache.mahout.math.neighborhood.FastProjectionSearch;
-import org.apache.mahout.math.neighborhood.LocalitySensitiveHashSearch;
 import org.apache.mahout.math.neighborhood.ProjectionSearch;
 import org.apache.mahout.math.neighborhood.Searcher;
 import org.apache.mahout.math.neighborhood.UpdatableSearcher;
@@ -67,11 +66,9 @@ public class StreamingKMeansTest {
         {new ProjectionSearch(new SquaredEuclideanDistanceMeasure(), 
NUM_PROJECTIONS, SEARCH_SIZE), true},
         {new FastProjectionSearch(new SquaredEuclideanDistanceMeasure(), 
NUM_PROJECTIONS, SEARCH_SIZE),
             true},
-        {new LocalitySensitiveHashSearch(new 
SquaredEuclideanDistanceMeasure(), SEARCH_SIZE), true},
         {new ProjectionSearch(new SquaredEuclideanDistanceMeasure(), 
NUM_PROJECTIONS, SEARCH_SIZE), false},
         {new FastProjectionSearch(new SquaredEuclideanDistanceMeasure(), 
NUM_PROJECTIONS, SEARCH_SIZE),
             false},
-        {new LocalitySensitiveHashSearch(new 
SquaredEuclideanDistanceMeasure(), SEARCH_SIZE), false},
     });
   }
 


Reply via email to