com.rapidminer.example
Class NominalStatistics
java.lang.Object
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
| Fields inherited from interface com.rapidminer.example.Statistics |
AVERAGE, AVERAGE_WEIGHTED, COUNT, LEAST, MAXIMUM, MINIMUM, MODE, SUM, SUM_WEIGHTED, UNKNOWN, VARIANCE, VARIANCE_WEIGHTED |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
NominalStatistics
public NominalStatistics()
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