-
- Downloads
[SPARK-4614][MLLIB] Slight API changes in Matrix and Matrices
Before we have a full picture of the operators we want to add, it might be safer to hide `Matrix.transposeMultiply` in 1.2.0. Another update we want to change is `Matrix.randn` and `Matrix.rand`, both of which should take a `Random` implementation. Otherwise, it is very likely to produce inconsistent RDDs. I also added some unit tests for matrix factory methods. All APIs are new in 1.2, so there is no incompatible changes. brkyvz Author: Xiangrui Meng <meng@databricks.com> Closes #3468 from mengxr/SPARK-4614 and squashes the following commits: 3b0e4e2 [Xiangrui Meng] add mima excludes 6bfd8a4 [Xiangrui Meng] hide transposeMultiply; add rng to rand and randn; add unit tests
Showing
- mllib/src/main/scala/org/apache/spark/mllib/linalg/Matrices.scala 9 additions, 11 deletions...c/main/scala/org/apache/spark/mllib/linalg/Matrices.scala
- mllib/src/test/scala/org/apache/spark/mllib/linalg/MatricesSuite.scala 50 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