Interface FeatureTransformer

All Superinterfaces:
com.oracle.labs.mlrg.olcut.config.Configurable, com.oracle.labs.mlrg.olcut.provenance.Provenancable<com.oracle.labs.mlrg.olcut.provenance.ConfiguredObjectProvenance>
All Known Implementing Classes:
FeatureHasher

public interface FeatureTransformer extends com.oracle.labs.mlrg.olcut.config.Configurable, com.oracle.labs.mlrg.olcut.provenance.Provenancable<com.oracle.labs.mlrg.olcut.provenance.ConfiguredObjectProvenance>
A feature transformer maps a list of features to a new list of features Useful for example to apply the hashing trick to a set of features
  • Method Summary

    Modifier and Type
    Method
    Description
    map(String tag, List<Feature> features)
    Transforms features into a new list of features

    Methods inherited from interface com.oracle.labs.mlrg.olcut.config.Configurable

    postConfig

    Methods inherited from interface com.oracle.labs.mlrg.olcut.provenance.Provenancable

    getProvenance
  • Method Details

    • map

      List<Feature> map(String tag, List<Feature> features)
      Transforms features into a new list of features
      Parameters:
      tag - The feature name tag.
      features - The features to transform.
      Returns:
      The transformed features.