public class MutualInformationFeatureSelection<OUTCOME_T> extends FeatureSelection<OUTCOME_T>
Selects features via mutual information statistics between the features extracted from its sub-extractor and the outcome values they are paired with in classification instances.
Modifier and Type | Class and Description |
---|---|
static class |
MutualInformationFeatureSelection.CombineScoreMethod
Specifies how scores for each outcome should be combined/aggregated into a single score
|
static class |
MutualInformationFeatureSelection.MutualInformationStats<OUTCOME_T>
Helper class for aggregating and computing mutual information statistics
|
Modifier and Type | Field and Description |
---|---|
private MutualInformationFeatureSelection.CombineScoreMethod |
combineScoreMethod |
private MutualInformationFeatureSelection.MutualInformationStats<OUTCOME_T> |
mutualInfoStats |
private int |
numFeatures |
private double |
smoothingCount |
isTrained, selectedFeatureNames
Constructor and Description |
---|
MutualInformationFeatureSelection(java.lang.String name) |
MutualInformationFeatureSelection(java.lang.String name,
int numFeatures) |
MutualInformationFeatureSelection(java.lang.String name,
MutualInformationFeatureSelection.CombineScoreMethod combineScoreMethod,
double smoothingCount,
int numFeatures) |
Modifier and Type | Method and Description |
---|---|
void |
load(java.net.URI uri) |
void |
save(java.net.URI uri) |
void |
train(java.lang.Iterable< |
apply, getFeatureName, transform, transform
private MutualInformationFeatureSelection.MutualInformationStats<OUTCOME_T> mutualInfoStats
private int numFeatures
private MutualInformationFeatureSelection.CombineScoreMethod combineScoreMethod
private double smoothingCount
public MutualInformationFeatureSelection(java.lang.String name)
public MutualInformationFeatureSelection(java.lang.String name, int numFeatures)
public MutualInformationFeatureSelection(java.lang.String name, MutualInformationFeatureSelection.CombineScoreMethod combineScoreMethod, double smoothingCount, int numFeatures)