-
Notifications
You must be signed in to change notification settings - Fork 29k
[MLlib] [SPARK-5301] Missing conversions and operations on IndexedRowMatrix and CoordinateMatrix #4089
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 #25708 has started for PR 4089 at commit
|
|
Test build #25708 has finished for PR 4089 at commit
|
|
Test PASSed. |
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.
Array -> Iterator. This is inside a flat map. We don't need to create an temp Array.
x -> i?
|
Test build #25871 has started for PR 4089 at commit
|
|
Test build #25872 has started for PR 4089 at commit
|
|
Test build #25871 has finished for PR 4089 at commit
|
|
Test PASSed. |
|
Test build #25872 has finished for PR 4089 at commit
|
|
Test PASSed. |
|
LGTM. Merged into master. Thanks! |
|
Thanks @mengxr! |
…Matrix and CoordinateMatrix * Transpose is missing from CoordinateMatrix (this is cheap to compute, so it should be there) * IndexedRowMatrix should be convertable to CoordinateMatrix (conversion added) Tests for both added. Author: Reza Zadeh <[email protected]> Closes apache#4089 from rezazadeh/matutils and squashes the following commits: ec5238b [Reza Zadeh] Array -> Iterator to avoid temp array 3ce0b5d [Reza Zadeh] Array -> Iterator bbc907a [Reza Zadeh] Use 'i' for index, and zipWithIndex cb10ae5 [Reza Zadeh] remove unnecessary import a7ae048 [Reza Zadeh] Missing linear algebra utilities
Tests for both added.