-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-6651][MLLIB] delegate dense vector arithmetics to the underlying numpy array #5312
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Test build #29549 has started for PR 5312 at commit |
|
Test build #29550 has started for PR 5312 at commit |
python/pyspark/mllib/linalg.py
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we return an DenseVector?
|
Test build #29553 has started for PR 5312 at commit |
|
Test build #29549 has finished for PR 5312 at commit
|
|
Test PASSed. |
|
Test build #29550 has finished for PR 5312 at commit
|
|
Test PASSed. |
|
LGTM, thanks! |
|
Merged into master and branch-1.3. |
…ng numpy array Users should be able to use numpy operators directly on dense vectors. davies atalwalkar Author: Xiangrui Meng <meng@databricks.com> Closes #5312 from mengxr/SPARK-6651 and squashes the following commits: e665c5c [Xiangrui Meng] wrap the result in a dense vector 23dfca3 [Xiangrui Meng] delegate dense vector arithmetics to the underlying numpy array (cherry picked from commit 2275acc) Signed-off-by: Xiangrui Meng <meng@databricks.com>
|
Test build #29553 has finished for PR 5312 at commit
|
|
Test PASSed. |
Users should be able to use numpy operators directly on dense vectors. @davies @atalwalkar