javax.datamining.algorithm.tree
Class TreeSelectionMethod

java.lang.Object
  |
  +--javax.datamining.Enum
        |
        +--javax.datamining.algorithm.tree.TreeSelectionMethod
All Implemented Interfaces:
java.lang.Comparable, java.io.Serializable

public class TreeSelectionMethod
extends Enum

The enumeration TreeSelectionMethod describes the method used for choosing the best tree along the pruning path. Both the minimumErrorTree and the oneStandardErrorTree are automatic tree selection methods.

Author:
JSR-73 Java Data Mining Expert Group
See Also:
Serialized Form

Field Summary
static TreeSelectionMethod minimumErrorTree
           
static TreeSelectionMethod oneStandardErrorTree
           
static TreeSelectionMethod systemDefault
           
static TreeSelectionMethod systemDetermined
           
 
Method Summary
static void addExtension(java.lang.String name)
          Adds a vendor extension name to TreeSelectionMethod.
static TreeSelectionMethod valueOf(java.lang.String name)
          Returns an instance of TreeSelectionMethod corresponding to the specified name.
static TreeSelectionMethod[] values()
          Returns a list of all TreeSelectionMethod enumerations defined.
 
Methods inherited from class javax.datamining.Enum
compareTo, equals, name
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

minimumErrorTree

public static final TreeSelectionMethod minimumErrorTree

oneStandardErrorTree

public static final TreeSelectionMethod oneStandardErrorTree

systemDefault

public static final TreeSelectionMethod systemDefault

systemDetermined

public static final TreeSelectionMethod systemDetermined
Method Detail

addExtension

public static void addExtension(java.lang.String name)
                         throws JDMException
Adds a vendor extension name to TreeSelectionMethod.

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 TreeSelectionMethod valueOf(java.lang.String name)
                                   throws JDMException
Returns an instance of TreeSelectionMethod corresponding to the specified name.

Parameters:
name - The name of the enumeration value
Returns:
TreeSelectionMethod - The instance of the specified enumeration.
Throws:
JDMException - When name is not valid.

values

public static TreeSelectionMethod[] values()
Returns a list of all TreeSelectionMethod enumerations defined.

Returns:
TreeSelectionMethod[]