diff options
author | Reza Zadeh <reza@databricks.com> | 2015-01-21 09:48:38 -0800 |
---|---|---|
committer | Xiangrui Meng <meng@databricks.com> | 2015-01-21 09:48:38 -0800 |
commit | aa1e22b17b4ce885febe6970a2451c7d17d0acfb (patch) | |
tree | e7d117fbb40746084c6d6da71e1dd6d9a2781fb3 /python/pyspark/mllib/clustering.py | |
parent | 2eeada373e59d63b774ba92eb5d75fcd3a1cf8f4 (diff) | |
download | spark-aa1e22b17b4ce885febe6970a2451c7d17d0acfb.tar.gz spark-aa1e22b17b4ce885febe6970a2451c7d17d0acfb.tar.bz2 spark-aa1e22b17b4ce885febe6970a2451c7d17d0acfb.zip |
[MLlib] [SPARK-5301] Missing conversions and operations on IndexedRowMatrix 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 #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
Diffstat (limited to 'python/pyspark/mllib/clustering.py')
0 files changed, 0 insertions, 0 deletions