spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peng Meng (JIRA)" <>
Subject [jira] [Commented] (SPARK-18088) ChiSqSelector FPR PR cleanups
Date Wed, 26 Oct 2016 12:34:58 GMT


Peng Meng commented on SPARK-18088:

I am neutral for changing the selectorType "KBest" to "numTopFeatures".
 "KBest", "percentile", and “fpr” is the same as the selector name in sklearn.

Now,  the selectorType and parameter pairs are:
kbest=>numTopFeatures, percentile=>percentile, fpr=>alpha
After the change:
numTopFeatures=>numTopFeatures, percentile=>percentile, fpr=>alpha
The sklearn pairs are:
kbest=>k, percentile=>percentile, fpr=>alpha

Change the parameter numTopFeatures to k maybe also an option.

Hi [~srowen], what's your idea about this change?

> ChiSqSelector FPR PR cleanups
> -----------------------------
>                 Key: SPARK-18088
>                 URL:
>             Project: Spark
>          Issue Type: Improvement
>          Components: ML
>            Reporter: Joseph K. Bradley
>            Assignee: Joseph K. Bradley
>            Priority: Minor
> There are several cleanups I'd like to make as a follow-up to the PRs from [SPARK-17017]:
> * Rename selectorType values to match corresponding Params
> * Add Since tags where missing
> * a few minor cleanups

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message