mahout-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Suneel Marthi (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (MAHOUT-1218) Streamimg k-means fails when the number of clusters specified is <= estimated map clusters
Date Thu, 16 May 2013 18:45:20 GMT

     [ https://issues.apache.org/jira/browse/MAHOUT-1218?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Suneel Marthi updated MAHOUT-1218:
----------------------------------

    Description: 
Running Streaming k-means with CosineDistanceMeasure, Fast Projection Search, number of clusters
k= 60, number of estimated map clsuters -km = 60.

{Code}
Exception in thread "main" java.lang.IllegalArgumentException: Invalid number of estimated
map clusters; There must be more than the final number of clusters (k log n vs k)
	at com.google.common.base.Preconditions.checkArgument(Preconditions.java:92)
	at org.apache.mahout.clustering.streaming.mapreduce.StreamingKMeansDriver.configureOptionsForWorkers(StreamingKMeansDriver.java:327)
	at org.apache.mahout.clustering.streaming.mapreduce.StreamingKMeansDriver.configureOptionsForWorkers(StreamingKMeansDriver.java:280)
	at org.apache.mahout.clustering.streaming.mapreduce.StreamingKMeansDriver.run(StreamingKMeansDriver.java:227)
	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:79)
	at org.apache.mahout.clustering.streaming.mapreduce.StreamingKMeansDriver.main(StreamingKMeansDriver.java:472)
{Code}

  was:
Running Streaming k-means with CosineDistanceMeasure, Fast Projection Search, number of clusters
k= 60, number of estimated map clsuters -km = 60.

{Code}
Exception in thread "main" java.lang.IllegalArgumentException: Invalid number of estimated
map clusters; There must be more than the final number of clusters (k log n vs k)
	at com.google.common.base.Preconditions.checkArgument(Preconditions.java:92)
	at org.apache.mahout.clustering.streaming.mapreduce.StreamingKMeansDriver.configureOptionsForWorkers(StreamingKMeansDriver.java:327)
	at org.apache.mahout.clustering.streaming.mapreduce.StreamingKMeansDriver.configureOptionsForWorkers(StreamingKMeansDriver.java:280)
	at org.apache.mahout.clustering.streaming.mapreduce.StreamingKMeansDriver.run(StreamingKMeansDriver.java:227)
	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:79)
	at org.apache.mahout.clustering.streaming.mapreduce.StreamingKMeansDriver.main(StreamingKMeansDriver.java:472)
{code}

    
> Streamimg k-means fails when the number of clusters specified is <= estimated map
clusters
> ------------------------------------------------------------------------------------------
>
>                 Key: MAHOUT-1218
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-1218
>             Project: Mahout
>          Issue Type: Bug
>          Components: Clustering
>    Affects Versions: 0.8
>            Reporter: Suneel Marthi
>            Assignee: Suneel Marthi
>
> Running Streaming k-means with CosineDistanceMeasure, Fast Projection Search, number
of clusters k= 60, number of estimated map clsuters -km = 60.
> {Code}
> Exception in thread "main" java.lang.IllegalArgumentException: Invalid number of estimated
map clusters; There must be more than the final number of clusters (k log n vs k)
> 	at com.google.common.base.Preconditions.checkArgument(Preconditions.java:92)
> 	at org.apache.mahout.clustering.streaming.mapreduce.StreamingKMeansDriver.configureOptionsForWorkers(StreamingKMeansDriver.java:327)
> 	at org.apache.mahout.clustering.streaming.mapreduce.StreamingKMeansDriver.configureOptionsForWorkers(StreamingKMeansDriver.java:280)
> 	at org.apache.mahout.clustering.streaming.mapreduce.StreamingKMeansDriver.run(StreamingKMeansDriver.java:227)
> 	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
> 	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:79)
> 	at org.apache.mahout.clustering.streaming.mapreduce.StreamingKMeansDriver.main(StreamingKMeansDriver.java:472)
> {Code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message