javax.datamining.algorithm.naivebayes
Class NaiveBayesCapability
java.lang.Object
|
+--javax.datamining.Enum
|
+--javax.datamining.algorithm.naivebayes.NaiveBayesCapability
- All Implemented Interfaces:
- java.lang.Comparable, java.io.Serializable
- public class NaiveBayesCapability
- extends Enum
The enumeration NaiveBayesCapability
enumerates a list of the capabilities of the naive
Bayes algorithm being supported in a particular
implementation.
- 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 NaiveBayesCapability. |
static NaiveBayesCapability |
valueOf(java.lang.String name)
Returns an instance of NaiveBayesCapability corresponding to the specified name. |
static NaiveBayesCapability[] |
values()
Returns a list of all NaiveBayesCapability enumerations defined. |
| Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
missingValueHandling
public static final NaiveBayesCapability missingValueHandling
pairwiseThreshold
public static final NaiveBayesCapability pairwiseThreshold
singletonCount
public static final NaiveBayesCapability singletonCount
singletonThreshold
public static final NaiveBayesCapability singletonThreshold
addExtension
public static void addExtension(java.lang.String name)
throws JDMException
- Adds a vendor extension
name to NaiveBayesCapability.
- 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 NaiveBayesCapability valueOf(java.lang.String name)
throws JDMException
- Returns an instance of
NaiveBayesCapability corresponding to the specified name.
- Parameters:
name - The name of the enumeration value
- Returns:
NaiveBayesCapability - The instance of the specified enumeration.
- Throws:
JDMException - When name is not valid.
values
public static NaiveBayesCapability[] values()
- Returns a list of all
NaiveBayesCapability enumerations defined.
- Returns:
NaiveBayesCapability[]