|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.rapidminer.tools.math.function.aggregation.AbstractAggregationFunction
com.rapidminer.tools.math.function.aggregation.VarianceFunction
public class VarianceFunction
Calculates the variance.
| Field Summary |
|---|
| Fields inherited from class com.rapidminer.tools.math.function.aggregation.AbstractAggregationFunction |
|---|
AVERAGE, COUNT, DEFAULT_IGNORE_MISSINGS, foundMissing, ignoreMissings, KNOWN_AGGREGATION_FUNCTION_NAMES, KNOWN_AGGREGATION_FUNCTIONS, MAXIMUM, MEDIAN, MINIMUM, MODE, STANDARD_DEVIATION, SUM, VARIANCE |
| Constructor Summary | |
|---|---|
VarianceFunction()
|
|
VarianceFunction(java.lang.Boolean ignoreMissings)
|
|
| Method Summary | |
|---|---|
java.lang.String |
getName()
Returns the name of the aggregation function. |
double |
getValue()
Returns the function value. |
protected void |
reset()
Reset the counters. |
boolean |
supportsAttribute(Attribute attribute)
Returns whether this function supports the given attribute. |
void |
update(double value)
Consider a new value by updating counters. |
void |
update(double value,
double weight)
Consider a new value and a corresponding weight by updating counters. |
| Methods inherited from class com.rapidminer.tools.math.function.aggregation.AbstractAggregationFunction |
|---|
calculate, calculate, createAggregationFunction, createAggregationFunction, createAggregationFunction, createAggregationFunction |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public VarianceFunction()
public VarianceFunction(java.lang.Boolean ignoreMissings)
| Method Detail |
|---|
public java.lang.String getName()
AggregationFunction
protected void reset()
AbstractAggregationFunction
reset in class AbstractAggregationFunction
public void update(double value,
double weight)
AggregationFunction
public void update(double value)
AggregationFunction
public double getValue()
AggregationFunction
public boolean supportsAttribute(Attribute attribute)
AggregationFunction
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||