GitHub user hhbyyh opened a pull request:
https://github.com/apache/spark/pull/10103
[SPARK-12096] [MLlib] remove the old constraint in word2vec
jira: https://issues.apache.org/jira/browse/SPARK-12096
word2vec now can handle much bigger vocabulary.
The old constraint vocabSize.toLong * vectorSize < Ine.max / 8 should be
removed.
new constraint is vocabSize.toLong * vectorSize < max array length (usually
a little less than Int.MaxValue)
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/hhbyyh/spark w2vCapacity
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/10103.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #10103
----
commit a33f3e6601d9320f2a65dcff2978420971eb0994
Author: Yuhao Yang <[email protected]>
Date: 2015-12-02T14:11:08Z
remove the old constraint
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]