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
-
Method Summary
Modifier and TypeMethodDescriptionextractFeatures
(List<Label> previousOutcomes, double value) Generates features based on the previously produced labels.com.oracle.labs.mlrg.olcut.provenance.ConfiguredObjectProvenance
toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.oracle.labs.mlrg.olcut.config.Configurable
postConfig
-
Constructor Details
-
NoopFeatureExtractor
public NoopFeatureExtractor()
-
-
Method Details
-
extractFeatures
Description copied from interface:LabelFeatureExtractor
Generates features based on the previously produced labels.- Specified by:
extractFeatures
in 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:
getProvenance
in interfacecom.oracle.labs.mlrg.olcut.provenance.Provenancable<com.oracle.labs.mlrg.olcut.provenance.ConfiguredObjectProvenance>
-