Class AbstractAssociationRuleMiner<T>

  • Type Parameters:
    T - the type of items
    All Implemented Interfaces:
    AssociationRuleMiner<T>
    Direct Known Subclasses:
    AprioriMiner

    public abstract class AbstractAssociationRuleMiner<T>
    extends java.lang.Object
    implements AssociationRuleMiner<T>
    Abstract layer for association rule miners, bundles common methods.
    Author:
    Matthias Thimm
    • Method Summary

      Modifier and Type Method Description
      java.util.Collection<AssociationRule<T>> mineRules​(java.util.Collection<java.util.Collection<T>> database)
      Mines a set of association rules from the given database.
      java.util.Collection<AssociationRule<T>> mineRules​(java.util.Collection<java.util.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, wait
    • Constructor Detail

      • AbstractAssociationRuleMiner

        public AbstractAssociationRuleMiner()
    • Method Detail

      • mineRules

        public java.util.Collection<AssociationRule<T>> mineRules​(java.util.Collection<java.util.Collection<T>> database)
        Description copied from interface: AssociationRuleMiner
        Mines a set of association rules from the given database.
        Specified by:
        mineRules in interface AssociationRuleMiner<T>
        Parameters:
        database - some database
        Returns:
        a set of association rules.
      • mineRules

        public java.util.Collection<AssociationRule<T>> mineRules​(java.util.Collection<java.util.Collection<T>> database,
                                                                  int conclusion_limit)
        Description copied from interface: AssociationRuleMiner
        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.
        Specified by:
        mineRules in interface AssociationRuleMiner<T>
        Parameters:
        database - some database
        conclusion_limit - the maximal size of elements in the conclusion of the mined rules.
        Returns:
        a set of association rules.