Package org.tribuo.data.text.impl
Class SumAggregator
java.lang.Object
org.tribuo.data.text.impl.SumAggregator
- All Implemented Interfaces:
com.oracle.labs.mlrg.olcut.config.Configurable
,com.oracle.labs.mlrg.olcut.provenance.Provenancable<com.oracle.labs.mlrg.olcut.provenance.ConfiguredObjectProvenance>
,FeatureAggregator
A feature aggregator that aggregates occurrence counts across a number of
feature lists.
-
Constructor Details
-
SumAggregator
public SumAggregator()
-
-
Method Details
-
aggregate
Description copied from interface:FeatureAggregator
Aggregates feature values with the same names.- Specified by:
aggregate
in interfaceFeatureAggregator
- Parameters:
input
- The input features.- Returns:
- The output features.
-
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>
-