diff options
author | MechCoder <manojkumarsivaraj334@gmail.com> | 2015-07-02 11:28:14 -0700 |
---|---|---|
committer | Xiangrui Meng <meng@databricks.com> | 2015-07-02 11:28:14 -0700 |
commit | 34d448dbe1d7bd5bf9a8d6ef473878e570ca6161 (patch) | |
tree | 6a0b8df867906b89b5358da9ea60ce62fb7541d5 /external | |
parent | 2e2f32603c110b9c6ddfbb836f63882eacf0a8cc (diff) | |
download | spark-34d448dbe1d7bd5bf9a8d6ef473878e570ca6161.tar.gz spark-34d448dbe1d7bd5bf9a8d6ef473878e570ca6161.tar.bz2 spark-34d448dbe1d7bd5bf9a8d6ef473878e570ca6161.zip |
[SPARK-8479] [MLLIB] Add numNonzeros and numActives to linalg.Matrices
Matrices allow zeros to be stored in values. Sometimes a method is handy to check if the numNonZeros are same as number of Active values.
Author: MechCoder <manojkumarsivaraj334@gmail.com>
Closes #6904 from MechCoder/nnz_matrix and squashes the following commits:
252c6b7 [MechCoder] Add to MiMa excludes
e2390f5 [MechCoder] Use count instead of foreach
2f62b2f [MechCoder] Add to MiMa excludes
d6e96ef [MechCoder] [SPARK-8479] Add numNonzeros and numActives to linalg.Matrices
Diffstat (limited to 'external')
0 files changed, 0 insertions, 0 deletions