oracle.dmt.odm
Class ABNModelBuildType
java.lang.Object
|
+--oracle.dmt.odm.Enum
|
+--oracle.dmt.odm.ABNModelBuildType
- All Implemented Interfaces:
- java.io.Serializable
- public class ABNModelBuildType
- extends Enum
The enumeration class ABNModelBuildType
is used to specify the AdaptiveBayesNetworkModel
build type.
The semantics of the value are as follows:
- MultiFeatureBuild - The model search space includes an NB model and single and multi-feature product probability models. Rules are produced only if the single feature model is best. No rules are produced for multifeature or NB models.
- SingleFeatureBuild - The model search space includes only a single feature model with one or more predictors. Rules are produced.
- NaiveBayesBuild - Only a single model is built, an NB model. It is compared with the global sample prior (the distribution of target values in the sample). If the NB model is a better predictor of the target values than the global prior, then the NB model is output. Otherwise no model is output. No rules are produced.
- Since:
- 9.2.0.4
- See Also:
- Serialized Form
Method Summary |
static ABNModelBuildType |
getInstance(int id)
Returns ABNModelBuildType enumeration object corresponding to the specified ID. |
static ABNModelBuildType |
getInstance(java.lang.String name)
Returns ABNModelBuildType enumeration object corresponding to the specified name. |
static ABNModelBuildType[] |
list()
Returns the list of all ABNModelBuildType enumerations defined. |
static java.lang.String[] |
listNames()
Returns the list of names of all ABNModelBuildType enumerations defined. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MultiFeatureBuild
public static final ABNModelBuildType MultiFeatureBuild
SingleFeatureBuild
public static final ABNModelBuildType SingleFeatureBuild
NaiveBayesBuild
public static final ABNModelBuildType NaiveBayesBuild
listNames
public static java.lang.String[] listNames()
- Returns the list of names of all
ABNModelBuildType
enumerations defined.
-
- Returns:
- array of names for the
ABNModelBuildType
enumeration
list
public static ABNModelBuildType[] list()
- Returns the list of all
ABNModelBuildType
enumerations defined.
-
- Returns:
- array of enumeration values for the
ABNModelBuildType
enumeration
getInstance
public static ABNModelBuildType getInstance(java.lang.String name)
- Returns
ABNModelBuildType
enumeration object corresponding to the specified name.
-
- Parameters:
name
- model build state (NaiveBayesAndAdaptiveBayesBuild, AdaptiveBayesBuildOnly, NaiveBayesBuildOnly)
- Returns:
- instance of the
ABNModelBuildType
enumeration object corresponding to the given name
, null if there is no enumeration for this name.
getInstance
public static ABNModelBuildType getInstance(int id)
- Returns
ABNModelBuildType
enumeration object corresponding to the specified ID.
-
- Parameters:
id
- (0, 1, 2)
- Returns:
- instance of the
ABNModelBuildType
enumeration object corresponding to the given id
, null if there is no enumeration for id.