Class NoopFeatureExtractor
java.lang.Object
org.tribuo.classification.sequence.viterbi.NoopFeatureExtractor
- All Implemented Interfaces:
com.oracle.labs.mlrg.olcut.config.Configurable,com.oracle.labs.mlrg.olcut.provenance.Provenancable<com.oracle.labs.mlrg.olcut.provenance.ConfiguredObjectProvenance>,Serializable,LabelFeatureExtractor
A label feature extractor that doesn't produce any label based features.
It always returns Collections.emptyList().
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionextractFeatures(List<Label> previousOutcomes, double value) Generates features based on the previously produced labels.com.oracle.labs.mlrg.olcut.provenance.ConfiguredObjectProvenancetoString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.oracle.labs.mlrg.olcut.config.Configurable
postConfig
-
Constructor Details
-
NoopFeatureExtractor
public NoopFeatureExtractor()
-
-
Method Details
-
extractFeatures
Description copied from interface:LabelFeatureExtractorGenerates features based on the previously produced labels.- Specified by:
extractFeaturesin interfaceLabelFeatureExtractor- Parameters:
previousOutcomes- The previous step's labels.value- The value to give to the features.- Returns:
- Features.
-
toString
-
getProvenance
public com.oracle.labs.mlrg.olcut.provenance.ConfiguredObjectProvenance getProvenance()- Specified by:
getProvenancein interfacecom.oracle.labs.mlrg.olcut.provenance.Provenancable<com.oracle.labs.mlrg.olcut.provenance.ConfiguredObjectProvenance>
-