All Packages  Class Hierarchy  This Package  Previous  Next  Index  WEKA's home

Class weka.core.AttributeStats

java.lang.Object
    |
    +----weka.core.AttributeStats

public class AttributeStats
extends java.lang.Object
A Utility class that contains summary information on an the values that appear in a dataset for a particular attribute.

Version:
$Revision: 1.5 $
Author:
Len Trigg

Variable Index

 o distinctCount
The number of distinct values
 o intCount
The number of int-like values
 o missingCount
The number of missing values
 o nominalCounts
Counts of each nominal value
 o numericStats
Stats on numeric value distributions
 o realCount
The number of real-like values (i.e.
 o totalCount
The total number of values (i.e.
 o uniqueCount
The number of values that only appear once

Constructor Index

 o AttributeStats()
 

Method Index

 o toString()
Returns a human readable representation of this AttributeStats instance.

Field Detail

 o intCount
public int intCount
          The number of int-like values
 o realCount
public int realCount
          The number of real-like values (i.e. have a fractional part)
 o missingCount
public int missingCount
          The number of missing values
 o distinctCount
public int distinctCount
          The number of distinct values
 o uniqueCount
public int uniqueCount
          The number of values that only appear once
 o totalCount
public int totalCount
          The total number of values (i.e. number of instances)
 o numericStats
public Stats numericStats
          Stats on numeric value distributions
 o nominalCounts
public int[] nominalCounts
          Counts of each nominal value

Constructor Detail

 o AttributeStats
public AttributeStats()

Method Detail

 o toString
public java.lang.String toString()
          Returns a human readable representation of this AttributeStats instance.
Returns:
a String represtinging these AttributeStats.
Overrides:
toString in class java.lang.Object

All Packages  Class Hierarchy  This Package  Previous  Next  Index  WEKA's home