GitHub user mpjlu reopened a pull request:
https://github.com/apache/spark/pull/14597
[SPARK-17017][MLLIB] add a chiSquare Selector based on False Positive Rate
(FPR) test
## What changes were proposed in this pull request?
Univariate feature selection works by selecting the best features based on
univariate statistical tests. False Positive Rate (FPR) is a popular univariate
statistical test for feature selection. We add a chiSquare Selector based on
False Positive Rate (FPR) test in this PR, like it is implemented in
scikit-learn.
http://scikit-learn.org/stable/modules/feature_selection.html#univariate-feature-selection
## How was this patch tested?
Add Scala ut
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/mpjlu/spark fprChiSquare
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/14597.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 #14597
----
commit 2adebe8de3881509e510fc518c562d1141ccd0ef
Author: Peng, Meng <[email protected]>
Date: 2016-08-10T05:40:18Z
add a chiSquare Selector based on False Positive Rate (FPR) test
commit 04053ca207ef4aa955eddc3e65d09a4e03db6292
Author: Peng, Meng <[email protected]>
Date: 2016-08-11T07:10:43Z
Merge remote-tracking branch 'origin/master' into fprChiSquare
commit 7623563884355a04867ce5271baa286f65180e62
Author: Peng, Meng <[email protected]>
Date: 2016-08-16T13:36:11Z
Configure the ChiSqSelector to reuse ChiSqTestResult by numTopFeatures,
Percentile, and Fpr selector
commit 3d6aecb8441503c9c3d62a2d8a3d48824b9d6637
Author: Peng, Meng <[email protected]>
Date: 2016-08-17T02:34:59Z
Config the ChiSqSelector to reuse the ChiSqTestResult by KBest, Percentile
and FPR selector
commit 026ac85dfa190707891b694f40e737f22f9b4bd5
Author: Peng, Meng <[email protected]>
Date: 2016-08-17T02:43:45Z
Merge branch 'master' into fprChiSquare2
commit 5305709c9d4029186318b99fa9c7c483897aa653
Author: Peng, Meng <[email protected]>
Date: 2016-08-17T09:59:16Z
add Since annotation
----
---
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]