|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.rapidminer.operator.preprocessing.transformation.aggregation.CountIncludingMissingsAggregator
public class CountIncludingMissingsAggregator
This is an Aggregator
for the CountIncludingMissingsAggregationFunction
It counts all examples, if not ignoreMissing is true.
Anyway, if only distinct values are counted, Missings are ignored.
Constructor Summary | |
---|---|
CountIncludingMissingsAggregator(AggregationFunction function)
|
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 Aggregator.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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CountIncludingMissingsAggregator(AggregationFunction function)
Method Detail |
---|
public void count(Example example)
Aggregator
Aggregator
belongs to.
The respective attribute will be queried from the AggregationFunction
this
was created by.
count
in interface Aggregator
public void count(Example example, double weight)
Aggregator
Aggregator.count(Example)
, but will take the weight of
the current example into account.
count
in interface Aggregator
public void set(Attribute attribute, DataRow row)
Aggregator
set
in interface Aggregator
|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |