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
|
isTrained, selectedFeatureNames
Constructor and Description |
---|
MutualInformationFeatureSelection(String name) |
MutualInformationFeatureSelection(String name,
int numFeatures) |
MutualInformationFeatureSelection(String name,
MutualInformationFeatureSelection.CombineScoreMethod combineScoreMethod,
double smoothingCount,
int numFeatures) |
Modifier and Type | Method and Description |
---|---|
void |
load(URI uri) |
void |
save(URI uri) |
void |
train(Iterable<org.cleartk.ml.Instance<OUTCOME_T>> instances) |
apply, getFeatureName, transform, transform
isTransformable, selectTransformableFeatures
public MutualInformationFeatureSelection(String name)
public MutualInformationFeatureSelection(String name, int numFeatures)
public MutualInformationFeatureSelection(String name, MutualInformationFeatureSelection.CombineScoreMethod combineScoreMethod, double smoothingCount, int numFeatures)
public void save(URI uri) throws IOException
IOException
public void load(URI uri) throws IOException
IOException
Copyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.