Skip to content

Conversation

@yanboliang
Copy link
Contributor

Like SPARK-11852, k is params and we should save it under metadata/ rather than both under data/ and metadata/. Refactor the constructor of ml.feature.PCAModel to take only pc but construct mllib.feature.PCAModel inside transform.

@SparkQA
Copy link

SparkQA commented Nov 23, 2015

Test build #46505 has finished for PR 9897 at commit 430fb0e.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

asfgit pushed a commit that referenced this pull request Nov 23, 2015
Like [SPARK-11852](https://issues.apache.org/jira/browse/SPARK-11852), ```k``` is params and we should save it under ```metadata/``` rather than both under ```data/``` and ```metadata/```. Refactor the constructor of ```ml.feature.PCAModel```  to take only ```pc``` but construct ```mllib.feature.PCAModel``` inside ```transform```.

Author: Yanbo Liang <ybliang8@gmail.com>

Closes #9897 from yanboliang/spark-11912.

(cherry picked from commit d9cf9c2)
Signed-off-by: Xiangrui Meng <meng@databricks.com>
@mengxr
Copy link
Contributor

mengxr commented Nov 23, 2015

LGTM. Merged into master and branch-1.6. Thanks!

@asfgit asfgit closed this in d9cf9c2 Nov 23, 2015
@yanboliang yanboliang deleted the spark-11912 branch November 23, 2015 06:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants