Interface AssociationRuleMiner<T>

  • Type Parameters:
    T - the type of items
    All Known Implementing Classes:
    AbstractAssociationRuleMiner, AprioriMiner

    public interface AssociationRuleMiner<T>
    Interface for algorithms mining association rules from transaction databases.
    Author:
    Matthias Thimm
    • Method Detail

      • mineRules

        Collection<AssociationRule<T>> mineRules​(Collection<Collection<T>> database,
                                                 int conclusion_limit)
        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 database
        conclusion_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 database
        conclusion_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.