com.rapidminer.example
Class NumericalStatistics

java.lang.Object
  extended by com.rapidminer.example.NumericalStatistics
All Implemented Interfaces:
Statistics, java.io.Serializable

public class NumericalStatistics
extends java.lang.Object
implements Statistics

Attribute statistics object for numerical attributes.

Author:
Ingo Mierswa
See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.rapidminer.example.Statistics
AVERAGE, AVERAGE_WEIGHTED, COUNT, LEAST, MAXIMUM, MINIMUM, MODE, SUM, SUM_WEIGHTED, UNKNOWN, VARIANCE, VARIANCE_WEIGHTED
 
Constructor Summary
NumericalStatistics()
           
 
Method Summary
 java.lang.Object clone()
           
 void count(double value, double weight)
           
 double getStatistics(Attribute attribute, java.lang.String name, java.lang.String parameter)
           
 boolean handleStatistics(java.lang.String name)
           
 void startCounting(Attribute attribute)
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NumericalStatistics

public NumericalStatistics()
Method Detail

clone

public java.lang.Object clone()
Specified by:
clone in interface Statistics
Overrides:
clone in class java.lang.Object

startCounting

public void startCounting(Attribute attribute)
Specified by:
startCounting in interface Statistics

count

public void count(double value,
                  double weight)
Specified by:
count in interface Statistics

handleStatistics

public boolean handleStatistics(java.lang.String name)
Specified by:
handleStatistics in interface Statistics

getStatistics

public double getStatistics(Attribute attribute,
                            java.lang.String name,
                            java.lang.String parameter)
Specified by:
getStatistics in interface Statistics


Copyright © 2001-2009 by Rapid-I