-
- Downloads
[SPARK-10082][MLLIB] Validate i, j in apply DenseMatrices and SparseMatrices
Given row_ind should be less than the number of rows Given col_ind should be less than the number of cols. The current code in master gives unpredictable behavior for such cases. Author: MechCoder <manojkumarsivaraj334@gmail.com> Closes #8271 from MechCoder/hash_code_matrices.
Showing
- mllib/src/main/scala/org/apache/spark/mllib/linalg/Matrices.scala 4 additions, 0 deletions...c/main/scala/org/apache/spark/mllib/linalg/Matrices.scala
- mllib/src/test/scala/org/apache/spark/mllib/linalg/MatricesSuite.scala 11 additions, 0 deletions...t/scala/org/apache/spark/mllib/linalg/MatricesSuite.scala
Loading
Please register or sign in to comment