Re: MLlib - Show an element in RDD[(Int, Iterable[Array[Double]])]

2015-02-05 Thread danilopds
(data, 3, 20) val vectorsAndClusterIdx = data.map{ point = val prediction = cluster.predict(point) (point.toString, prediction) } vectorsAndClusterIdx.collect -- View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/MLlib-Show-an-element-in-RDD-Int-Iterable

MLlib - Show an element in RDD[(Int, Iterable[Array[Double]])]

2015-02-05 Thread danilopds
, Iterable[Array[Double]])] = ShuffledRDD[28] at groupBy at console:24 How can I see the results? Thanks. -- View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/MLlib-Show-an-element-in-RDD-Int-Iterable-Array-Double-tp21521.html Sent from the Apache Spark User