javax.datamining.algorithm.tree
Class TreeHomogeneityMetric
java.lang.Object
|
+--javax.datamining.Enum
|
+--javax.datamining.algorithm.tree.TreeHomogeneityMetric
- All Implemented Interfaces:
- java.lang.Comparable, java.io.Serializable
- public class TreeHomogeneityMetric
- extends Enum
The enumeration
TreeHomogeneityMetric represents the
goodness measure of a split. These are specific to
target type.
- Author:
- JSR-73 Java Data Mining Expert Group
- See Also:
- Serialized Form
|
Method Summary |
static void |
addExtension(java.lang.String name)
Adds a vendor extension name to TreeHomogeneityMetric. |
static TreeHomogeneityMetric |
valueOf(java.lang.String name)
Returns an instance of TreeHomogeneityMetric corresponding to the specified name. |
static TreeHomogeneityMetric[] |
values()
Returns a list of all TreeHomogeneityMetric enumerations defined. |
| Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
entropy
public static final TreeHomogeneityMetric entropy
gini
public static final TreeHomogeneityMetric gini
meanAbsoluteDeviation
public static final TreeHomogeneityMetric meanAbsoluteDeviation
meanSquaredError
public static final TreeHomogeneityMetric meanSquaredError
misclassificationRatio
public static final TreeHomogeneityMetric misclassificationRatio
systemDefault
public static final TreeHomogeneityMetric systemDefault
systemDetermined
public static final TreeHomogeneityMetric systemDetermined
addExtension
public static void addExtension(java.lang.String name)
throws JDMException
- Adds a vendor extension
name to TreeHomogeneityMetric.
- Parameters:
name - The name of the unique vendor extension
- Throws:
JDMException - When name is an invalid string or redundant to existing standard enums.
valueOf
public static TreeHomogeneityMetric valueOf(java.lang.String name)
throws JDMException
- Returns an instance of
TreeHomogeneityMetric corresponding to the specified name.
- Parameters:
name - The name of the enumeration value
- Returns:
TreeHomogeneityMetric - The instance of the specified enumeration.
- Throws:
JDMException - When name is not valid.
values
public static TreeHomogeneityMetric[] values()
- Returns a list of all
TreeHomogeneityMetric enumerations defined.
- Returns:
TreeHomogeneityMetric[]