com.rapidminer.operator.preprocessing.transformation.aggregation
Interface Aggregator

All Known Implementing Classes:
CountAggregator, CountIgnoringMissingsAggregator, CountIncludingMissingsAggregator, LeastAggregator, LeastOccurringAggregator, LogProductAggregator, MaxAggregator, MeanAggregator, MedianAggregator, MinAggregator, ModeAggregator, NumericalAggregator, ProductAggregator, StandardDeviationAggregator, SumAggregator, VarianceAggregator

public interface Aggregator

Author:
Sebastian Land

Method Summary
 void count(Example example)
          This will count the given example to the group this Aggregator belongs to.
 void count(Example example, double weight)
          This does the same as count(Example), but will take the weight of the current example into account.
 void set(Attribute attribute, DataRow row)
          This will set the result value into the data row onto the position of the given attribute.
 

Method Detail

count

void count(Example example)
This will count the given example to the group this Aggregator belongs to. The respective attribute will be queried from the AggregationFunction this was created by.


count

void count(Example example,
           double weight)
This does the same as count(Example), but will take the weight of the current example into account.


set

void set(Attribute attribute,
         DataRow row)
This will set the result value into the data row onto the position of the given attribute.



Copyright © 2001-2009 by Rapid-I