Skip to content
Snippets Groups Projects
  • Xiangrui Meng's avatar
    bc04fa2e
    [SPARK-6642][MLLIB] use 1.2 lambda scaling and remove addImplicit from NormalEquation · bc04fa2e
    Xiangrui Meng authored
    
    This PR changes lambda scaling from number of users/items to number of explicit ratings. The latter is the behavior in 1.2. Slight refactor of NormalEquation to make it independent of ALS models. srowen codexiang
    
    Author: Xiangrui Meng <meng@databricks.com>
    
    Closes #5314 from mengxr/SPARK-6642 and squashes the following commits:
    
    dc655a1 [Xiangrui Meng] relax python tests
    f410df2 [Xiangrui Meng] use 1.2 scaling and remove addImplicit from NormalEquation
    
    (cherry picked from commit ccafd757)
    Signed-off-by: default avatarXiangrui Meng <meng@databricks.com>
    
    Conflicts:
    	mllib/src/main/scala/org/apache/spark/ml/recommendation/ALS.scala
    bc04fa2e
    History
    [SPARK-6642][MLLIB] use 1.2 lambda scaling and remove addImplicit from NormalEquation
    Xiangrui Meng authored
    
    This PR changes lambda scaling from number of users/items to number of explicit ratings. The latter is the behavior in 1.2. Slight refactor of NormalEquation to make it independent of ALS models. srowen codexiang
    
    Author: Xiangrui Meng <meng@databricks.com>
    
    Closes #5314 from mengxr/SPARK-6642 and squashes the following commits:
    
    dc655a1 [Xiangrui Meng] relax python tests
    f410df2 [Xiangrui Meng] use 1.2 scaling and remove addImplicit from NormalEquation
    
    (cherry picked from commit ccafd757)
    Signed-off-by: default avatarXiangrui Meng <meng@databricks.com>
    
    Conflicts:
    	mllib/src/main/scala/org/apache/spark/ml/recommendation/ALS.scala