Interface LabelFeatureExtractor

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

public interface LabelFeatureExtractor extends com.oracle.labs.mlrg.olcut.config.Configurable, com.oracle.labs.mlrg.olcut.provenance.Provenancable<com.oracle.labs.mlrg.olcut.provenance.ConfiguredObjectProvenance>, Serializable
A class for featurising labels from previous steps in Viterbi.
  • Method Summary

    Modifier and Type
    Method
    Description
    extractFeatures(List<Label> previousOutcomes, double value)
    Generates features based on the previously produced labels.

    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

    • extractFeatures

      List<Feature> extractFeatures(List<Label> previousOutcomes, double value)
      Generates features based on the previously produced labels.
      Parameters:
      previousOutcomes - The previous step's labels.
      value - The value to give to the features.
      Returns:
      Features.