public class OddsRatioFeatureSelection<OUTCOME_T> extends FeatureSelection<OUTCOME_T>
isTrained, selectedFeatureNames
Constructor and Description |
---|
OddsRatioFeatureSelection(String name) |
OddsRatioFeatureSelection(String name,
double threshold) |
OddsRatioFeatureSelection(String name,
double threshold,
String posiClas) |
Modifier and Type | Method and Description |
---|---|
boolean |
apply(org.cleartk.ml.Feature feature) |
void |
load(URI uri) |
void |
save(URI uri) |
void |
train(Iterable<org.cleartk.ml.Instance<OUTCOME_T>> instances) |
getFeatureName, transform, transform
isTransformable, selectTransformableFeatures
public OddsRatioFeatureSelection(String name)
public OddsRatioFeatureSelection(String name, double threshold)
public boolean apply(org.cleartk.ml.Feature feature)
apply
in interface com.google.common.base.Predicate<org.cleartk.ml.Feature>
apply
in class FeatureSelection<OUTCOME_T>
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.