com.rapidminer.example
Class NominalStatistics

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

public class NominalStatistics
extends java.lang.Object
implements Statistics

Attribute statistics object for nominal 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
NominalStatistics()
           
 
Method Summary
 java.lang.Object clone()
          Returns a clone of this statistics object.
 void count(double doubleIndex, double weight)
           
 double getStatistics(Attribute attribute, java.lang.String name, java.lang.String parameter)
           
 boolean handleStatistics(java.lang.String name)
           
 void startCounting(Attribute attribute)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NominalStatistics

public NominalStatistics()
Method Detail

clone

public java.lang.Object clone()
Returns a clone of this statistics object. The attribute is only cloned by reference.

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 doubleIndex,
                  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

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2001-2009 by Rapid-I