Note that JDM does not have any algorithm-specific model details
defined for the association function since the model contents are con-
sidered general enough for most algorithms. Table 9-19 shows the list
of association-related interfaces and their methods.
association.AssociationSettings extends base.BuildSettings
(Object item, boolean included))
Used to get/add/remove an item from/to the list of items to
be excluded from (if included flag is false) or included in
(if true) the frequent itemset building.
(Object items, boolean included))
Used to get/add/remove an items from/to the list of items to
be excluded when building the frequent itemsets (if included
flag is false), or included when building the frequent
itemsets (if true).
Used to set/get the minimum support allowed for any
Used to set/get the minimum confidence allowed for any
Used to set/get the maximum number of rules to be included
in the model.
set/getMaxRuleLength( int maxLength)
Used to set/get the maximum number of items in a rule.
(int maxLength, boolean isAntecedent)
Used to set/get the maximum number of items in a rule com-
ponent. The isAntecedent boolean flag is used to indicate
the antecedent (if true ) or consequent (if false )
(String attributeName, String
Used to set/get the name of the Taxonomy object to be used
for the specified attribute.
association.AssociationModel extends base.Model
Returns the average number of items in the transactions in
the build data used when building the model.
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.
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.