Inheritance diagram for kddml.Core.DataMining.AssociationRules.AssociationModel:
Public Member Functions | |
KDDMLObjectType | getType () |
boolean | addRule (AssociationRuleManager rule) |
void | addRules (AssociationRuleManager[] rules) |
Iterator | getAssociationRules () |
Iterator | getItemsets () |
Iterator | getItems () |
boolean | removeRule (AssociationRuleManager rule, boolean rebuild_itemsets) |
void | removeRules (AssociationRuleManager[] rules, boolean rebuild_itemsets) |
boolean | removeItemset (ItemsetManager itemset) |
void | removeItemsets (ItemsetManager[] itemsets) |
double | getMinSupport () |
double | getMinConfidence () |
int | getNumberOfTransactions () |
int | getNumberOfItems () |
int | getNumberOfItemsets () |
int | getNumberOfRules () |
Integer | getMaxTransactionSize () |
void | setMaxTransactionSize (int max_number_of_items_per_TA) |
Double | getAverageTransactionSize () |
void | setAvgTransactionSize (double avg_number_of_items_per_TA) |
boolean | isBoolean () |
boolean | isEmpty () |
boolean | contains (ItemManager item) |
boolean | contains (ItemsetManager itemset) |
boolean | contains (AssociationRuleManager rule) |
void | saveToRepository () throws kddml.Core.KDDMLCoreException |
AssociationModel | clone (java.io.File output_path) |
Object | rdaToInstances () throws AssociationModelException |
Object | itemsetsToInstances () throws AssociationModelException |
String | toString () |
void | saveHTML () throws KDDMLCoreException |
Static Public Attributes | |
static int | MAX_NUMBER_OF_ITEMSETS = 5000 |
static int | MAX_NUMBER_OF_RULES = 5000 |
spaghetti, tomato --> parmesan, or inter-attribute rules, such as
carType = racing, homeInsurance = false --> married = yes. An association rule model consists of four major parts:
Title: KDDML
Description: Knowledge Discovery in Database Environment
Copyright: Copyright (c) 2003-2005
Company: Universita' di Pisa - Dipartimento di Informatica
|
It returns the type of the object.
Implements kddml.Core.KDDMLObject. |
|
Adds a new association rule to this model. Returns true if the rule has been added. Returns false if the model already contains the rule.
Implements kddml.Core.DataMining.AssociationRules.AssociationModelManager. |
|
Adds a set of association rules to this model.
Implements kddml.Core.DataMining.AssociationRules.AssociationModelManager. |
|
Returns the list of association rules belonging to the model.
Implements kddml.Core.DataMining.AssociationRules.AssociationModelManager. |
|
Returns the list of itemsets belonging to the model.
Implements kddml.Core.DataMining.AssociationRules.AssociationModelManager. |
|
Returns the list of items belonging to the model.
Implements kddml.Core.DataMining.AssociationRules.AssociationModelManager. |
|
Remove a rule from the model. If rebuild_itemsets is true, then the frequent itemsets are computed from the new set of association rules. Otherwise, itemsets will not change. Returns true if and only if the rule has been removed from the model.
Implements kddml.Core.DataMining.AssociationRules.AssociationModelManager. |
|
Removes a set of association rules from the list of rules. If rebuild_itemsets is true, then the frequent itemsets are computed from the new set of association rules. Otherwise, itemsets will not change.
Implements kddml.Core.DataMining.AssociationRules.AssociationModelManager. |
|
Removes a frequent itemset from the model. Also removes from the model the association rules referred by the itemset. Returns true if and only if the itemset has been removed from the model.
Implements kddml.Core.DataMining.AssociationRules.AssociationModelManager. |
|
Removes a set of frequent itemsets from the model. Also removes from the model the association rules referred by the itemsets.
Implements kddml.Core.DataMining.AssociationRules.AssociationModelManager. |
|
Returns the minimum support of rules. Support is calculate as: (num supporting transactions / num total transactions).
Implements kddml.Core.DataMining.AssociationRules.AssociationModelManager. |
|
Returns the minimum confidence of rules. Confidence is calculate as: (support(rule) / support(antecedent)).
Implements kddml.Core.DataMining.AssociationRules.AssociationModelManager. |
|
Returns the number of transactions used to build the model.
Implements kddml.Core.DataMining.AssociationRules.AssociationModelManager. |
|
Returns the number of items.
Implements kddml.Core.DataMining.AssociationRules.AssociationModelManager. |
|
Returns the number of itemsets.
Implements kddml.Core.DataMining.AssociationRules.AssociationModelManager. |
|
Returns the number of rules.
Implements kddml.Core.DataMining.AssociationRules.AssociationModelManager. |
|
Returns the maximum number of items in the transactions contained in the input data used to build the model.
Implements kddml.Core.DataMining.AssociationRules.AssociationModelManager. |
|
Sets the maximum number of items in the transactions contained in the input data used to build the model.
Implements kddml.Core.DataMining.AssociationRules.AssociationModelManager. |
|
Returns the average number of items in the transactions contained in the input data used to build the model.
Implements kddml.Core.DataMining.AssociationRules.AssociationModelManager. |
|
Sets the average number of items in the transactions contained in the input data used to build the model.
Implements kddml.Core.DataMining.AssociationRules.AssociationModelManager. |
|
Returns true if the model contains boolean association rules. Boolean association rules (or intra-attribute rules) have the form:
spaghetti, tomato --> parmesan. carType = racing, homeInsurance = false --> married = yes.
Implements kddml.Core.DataMining.AssociationRules.AssociationModelManager. |
|
Returns ture if the model do not contain frequent itemsets and association rules.
Implements kddml.Core.KDDMLObject. |
|
Tests if the model contains at least an item.
Implements kddml.Core.DataMining.AssociationRules.AssociationModelManager. |
|
Tests if the model contains an input itemset.
Implements kddml.Core.DataMining.AssociationRules.AssociationModelManager. |
|
Tests if the model contains an input association rule.
Implements kddml.Core.DataMining.AssociationRules.AssociationModelManager. |
|
Save the object in the system repository. The destination path is provided by the object_path variable.
Implements kddml.Core.KDDMLObject. |
|
Clones this model returning a new association model as output. Model Returned is a shallow copy of this one (The elements themselves (items, itemsets, association rules) are not cloned).
Implements kddml.Core.DataMining.AssociationRules.AssociationModelManager. |
|
Returns a representation of the rules contained in the model as set of instances. The number of instances is equal to the number of association rules. The list of attributes is reported below:
Implements kddml.Core.DataMining.AssociationRules.AssociationModelManager. |
|
Returns a representation of the itemsets contained in the model as set of instances. The number of instances is equal to the number of itemsets. The list of attributes is reported below:
Implements kddml.Core.DataMining.AssociationRules.AssociationModelManager. |
|
Returns a representation of this object as string.
Reimplemented from kddml.Core.DataMining.MiningModel. |
|
Save the object in the system repository as HTML document.
Implements kddml.Core.HTMLTranslator. |
|
The max number of itemsets that the model can contain. |
|
The max number of association rules that the model can contain. |