|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.udo.cs.yale.example.AttributeStatistics
edu.udo.cs.yale.example.NominalAttributeStatistics
public class NominalAttributeStatistics
Attribute statistics object for nominal attributes.
| 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 |
|---|
double mode
int maxCounter
int[] scores
| Constructor Detail |
|---|
NominalAttributeStatistics(int maxvalueposition)
| Method Detail |
|---|
public void addHit(int index)
public int[] getIndex2CounterMap(Attribute attribute)
public boolean isNominal()
isNominal in class AttributeStatistics
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||