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 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.
      java.util.Collection<AssociationRule<T>> mineRules​(java.util.Collection<java.util.Collection<T>> database, int conclusion_limit, int total_limit)
      Mines a set of association rules from the given database.
    • Method Detail

      • mineRules

        java.util.Collection<AssociationRule<T>> mineRules​(java.util.Collection<java.util.Collection<T>> database)
        Mines a set of association rules from the given database.
        Parameters:
        database - some database
        Returns:
        a set of association rules.
      • mineRules

        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. 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

        java.util.Collection<AssociationRule<T>> mineRules​(java.util.Collection<java.util.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.