mahout-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jeast...@apache.org
Subject svn commit: r1001767 - /mahout/trunk/core/src/main/java/org/apache/mahout/clustering/fuzzykmeans/FuzzyKMeansMapper.java
Date Mon, 27 Sep 2010 14:57:10 GMT
Author: jeastman
Date: Mon Sep 27 14:57:09 2010
New Revision: 1001767

URL: http://svn.apache.org/viewvc?rev=1001767&view=rev
Log:
MAHOUT-504: improved error message in Fuzzy k-Means

Modified:
    mahout/trunk/core/src/main/java/org/apache/mahout/clustering/fuzzykmeans/FuzzyKMeansMapper.java

Modified: mahout/trunk/core/src/main/java/org/apache/mahout/clustering/fuzzykmeans/FuzzyKMeansMapper.java
URL: http://svn.apache.org/viewvc/mahout/trunk/core/src/main/java/org/apache/mahout/clustering/fuzzykmeans/FuzzyKMeansMapper.java?rev=1001767&r1=1001766&r2=1001767&view=diff
==============================================================================
--- mahout/trunk/core/src/main/java/org/apache/mahout/clustering/fuzzykmeans/FuzzyKMeansMapper.java
(original)
+++ mahout/trunk/core/src/main/java/org/apache/mahout/clustering/fuzzykmeans/FuzzyKMeansMapper.java
Mon Sep 27 14:57:09 2010
@@ -57,7 +57,7 @@ public class FuzzyKMeansMapper extends M
     }
     
     if (clusters.isEmpty()) {
-      throw new IllegalStateException("Cluster is empty!!!");
+      throw new IllegalStateException("No clusters found. Check your -c path.");
     }
   }
 



Mime
View raw message