[
https://issues.apache.org/jira/browse/SPARK-19892?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Hyukjin Kwon updated SPARK-19892:
---------------------------------
Labels: bulk-closed features newbie (was: features newbie)
> 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: bulk-closed, 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
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]