public final class TargetCounts extends Object implements Serializable
Modifier and Type | Method and Description |
---|---|
static TargetCounts |
fromNode(DynamicEnum targetType,
TreeNode node)
Public only as a matter of implementation; clients should not use this method.
|
int |
getBestClass()
Returns the most common target class
|
double |
getTargetCount(int ordinal)
Returns the count for the given ordinal
|
DynamicEnum |
getTargetType()
Returns the target type
|
double |
getTotalCount()
Returns the total count across all classes
|
String |
toString() |
public static TargetCounts fromNode(DynamicEnum targetType, TreeNode node)
targetType
- the target typenode
- the tree nodepublic DynamicEnum getTargetType()
public int getBestClass()
public double getTotalCount()
public double getTargetCount(int ordinal)
ordinal
- the ordinalCopyright © 2019 Actian Corporation. All rights reserved.