|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.dmt.odm.MiningObject | +--oracle.dmt.odm.LocatableObject | +--oracle.dmt.odm.model.MiningModel | +--oracle.dmt.odm.model.SupervisedModel | +--oracle.dmt.odm.model.AdaptiveBayesNetworkModel
An instance of AdaptiveBayesNetworkModel
contains the metadata and rules tables from a model build.
The metadata is sufficient to determine whether a model can be applied to given data.
AdaptiveBayesNetworkModel
is an adaptive conditional independence model that uses the minimum description length principle to construct and prune an array of conditionally independent NetworkFeature
s.
Each NetworkFeature
consists of one or more ConditionalProbabilityExpression
s. The collection of NetworkFeature
s forms a product model that provides estimates of the target class probabilities.
In addition, rules can be extracted from the AdaptiveBayesNetworkModel
as CompoundPredicate
s.
The Predicate
form enables the user to depict a decision tree as a set of "IF, THEN" predicates whose internal nodes have a splitting predictor and a highest probability predicted target class.
The leaves have only a highest probability predicted target class. The root node has only a splitting predictor. An array of decision trees, one per NetworkFeature
, can be extracted from the AdpativeBayesNetworkModel
.
Each decision tree is represented as an array of TreeNode
s.
Method Summary |
Type | Method |
---|---|
static TreeNode[] |
getDecisionTree(Connection dmsConn,
java.lang.String modelName)
Returns the array of TreeNode s forming a decision tree. |
static int |
getEstimateTimeToConstructAFeature(Connection dmsConn,
java.lang.String modelName)
Returns an estimate of the time required to construct a network feature in minutes. |
static ABNModelBuildState |
getModelBuildState(Connection dmsConn,
java.lang.String modelName)
Returns an ABNModelBuildState instance indicating the model build state. |
static ModelTimingRecord[] |
getModelTimingRecords(Connection dmsConn,
java.lang.String modelName)
Returns an array of ModelTimingRecord s. |
static NetworkFeature[] |
getNetworkFeatures(Connection dmsConn,
java.lang.String modelName)
Returns an array of NetworkFeature s. |
java.lang.String |
getNodeTableName()
For internal use only |
java.lang.String |
getParentChildTableName()
For internal use only |
static MiningRuleSet |
getRules(Connection dmsConn,
java.lang.String modelName)
Returns the decision tree MiningRuleSet . |
static NetworkFeature |
getTargetPrior(Connection dmsConn,
java.lang.String modelName)
Returns the target prior. |
java.lang.String |
getTimingTableName()
For internal use only |
java.lang.String |
getValueTableName()
For internal use only |
Methods inherited from class oracle.dmt.odm.model.SupervisedModel |
apply, apply, apply, computeLift, getConditionsTableName, getCostMatrixTableName, getNumberOfConditions, getNumberOfPriors, getPriorsTableName, getTargetValueCount, restore, restore, test |
Methods inherited from class oracle.dmt.odm.model.MiningModel |
build, getBinCategoricalTableName, getBinNumericTableName, getMiningAlgorithm, getMiningFunction, getMiningFunctionSettings, getModelName, listContents, listContents, listContents, listContents, remove, setModelNameForMig |
Methods inherited from class oracle.dmt.odm.LocatableObject |
deserialize, serialize |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public java.lang.String getParentChildTableName()
public java.lang.String getNodeTableName()
public java.lang.String getValueTableName()
public java.lang.String getTimingTableName()
public static NetworkFeature[] getNetworkFeatures(Connection dmsConn, java.lang.String modelName) throws java.sql.SQLException, MiningObjectException, InvalidArgumentException, ODMException
NetworkFeature
s.dmsConn
- The connection to the data mining servermodelName
- Name of the model from which the network features are extractedNetworkFeature
[] - the array of network features.InvalidArgumentException
- is thrown MiningObjectException
- is thrown SQLException
- is thrown NetworkFeature
public static TreeNode[] getDecisionTree(Connection dmsConn, java.lang.String modelName) throws java.sql.SQLException, MiningObjectException, InvalidArgumentException, ODMException
TreeNode
s forming a decision tree.dmsConn
- The connection to the data mining servermodelName
- Name of the model from which the tree nodes are extractedTreeNode
[] - the array of tree nodes.InvalidArgumentException
- is thrown MiningObjectException
- is thrown SQLException
- is thrown TreeNode
public static MiningRuleSet getRules(Connection dmsConn, java.lang.String modelName) throws java.sql.SQLException, MiningObjectException, InvalidArgumentException, ODMException
MiningRuleSet
.dmsConn
- The connection to the data mining servermodelName
- Name of the model from which the mining rule set is extractedMiningRuleSet
- the mining rule set.InvalidArgumentException
- is thrown MiningObjectException
- is thrown SQLException
- is thrown public static NetworkFeature getTargetPrior(Connection dmsConn, java.lang.String modelName) throws java.sql.SQLException, MiningObjectException, InvalidArgumentException, ODMException
AdaptiveBayesNetworkModel
contains a special NetworkFeature
, termed the TargetPrior.
The TargetPrior is the global (unconditional) probability of the various target values.dmsConn
- The connection to the data mining servermodelName
- Name of the model from which the target prior is extractedNetworkFeature
- the target prior.InvalidArgumentException
- is thrown MiningObjectException
- is thrown SQLException
- is thrown public static ModelTimingRecord[] getModelTimingRecords(Connection dmsConn, java.lang.String modelName) throws java.sql.SQLException, MiningObjectException, InvalidArgumentException, ODMException
ModelTimingRecord
s.dmsConn
- The connection to the data mining servermodelName
- Name of the model from which the model timing records are extractedModelTimingRecord
[] - the array of model timing records.InvalidArgumentException
- is thrown MiningObjectException
- is thrown SQLException
- is thrown ModelTimingRecord
public static int getEstimateTimeToConstructAFeature(Connection dmsConn, java.lang.String modelName) throws java.sql.SQLException, MiningObjectException, InvalidArgumentException, ODMException
dmsConn
- The connection to the data mining servermodelName
- Name of the model from which the estimated time to construct a network feature is extractedInvalidArgumentException
- is thrown MiningObjectException
- is thrown SQLException
- is thrown public static ABNModelBuildState getModelBuildState(Connection dmsConn, java.lang.String modelName) throws java.sql.SQLException, MiningObjectException, InvalidArgumentException, ODMException
ABNModelBuildState
instance indicating the model build state.dmsConn
- The connection to the data mining servermodelName
- Name of the model from which the model build state is extractedABNModelBuildState
- the model build state.InvalidArgumentException
- is thrown MiningObjectException
- is thrown SQLException
- is thrown ABNModelBuildState
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |