diff options
author | Feynman Liang <fliang@databricks.com> | 2015-08-11 12:49:47 -0700 |
---|---|---|
committer | Joseph K. Bradley <joseph@databricks.com> | 2015-08-11 12:49:56 -0700 |
commit | 811d23f1c27e7f461f0d37d058c07885fb0e0750 (patch) | |
tree | f17e28b2cfc5427a8012c919ecddc4960823b673 /network | |
parent | 767ee1884b8ecba3afa8ed19a562626361d54f50 (diff) | |
download | spark-811d23f1c27e7f461f0d37d058c07885fb0e0750.tar.gz spark-811d23f1c27e7f461f0d37d058c07885fb0e0750.tar.bz2 spark-811d23f1c27e7f461f0d37d058c07885fb0e0750.zip |
[SPARK-9750] [MLLIB] Improve equals on SparseMatrix and DenseMatrix
Adds unit test for `equals` on `mllib.linalg.Matrix` class and `equals` to both `SparseMatrix` and `DenseMatrix`. Supports equality testing between `SparseMatrix` and `DenseMatrix`.
mengxr
Author: Feynman Liang <fliang@databricks.com>
Closes #8042 from feynmanliang/SPARK-9750 and squashes the following commits:
bb70d5e [Feynman Liang] Breeze compare for dense matrices as well, in case other is sparse
ab6f3c8 [Feynman Liang] Sparse matrix compare for equals
22782df [Feynman Liang] Add equality based on matrix semantics, not representation
78f9426 [Feynman Liang] Add casts
43d28fa [Feynman Liang] Fix failing test
6416fa0 [Feynman Liang] Add failing sparse matrix equals tests
(cherry picked from commit 520ad44b17f72e6465bf990f64b4e289f8a83447)
Signed-off-by: Joseph K. Bradley <joseph@databricks.com>
Diffstat (limited to 'network')
0 files changed, 0 insertions, 0 deletions