Github user MLnick commented on a diff in the pull request:
https://github.com/apache/spark/pull/17451#discussion_r123950871
--- Diff: mllib/src/main/scala/org/apache/spark/ml/feature/Word2Vec.scala
---
@@ -230,7 +230,7 @@ class Word2VecModel private[ml] (
* Find "num" number of words closest in similarity to the given word,
not
* including the word itself.
* @return a dataframe with columns "word" and "similarity" of the word
and the cosine
- * similarities between the synonyms and the given word vector.
+ * similarities between the synonyms and the given word string.
--- End diff --
You can just say "given word" if you're going to change the comment - drop
the "string"
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]