|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The interface MiningRuleSet
provides methods to support retrieval of rules
from the Association Rules model, the Adaptive Bayes Network model, and
the Clustering model.
AssociationRulesModel
, AdaptiveBayesNetworkModel
,
ClusteringModel
Method Summary |
Type | Method |
---|---|
void |
close()
Closes the connection and other JDBC related objects. |
MiningRule |
getNextRule()
Returns the next mining rule in the rule set. |
MiningRule[] |
getNextRules(int numRules)
Returns the specified number of mining rules from the rule set. |
int |
getNumberOfRules()
Returns the number of rules in the rule set. |
MiningRule[] |
getRules()
Returns all mining rules left in the rule set. |
Method Detail |
public int getNumberOfRules()
int
- The number of rulespublic MiningRule getNextRule() throws java.sql.SQLException, MiningObjectException, ODMException
MiningRule
- The retrieved mining rulejava.sql.SQLException
- when an error occurs during execution of rules retrieval.MiningObjectException
- when a retrieved rule is invalid.ODMException
- when an unknown error occurs during rules retrieval.public MiningRule[] getRules() throws java.sql.SQLException, MiningObjectException, ODMException
MiningRule[]
- An array of mining rulesjava.sql.SQLException
- when an error occurs during execution of rules retrieval.public void close() throws java.sql.SQLException
java.sql.SQLException
- when an error occurs while closing the connection and
JDBC related objects.public MiningRule[] getNextRules(int numRules) throws java.sql.SQLException, InvalidArgumentException, MiningObjectException, ODMException
numRules
- The number of rules to be retrievedMiningRule[]
- An array of retrieved mining rulesjava.sql.SQLException
- when an error occurs during execution of rules retrieval.MiningObjectException
- when a retrieved rule is invalid.ODMException
- when an unknown error occurs during rules retrieval.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |