javax.datamining.modeldetail.tree
Class PredictionType
java.lang.Object
|
+--javax.datamining.Enum
|
+--javax.datamining.modeldetail.tree.PredictionType
- All Implemented Interfaces:
- java.lang.Comparable, java.io.Serializable
- public class PredictionType
- extends Enum
The enumeration PredictionType
designates the type of the prediction.
- 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 PredictionType. |
static PredictionType |
valueOf(java.lang.String name)
Returns an instance of PredictionType corresponding to the specified name. |
static PredictionType[] |
values()
Returns a list of all PredictionType enumerations defined. |
| Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
category
public static final PredictionType category
mean
public static final PredictionType mean
median
public static final PredictionType median
addExtension
public static void addExtension(java.lang.String name)
throws JDMException
- Adds a vendor extension
name to PredictionType.
- 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 PredictionType valueOf(java.lang.String name)
throws JDMException
- Returns an instance of
PredictionType corresponding to the specified name.
- Parameters:
name - The name of the enumeration value
- Returns:
PredictionType - The instance of the specified enumeration.
- Throws:
JDMException - When name is not valid.
values
public static PredictionType[] values()
- Returns a list of all
PredictionType enumerations defined.
- Returns:
PredictionType[]