-
Notifications
You must be signed in to change notification settings - Fork 28.9k
[SPARK-10491] [MLlib] move RowMatrix.dspr to BLAS #8663
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
|
Since the JIRA references the reason for moving this being sharing code with some other components, maybe it would be good to have those other components also the method? |
|
Test build #42181 has finished for PR 8663 at commit
|
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 be
sprinstead ofdspr. We only use double precision. - It might be useful to make
UaDenseVector(or add a convenient method) for API consistency. - Do you mind adding tests for both dense and sparse input?
|
@mengxr Sorry for the delay. working on it now. |
|
@mengxr Thanks for the review. Updated. |
|
LGTM pending Jenkins |
|
Test build #42491 has finished for PR 8663 at commit
|
|
Merged into master. Thanks! |
jira: https://issues.apache.org/jira/browse/SPARK-10491
We implemented dspr with sparse vector support in
RowMatrix. This method is also used in WeightedLeastSquares and other places. It would be useful to move it tolinalg.BLAS.Let me know if new UT needed.