程序包 weka.core
类 AttributeStats
java.lang.Object
weka.core.AttributeStats
- 所有已实现的接口:
Serializable
,RevisionHandler
A Utility class that contains summary information on an
the values that appear in a dataset for a particular attribute.
-
字段概要
字段修饰符和类型字段说明int
The number of distinct valuesint
The number of int-like valuesint
The number of missing valuesint[]
Counts of each nominal valueStats on numeric value distributionsint
The number of real-like values (i.e.int
The total number of values (i.e.int
The number of values that only appear once -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明Returns the revision string.toString()
Returns a human readable representation of this AttributeStats instance.
-
字段详细资料
-
intCount
public int intCountThe number of int-like values -
realCount
public int realCountThe number of real-like values (i.e. have a fractional part) -
missingCount
public int missingCountThe number of missing values -
distinctCount
public int distinctCountThe number of distinct values -
uniqueCount
public int uniqueCountThe number of values that only appear once -
totalCount
public int totalCountThe total number of values (i.e. number of instances) -
numericStats
Stats on numeric value distributions -
nominalCounts
public int[] nominalCountsCounts of each nominal value
-
-
构造器详细资料
-
AttributeStats
public AttributeStats()
-
-
方法详细资料
-
toString
Returns a human readable representation of this AttributeStats instance. -
getRevision
Returns the revision string.- 指定者:
getRevision
在接口中RevisionHandler
- 返回:
- the revision
-