Interface AssociationRuleMiner<T>
- Type Parameters:
T
- the type of items
- All Superinterfaces:
FrequentPatternMiner<T>
- All Known Implementing Classes:
AbstractAssociationRuleMiner
,AprioriMiner
Interface for algorithms mining association rules
from transaction databases.
- Author:
- Matthias Thimm
-
Method Summary
Modifier and TypeMethodDescriptionmineRules
(Collection<Collection<T>> database) Mines a set of association rules from the given database.mineRules
(Collection<Collection<T>> database, int conclusion_limit) Mines a set of association rules from the given database.mineRules
(Collection<Collection<T>> database, int conclusion_limit, int total_limit) Mines a set of association rules from the given database.Methods inherited from interface org.tweetyproject.machinelearning.assoc.FrequentPatternMiner
mineFrequentSets, mineFrequentSets
-
Method Details
-
mineRules
Mines a set of association rules from the given database.- Parameters:
database
- some database- Returns:
- a set of association rules.
-
mineRules
Mines a set of association rules from the given database. Only those rules are mined where the conclusion has the maximal given number of elements.- Parameters:
database
- some databaseconclusion_limit
- the maximal size of elements in the conclusion of the mined rules.- Returns:
- a set of association rules.
-
mineRules
Collection<AssociationRule<T>> mineRules(Collection<Collection<T>> database, int conclusion_limit, int total_limit) Mines a set of association rules from the given database. Only those rules are mined where the conclusion and in total has the maximal given number of elements, respectively.- Parameters:
database
- some databaseconclusion_limit
- the maximal size of elements in the conclusion of the mined rules.total_limit
- the total number of elements that may appear in the mined rules.- Returns:
- a set of association rules.
-