private static class Chi2FeatureSelection.Chi2Scorer<OUTCOME_T>
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected |
classCounts |
protected |
featValueClassCount |
private boolean |
yates |
Constructor and Description |
---|
Chi2FeatureSelection.Chi2Scorer(boolean yate) |
protectedclassCounts
protectedfeatValueClassCount
private boolean yates
public Chi2FeatureSelection.Chi2Scorer(boolean yate)
public void update(java.lang.String featureName, OUTCOME_T outcome, int occurrences)
public java.lang.Double apply(java.lang.String featureName)
public double score(java.lang.String featureName)