[MLlib] [SPARK-5301] Missing conversions and operations on IndexedRowMatrix and CoordinateMatrix#4089
[MLlib] [SPARK-5301] Missing conversions and operations on IndexedRowMatrix and CoordinateMatrix#4089rezazadeh wants to merge 5 commits intoapache:masterfrom
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.
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 <reza@databricks.com> 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.