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 2017/03/10 05:30:38 UTC
[jira] [Commented] (SPARK-19892) Implement findAnalogies method for
Word2VecModel
[ https://issues.apache.org/jira/browse/SPARK-19892?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15904471#comment-15904471 ]
Apache Spark commented on SPARK-19892:
--------------------------------------
User 'benradford' has created a pull request for this issue:
https://github.com/apache/spark/pull/17234
> Implement findAnalogies method for Word2VecModel
> -------------------------------------------------
>
> Key: SPARK-19892
> URL: https://issues.apache.org/jira/browse/SPARK-19892
> Project: Spark
> Issue Type: New Feature
> Components: MLlib
> Affects Versions: 2.1.0
> Reporter: Benjamin Radford
> Priority: Minor
> Labels: features, newbie
>
> Word2VecModel is missing a method that allows for performing analogy-like queries on word vectors (e.g. King + Woman - Man = Queen). This is a functionality common to other word2vec implementations (see gensim) and is a major component of word2vec's appeal as cited in seminal works on the model (https://code.google.com/archive/p/word2vec/).
> An implementation of this method, findAnalogies, should accept three arguments:
> * positive - Array[String] of similar words
> * negative - Array[String] of dissimilar words
> * num - Int number of synonyms or nearest neighbors to calculated vector
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org