e.org'
Subject: KMeans - java.lang.IllegalArgumentException: requirement failed
I am trying to train a KMeans model with sparse vector with Spark 1.0.1.
When I run the training I got the following exception:
java.lang.IllegalArgumentException: requirement failed
at scala.Prede
It sounds like your data does not all have the same dimension? that's
a decent guess. Have a look at the assertions in this method.
On Tue, Aug 12, 2014 at 4:44 AM, Ge, Yao (Y.) wrote:
> I am trying to train a KMeans model with sparse vector with Spark 1.0.1.
>
> When I run the training I got the
I am trying to train a KMeans model with sparse vector with Spark 1.0.1.
When I run the training I got the following exception:
java.lang.IllegalArgumentException: requirement failed
at scala.Predef$.require(Predef.scala:221)
at
org.apache.spark.mllib.util.MLUtils$.