com.rapidminer.example
Class MinMaxStatistics

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

public class MinMaxStatistics
extends java.lang.Object
implements Statistics

Attribute statistics object for (pseudo-)numerical attributes like real numerical attributes or date 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
MinMaxStatistics()
           
 
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

MinMaxStatistics

public MinMaxStatistics()
Method Detail

clone

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

count

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

getStatistics

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

handleStatistics

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

startCounting

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


Copyright © 2001-2009 by Rapid-I