Skip to content
Snippets Groups Projects
  • Xiangrui Meng's avatar
    561d31d2
    [SPARK-4614][MLLIB] Slight API changes in Matrix and Matrices · 561d31d2
    Xiangrui Meng authored
    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
    561d31d2
    History
    [SPARK-4614][MLLIB] Slight API changes in Matrix and Matrices
    Xiangrui Meng authored
    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