|
|||||||||
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.rule.MiningRule
An instance of MiningRule
represents a rule as produced
from the Association Rules model, the Adaptive Bayes Network model, or
the Clustering model.
AssociationRulesModel
, AdaptiveBayesNetworkModel
,
ClusteringModel
,
RuleComponent
, Serialized FormConstructor Summary |
MiningRule(int rule_id,
float support,
RuleComponent ante,
RuleComponent conseq)
For Internal Use Only. |
Method Summary |
Type | Method |
---|---|
void |
addRuleAnnotation(RuleAnnotation annotation)
For internal use only. |
void |
addRuleAnnotation(RuleAnnotation[] annotations)
For internal use only. |
RuleComponent |
getAntecedent()
Returns the antecendent of the mining rule. |
RuleComponent |
getConsequent()
Returns the consequent of the mining rule. |
RuleAnnotation[] |
getRuleAnnotations()
Returns an array of the rule annotations in the mining rule. |
int |
getRuleId()
Returns the identifier of the mining rule. |
float |
getSupport()
Returns the support value of the mining rule. |
java.lang.String |
toString()
Returns a formatted string representation of the mining rule for the convenience of display. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public MiningRule(int rule_id, float support, RuleComponent ante, RuleComponent conseq) throws MiningObjectException
Method Detail |
public int getRuleId()
int
- The identifier of the mining rulepublic void addRuleAnnotation(RuleAnnotation annotation)
public void addRuleAnnotation(RuleAnnotation[] annotations)
public RuleAnnotation[] getRuleAnnotations()
public RuleComponent getAntecedent()
RuleComponent
- The antecedent of the mining rule.public RuleComponent getConsequent()
RuleComponent
- The consequent of the mining rulepublic float getSupport()
float
- The support value of the rulepublic java.lang.String toString()
toString
in class java.lang.Object
String - A formatted string of the mining rule
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |