We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c867fdf commit 0ad3ac1Copy full SHA for 0ad3ac1
mllib/src/main/scala/org/apache/spark/mllib/api/python/PythonMLLibAPI.scala
@@ -298,7 +298,6 @@ class PythonMLLibAPI extends Serializable {
298
dataBytesJRDD: JavaRDD[Array[Byte]]
299
): Word2VecModel = {
300
val data = dataBytesJRDD.rdd.map(SerDe.deserializeSeqString)
301
- data.collect()
302
val word2vec = new Word2Vec()
303
val model = word2vec.fit(data)
304
model
0 commit comments