Skip to content
Snippets Groups Projects
  • MechCoder's avatar
    34d448db
    [SPARK-8479] [MLLIB] Add numNonzeros and numActives to linalg.Matrices · 34d448db
    MechCoder authored
    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
    34d448db
    History
    [SPARK-8479] [MLLIB] Add numNonzeros and numActives to linalg.Matrices
    MechCoder authored
    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