public static class MutualInformationFeatureSelectionExtractor.MutualInformationStats<OUTCOME_T> extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
MutualInformationFeatureSelectionExtractor.MutualInformationStats.ComputeFeatureScore<OUTCOME_T> |
| Modifier and Type | Field and Description |
|---|---|
protected Table<String,OUTCOME_T,Integer> |
classConditionalCounts |
protected Multiset<OUTCOME_T> |
classCounts |
protected double |
smoothingCount |
| Constructor and Description |
|---|
MutualInformationFeatureSelectionExtractor.MutualInformationStats(double smoothingCount) |
| Modifier and Type | Method and Description |
|---|---|
MutualInformationFeatureSelectionExtractor.MutualInformationStats.ComputeFeatureScore<OUTCOME_T> |
getScoreFunction(MutualInformationFeatureSelectionExtractor.CombineScoreMethod combineScoreMethod) |
double |
mutualInformation(String featureName,
OUTCOME_T outcome) |
void |
save(URI outputURI) |
void |
update(String featureName,
OUTCOME_T outcome,
int occurrences) |
protected Table<String,OUTCOME_T,Integer> classConditionalCounts
protected Multiset<OUTCOME_T> classCounts
protected double smoothingCount
public MutualInformationFeatureSelectionExtractor.MutualInformationStats(double smoothingCount)
public MutualInformationFeatureSelectionExtractor.MutualInformationStats.ComputeFeatureScore<OUTCOME_T> getScoreFunction(MutualInformationFeatureSelectionExtractor.CombineScoreMethod combineScoreMethod)
public double mutualInformation(String featureName, OUTCOME_T outcome)
public void save(URI outputURI) throws IOException
IOExceptionCopyright © 2014. All rights reserved.