-
- Downloads
[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
Showing
- mllib/src/main/scala/org/apache/spark/mllib/linalg/Matrices.scala 19 additions, 0 deletions...c/main/scala/org/apache/spark/mllib/linalg/Matrices.scala
- mllib/src/test/scala/org/apache/spark/mllib/linalg/MatricesSuite.scala 10 additions, 0 deletions...t/scala/org/apache/spark/mllib/linalg/MatricesSuite.scala
- project/MimaExcludes.scala 6 additions, 0 deletionsproject/MimaExcludes.scala
Loading
Please register or sign in to comment