org.apache.ctakes.assertion.attributes.features.selection
Class MutualInformationFeatureSelection<OUTCOME_T>
java.lang.Object
org.cleartk.classifier.feature.transform.TrainableExtractor_ImplBase<OUTCOME_T>
org.apache.ctakes.assertion.attributes.features.selection.FeatureSelection<OUTCOME_T>
org.apache.ctakes.assertion.attributes.features.selection.MutualInformationFeatureSelection<OUTCOME_T>
- All Implemented Interfaces:
- com.google.common.base.Predicate<org.cleartk.classifier.Feature>, org.cleartk.classifier.feature.transform.TrainableExtractor<OUTCOME_T>
public class MutualInformationFeatureSelection<OUTCOME_T>
- extends FeatureSelection<OUTCOME_T>
Copyright (c) 2007-2012, Regents of the University of Colorado
All rights reserved.
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.
- Author:
- Lee Becker
Fields inherited from class org.cleartk.classifier.feature.transform.TrainableExtractor_ImplBase |
name |
Methods inherited from class org.cleartk.classifier.feature.transform.TrainableExtractor_ImplBase |
isTransformable, selectTransformableFeatures |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.google.common.base.Predicate |
equals |
MutualInformationFeatureSelection
public MutualInformationFeatureSelection(String name)
MutualInformationFeatureSelection
public MutualInformationFeatureSelection(String name,
int numFeatures)
MutualInformationFeatureSelection
public MutualInformationFeatureSelection(String name,
MutualInformationFeatureSelection.CombineScoreMethod combineScoreMethod,
double smoothingCount,
int numFeatures)
train
public void train(Iterable<org.cleartk.classifier.Instance<OUTCOME_T>> instances)
save
public void save(URI uri)
throws IOException
- Throws:
IOException
load
public void load(URI uri)
throws IOException
- Throws:
IOException
Copyright © 2012-2013 The Apache Software Foundation. All Rights Reserved.