|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
An AssociationModel object contains
the metadata, such as itemsets, rules, resulting
from a model built using
AssociationSettings.
MiningObject,
Model| Method Summary | |
java.lang.Double |
getAverageTransactionSize()
Returns the average number of items in the transactions in the build data used when building the model. |
java.util.Collection |
getItems()
Returns a collection of all items used to build the model that can be used to sequentially fetch items that occur in at least one rule in the model. |
java.util.Collection |
getItemsets()
Returns a collection of all itemsets found that can be used to sequentially fetch the itemsets that occur in at least one rule in the model. |
java.util.Collection |
getItemsets(int itemsetSize)
Constructs and returns a collection of the itemsets of the specified size that allows sequential inspection of the generated itemsets of the given size. |
int |
getMaxAbsoluteSupport()
Returns the maximum support value of the rules contained in the model. |
java.lang.Double |
getMaxConfidence()
Returns the maximum confidence value of the rules contained in the model. |
int |
getMaxRuleLength()
Returns the largest rule length in terms of the number of items. |
int |
getMaxTransactionSize()
Returns the number of items in the largest transaction in the build data used when building the model. |
int |
getMinAbsoluteSupport()
Returns the minimum support value of the rules contained in the model. |
java.lang.Double |
getMinConfidence()
Returns the minimum confidence value of the rules contained in the model. |
int |
getNumberOfItems()
Returns the number of distinct items in the build data used when building the model. |
int |
getNumberOfItemsets()
Returns the number of itemsets whose support values are equal to or exceed the support threshold specified in the AssociationRulesSettings used when building the model. |
long |
getNumberOfTransactions()
Returns the number of transactions used to build the model. |
java.util.Collection |
getRules()
Constructs and returns a collection of all rules in the model that allows sequential inspection of the generated rules. |
java.util.Collection |
getRules(RulesFilter filter)
Constructs and returns a collection of the rules in the model that are filtered by the specified filter. |
| Methods inherited from interface javax.datamining.base.Model |
getApplicationName, getAttributeStatistics, getBuildDuration, getBuildSettings, getEffectiveBuildSettings, getMajorVersion, getMiningAlgorithm, getMiningFunction, getMinorVersion, getModelDetail, getProviderName, getProviderVersion, getSignature, getTaskIdentifier, getUniqueIdentifier, getVersion |
| Methods inherited from interface javax.datamining.MiningObject |
getCreationDate, getCreatorInfo, getDescription, getName, getObjectIdentifier, getObjectType, setDescription |
| Method Detail |
public java.lang.Double getAverageTransactionSize()
getMaxTransactionSize.
public java.util.Collection getItems()
throws JDMException
JDMException
public java.util.Collection getItemsets()
throws JDMException
AssociationRulesSettings used when building the model.
JDMException
public java.util.Collection getItemsets(int itemsetSize)
throws JDMException
itemsetSize - The size of the itemsets to be retrieved.
JDMExceptionpublic int getMaxAbsoluteSupport()
getNumberOfTransactions and greater or equal to the number returned from getMinAbsoluteSupport.
public java.lang.Double getMaxConfidence()
setMinimumConfidence method in AssociationSettings and less than or equal to 1.
public int getMaxRuleLength()
public int getMaxTransactionSize()
public int getMinAbsoluteSupport()
getNumberOfTransactions.
public java.lang.Double getMinConfidence()
setMinimumConfidence method in AssociationSettings and less than or equal to 1.
public int getNumberOfItems()
public int getNumberOfItemsets()
AssociationRulesSettings used when building the model. The returned number must be a non-negative integer.
public long getNumberOfTransactions()
public java.util.Collection getRules()
throws JDMException
JDMException
public java.util.Collection getRules(RulesFilter filter)
throws JDMException
filter - A specification for filtering rules.
JDMException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||