Interface FeatureProcessor
- 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:
UniqueProcessor
public interface FeatureProcessor
extends com.oracle.labs.mlrg.olcut.config.Configurable, com.oracle.labs.mlrg.olcut.provenance.Provenancable<com.oracle.labs.mlrg.olcut.provenance.ConfiguredObjectProvenance>
Takes a list of columnar features and adds new features or removes existing features.
Any existing features have their names preserved if they are not removed.
New features that are created must use the ColumnarFeature.CONJUNCTION String
as their field name, as enforced by the two field ColumnarFeature constructor.
-
Method Summary
Modifier and TypeMethodDescriptionprocess(List<ColumnarFeature> features) Processes a list ofColumnarFeatures, transforming it by adding conjunctions or removing unnecessary features.Methods inherited from interface com.oracle.labs.mlrg.olcut.config.Configurable
postConfigMethods inherited from interface com.oracle.labs.mlrg.olcut.provenance.Provenancable
getProvenance
-
Method Details
-
process
Processes a list ofColumnarFeatures, transforming it by adding conjunctions or removing unnecessary features.- Parameters:
features- The list of features to process.- Returns:
- A (possibly empty) list of features.
-