You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Joseph K. Bradley (JIRA)" <ji...@apache.org> on 2015/07/24 23:59:04 UTC

[jira] [Resolved] (SPARK-7045) Word2Vec: avoid intermediate representation when creating model

     [ https://issues.apache.org/jira/browse/SPARK-7045?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joseph K. Bradley resolved SPARK-7045.
--------------------------------------
       Resolution: Fixed
    Fix Version/s: 1.5.0

Issue resolved by pull request 5748
[https://github.com/apache/spark/pull/5748]

> Word2Vec: avoid intermediate representation when creating model
> ---------------------------------------------------------------
>
>                 Key: SPARK-7045
>                 URL: https://issues.apache.org/jira/browse/SPARK-7045
>             Project: Spark
>          Issue Type: Improvement
>          Components: MLlib
>    Affects Versions: 1.4.0
>            Reporter: Joseph K. Bradley
>            Assignee: Manoj Kumar
>            Priority: Minor
>             Fix For: 1.5.0
>
>
> Word2VecModel now stores the word vectors as a single, flat array; Word2Vec does as well.  However, when Word2Vec creates the model, it builds an intermediate representation.  We should skip that intermediate representation.
> However, it will be nice to create a public constructor for Word2VecModel which takes that intermediate representation (a Map from String words to their Vectors), since it's a user-friendly representation.



--
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