Class AbstractAssociationRuleMiner<T>
java.lang.Object
org.tweetyproject.machinelearning.assoc.AbstractAssociationRuleMiner<T>
- Type Parameters:
T- the type of items
- All Implemented Interfaces:
AssociationRuleMiner<T>,FrequentPatternMiner<T>
- Direct Known Subclasses:
AprioriMiner
public abstract class AbstractAssociationRuleMiner<T>
extends Object
implements AssociationRuleMiner<T>
Abstract layer for association rule miners, bundles common methods.
- Author:
- Matthias Thimm
-
Constructor Summary
Constructors -
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.Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.tweetyproject.machinelearning.assoc.AssociationRuleMiner
mineRulesMethods inherited from interface org.tweetyproject.machinelearning.assoc.FrequentPatternMiner
mineFrequentSets, mineFrequentSets
-
Constructor Details
-
AbstractAssociationRuleMiner
public AbstractAssociationRuleMiner()
-
-
Method Details
-
mineRules
Description copied from interface:AssociationRuleMinerMines a set of association rules from the given database.- Specified by:
mineRulesin interfaceAssociationRuleMiner<T>- Parameters:
database- some database- Returns:
- a set of association rules.
-
mineRules
public Collection<AssociationRule<T>> mineRules(Collection<Collection<T>> database, int conclusion_limit) Description copied from interface:AssociationRuleMinerMines a set of association rules from the given database. Only those rules are mined where the conclusion has the maximal given number of elements.- Specified by:
mineRulesin interfaceAssociationRuleMiner<T>- Parameters:
database- some databaseconclusion_limit- the maximal size of elements in the conclusion of the mined rules.- Returns:
- a set of association rules.
-