Skip to content

Commit 0ad3ac1

Browse files
committed
minor fix
1 parent c867fdf commit 0ad3ac1

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

mllib/src/main/scala/org/apache/spark/mllib/api/python/PythonMLLibAPI.scala

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,6 @@ class PythonMLLibAPI extends Serializable {
298298
dataBytesJRDD: JavaRDD[Array[Byte]]
299299
): Word2VecModel = {
300300
val data = dataBytesJRDD.rdd.map(SerDe.deserializeSeqString)
301-
data.collect()
302301
val word2vec = new Word2Vec()
303302
val model = word2vec.fit(data)
304303
model

0 commit comments

Comments
 (0)