Package org.tribuo
Interface FeatureSelector<T extends Output<T>>
- Type Parameters:
T
- The type of the output in the examples.
- All Superinterfaces:
com.oracle.labs.mlrg.olcut.config.Configurable
,com.oracle.labs.mlrg.olcut.provenance.Provenancable<FeatureSelectorProvenance>
public interface FeatureSelector<T extends Output<T>>
extends com.oracle.labs.mlrg.olcut.config.Configurable, com.oracle.labs.mlrg.olcut.provenance.Provenancable<FeatureSelectorProvenance>
An interface for feature selection algorithms.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Constant which denotes a full feature ranking should be generated rather than a subset. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Does this feature selection algorithm return an ordered feature set?Selects features according to this selection algorithm from the specified dataset.Methods inherited from interface com.oracle.labs.mlrg.olcut.config.Configurable
postConfig
Methods inherited from interface com.oracle.labs.mlrg.olcut.provenance.Provenancable
getProvenance
-
Field Details
-
SELECT_ALL
static final int SELECT_ALLConstant which denotes a full feature ranking should be generated rather than a subset.- See Also:
-
-
Method Details
-
isOrdered
boolean isOrdered()Does this feature selection algorithm return an ordered feature set?- Returns:
- True if the set is ordered.
-
select
Selects features according to this selection algorithm from the specified dataset.- Parameters:
dataset
- The dataset to use.- Returns:
- A selected feature set.
-