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>
All Known Implementing Classes:
CMIM, JMI, MIM, mRMR

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

    Fields
    Modifier and Type
    Field
    Description
    static final int
    Constant which denotes a full feature ranking should be generated rather than a subset.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Does this feature selection algorithm return an ordered feature set?
    select(Dataset<T> dataset)
    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_ALL
      Constant 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

      SelectedFeatureSet select(Dataset<T> dataset)
      Selects features according to this selection algorithm from the specified dataset.
      Parameters:
      dataset - The dataset to use.
      Returns:
      A selected feature set.