public class NoopFeatureExtractor extends Object implements LabelFeatureExtractor
It always returns Collections.emptyList()
.
Constructor and Description |
---|
NoopFeatureExtractor() |
Modifier and Type | Method and Description |
---|---|
List<Feature> |
extractFeatures(List<Label> previousOutcomes,
double value)
Generates features based on the previously produced labels.
|
com.oracle.labs.mlrg.olcut.provenance.ConfiguredObjectProvenance |
getProvenance() |
String |
toString() |
public List<Feature> extractFeatures(List<Label> previousOutcomes, double value)
LabelFeatureExtractor
extractFeatures
in interface LabelFeatureExtractor
previousOutcomes
- The previous step's labels.value
- The value to give to the features.public com.oracle.labs.mlrg.olcut.provenance.ConfiguredObjectProvenance getProvenance()
getProvenance
in interface com.oracle.labs.mlrg.olcut.provenance.Provenancable<com.oracle.labs.mlrg.olcut.provenance.ConfiguredObjectProvenance>
Copyright © 2015–2021 Oracle and/or its affiliates. All rights reserved.