Java Reference
In-Depth Information
Table 9-19
(continued)
Methods
Description
getItemsets(int itemsetSize): Collection
Constructs and returns a collection of the itemsets of the
specified size that allows sequential inspection of the gener-
ated itemsets of the given size.
getMaxAbsoluteSupport(): int
Returns the maximum support value of the rules contained
in the model.
getMinAbsoluteSupport(): int
Returns the minimum support value of the rules contained
in the model.
getMaxConfidence(): Double
Returns the maximum confidence value of the rules con-
tained in the model.
getMaxRuleLength(): int
Returns the largest rule length in terms of the number of
items.
getMaxTransactionSize(): int
Returns the number of items in the largest transaction in
the build data used when building the model.
getMinConfidence(): Double
Returns the minimum confidence value of the rules con-
tained in the model.
getNumberOfItems(): int
Returns the number of distinct items in the build data used
when building the model.
getNumberOfItemsets(): int
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.
getNumberOfTransactions(): long
Returns the number of transactions used to build the model.
getRules(): Collection
Constructs and returns a collection of all rules in the model
that allows sequential inspection of the generated rules.
getRules(RulesFilter filter): Collection
Constructs and returns a collection of model rules as filtered
by the specified filter.
association.AssociationRule
Methods
Description
getAbsoluteSupport(): int
Returns the support for the given association rule in terms
of absolute count of transactions supporting this rule.
getAntecedent(): Itemset
Returns the antecedent of the association rule.
getConsequent (): Itemset
Returns the consequent of the association rule.
getSupport (): double
Returns the support for the given association as a percent-
age of the total number of transactions. The percentage is a
number between 0 and 100, denoted as (0,100] where 100 is
included.
Search WWH ::




Custom Search