aboutsummaryrefslogtreecommitdiff
path: root/docker-integration-tests
diff options
context:
space:
mode:
authorYanbo Liang <ybliang8@gmail.com>2015-11-22 21:56:07 -0800
committerXiangrui Meng <meng@databricks.com>2015-11-22 21:56:07 -0800
commitd9cf9c21fc6b1aa22e68d66760afd42c4e1c18b8 (patch)
treed49602f3ebe461236ea5c27294deeadea610dbd5 /docker-integration-tests
parentfc4b792d287095d70379a51f117c225d8d857078 (diff)
downloadspark-d9cf9c21fc6b1aa22e68d66760afd42c4e1c18b8.tar.gz
spark-d9cf9c21fc6b1aa22e68d66760afd42c4e1c18b8.tar.bz2
spark-d9cf9c21fc6b1aa22e68d66760afd42c4e1c18b8.zip
[SPARK-11912][ML] ml.feature.PCA minor refactor
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.
Diffstat (limited to 'docker-integration-tests')
0 files changed, 0 insertions, 0 deletions