You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (JIRA)" <ji...@apache.org> on 2019/05/21 04:04:15 UTC

[jira] [Updated] (SPARK-19892) Implement findAnalogies method for Word2VecModel

     [ 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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org