GitHub user psuszyns opened a pull request:
https://github.com/apache/spark/pull/12419
[SPARK-14661] [MLlib] trim PCAModel by required explained variance
## What changes were proposed in this pull request?
New method in PCAModel for auto-trimming the model to minimal number of
features calculated from required variance retained by those features
## How was this patch tested?
unit tests
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/psuszyns/spark PCA_trimmed_by_variance
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/12419.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #12419
----
commit ac1b9fe9c920171b6baf1a3bb12a4c7ea7d79ec1
Author: Piotr SuszyÅski <[email protected]>
Date: 2016-04-15T11:55:41Z
SPARK-14661: PCA trimmed by variance
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]