Skip to content

Conversation

@mpjlu
Copy link
Owner

@mpjlu mpjlu commented Aug 16, 2016

What changes were proposed in this pull request?

Configure the ChiSqSelector to reuse ChiSqTestResult by numTopFeature, Percentile and Fpr selector,
This is the initial version, I will add annotation for the functions and vars.
Maybe some more examples.

How was this patch tested?

(Please explain how this patch was tested. E.g. unit tests, integration tests, manual tests)

(If this patch involves UI changes, please attach a screenshot; otherwise, remove this)

…s, Percentile, and Fpr selector

@hqzizania
Copy link

It could make this PR clearer to set the base as master the branch without any change you commit.

def setNumTopFeatures(value: Int): this.type = set(numTopFeatures, value)
def setNumTopFeatures(value: Int): this.type = {
chiSqSelector.setNumTopFeatures(value)
chiSqSelector.setChiSqSelectorType(ChiSqSelectorType.KBest)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is setChiSqSelectorType called twice here?

@mpjlu mpjlu force-pushed the fprChiSquare branch 2 times, most recently from 128fcd7 to e28a8c5 Compare August 18, 2016 05:07
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