Package cc.mallet.types
Class FeatureSelector
- java.lang.Object
-
- cc.mallet.types.FeatureSelector
-
public class FeatureSelector extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description FeatureSelector(RankedFeatureVector.Factory ranker, double minThreshold)
FeatureSelector(RankedFeatureVector.Factory ranker, int numFeatures)
FeatureSelector(RankedFeatureVector.PerLabelFactory perLabelRanker, double minThreshold)
FeatureSelector(RankedFeatureVector.PerLabelFactory perLabelRanker, int numFeatures)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
selectFeaturesFor(InstanceList ilist)
void
selectFeaturesForAllLabels(InstanceList ilist)
void
selectFeaturesForPerLabel(InstanceList ilist)
-
-
-
Constructor Detail
-
FeatureSelector
public FeatureSelector(RankedFeatureVector.Factory ranker, int numFeatures)
-
FeatureSelector
public FeatureSelector(RankedFeatureVector.Factory ranker, double minThreshold)
-
FeatureSelector
public FeatureSelector(RankedFeatureVector.PerLabelFactory perLabelRanker, int numFeatures)
-
FeatureSelector
public FeatureSelector(RankedFeatureVector.PerLabelFactory perLabelRanker, double minThreshold)
-
-
Method Detail
-
selectFeaturesFor
public void selectFeaturesFor(InstanceList ilist)
-
selectFeaturesForAllLabels
public void selectFeaturesForAllLabels(InstanceList ilist)
-
selectFeaturesForPerLabel
public void selectFeaturesForPerLabel(InstanceList ilist)
-
-