Skip to content

Commit 1af152b

Browse files
committed
check python example code
1 parent 1b5369e commit 1af152b

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

docs/ml-features.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ from pyspark.ml.feature import Word2Vec
174174
documentDF = sqlContext.createDataFrame([
175175
("Hi I heard about Spark".split(" "), ),
176176
("I wish Java could use case classes".split(" "), ),
177-
("Logistic regression models are neat".split(" "))
177+
("Logistic regression models are neat".split(" "), )
178178
], ["text"])
179179
word2Vec = Word2Vec(vectorSize = 3, minCount = 0, inputCol = "text", outputCol = "result")
180180
model = word2Vec.fit(documentDF)

sbt/sbt-launch-0.13.6.jar

1.16 MB
Binary file not shown.

0 commit comments

Comments
 (0)