edu.udo.cs.yale.example
Class NominalAttributeStatistics

java.lang.Object
  extended by edu.udo.cs.yale.example.AttributeStatistics
      extended by edu.udo.cs.yale.example.NominalAttributeStatistics

public class NominalAttributeStatistics
extends AttributeStatistics

Attribute statistics object for nominal attributes.

Version:
$Id: NominalAttributeStatistics.java,v 2.1 2006/08/22 13:08:19 ingomierswa Exp $
Author:
Ingo Mierswa

Field Summary
(package private)  int maxCounter
           
(package private)  double mode
           
(package private)  int[] scores
           
 
Constructor Summary
NominalAttributeStatistics(int maxvalueposition)
           
 
Method Summary
 void addHit(int index)
           
 int[] getIndex2CounterMap(Attribute attribute)
          Returns the Index2CounterMap.
 boolean isNominal()
           
 
Methods inherited from class edu.udo.cs.yale.example.AttributeStatistics
addUnknown, getUnknown
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mode

double mode

maxCounter

int maxCounter

scores

int[] scores
Constructor Detail

NominalAttributeStatistics

NominalAttributeStatistics(int maxvalueposition)
Method Detail

addHit

public void addHit(int index)

getIndex2CounterMap

public int[] getIndex2CounterMap(Attribute attribute)
Returns the Index2CounterMap.


isNominal

public boolean isNominal()
Specified by:
isNominal in class AttributeStatistics


Copyright © 2001-2006