You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2016/09/14 22:34:20 UTC

[jira] [Commented] (SPARK-17548) Word2VecModel.findSynonyms can spuriously reject the best match when invoked with a vector

    [ https://issues.apache.org/jira/browse/SPARK-17548?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15491626#comment-15491626 ] 

Apache Spark commented on SPARK-17548:
--------------------------------------

User 'willb' has created a pull request for this issue:
https://github.com/apache/spark/pull/15105

> Word2VecModel.findSynonyms can spuriously reject the best match when invoked with a vector
> ------------------------------------------------------------------------------------------
>
>                 Key: SPARK-17548
>                 URL: https://issues.apache.org/jira/browse/SPARK-17548
>             Project: Spark
>          Issue Type: Bug
>          Components: MLlib
>    Affects Versions: 1.4.1, 1.5.2, 1.6.2, 2.0.0
>         Environment: any
>            Reporter: William Benton
>            Priority: Minor
>
> The `findSynonyms` method in `Word2VecModel` currently rejects the best match a priori. When `findSynonyms` is invoked with a word, the best match is almost certain to be that word, but `findSynonyms` can also be invoked with a vector, which might not correspond to any of the words in the model's vocabulary.  In the latter case, rejecting the best match is spurious.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org