wpi.associations.arminer
Interface AssociationsFinder

All Known Implementing Classes:
AprioriRules

public interface AssociationsFinder

AssociationsFinder.java

This interface must be implemented by the algorithms that will look for associations.


Method Summary
 java.util.Vector findAssociations(DBCacheReader cacheReader, float minSupport, float minConfidence)
          Find association rules in a database, given the set of frequent itemsets.
 java.util.Vector findAssociations(DBCacheReader cacheReader, float minSupport, float minConfidence, ARMinerItemset inAntecedent, ARMinerItemset inConsequent, ARMinerItemset ignored, int maxAntecedent, int minConsequent)
          Find association rules in a database, given the set of frequent itemsets and a set of restrictions.
 

Method Detail

findAssociations

public java.util.Vector findAssociations(DBCacheReader cacheReader,
                                         float minSupport,
                                         float minConfidence)
Find association rules in a database, given the set of frequent itemsets.

Parameters:
cacheReader - the object used to read from the cache
minSupport - the minimum support
minConfidence - the minimum confidence
Returns:
a Vector containing all association rules found

findAssociations

public java.util.Vector findAssociations(DBCacheReader cacheReader,
                                         float minSupport,
                                         float minConfidence,
                                         ARMinerItemset inAntecedent,
                                         ARMinerItemset inConsequent,
                                         ARMinerItemset ignored,
                                         int maxAntecedent,
                                         int minConsequent)
Find association rules in a database, given the set of frequent itemsets and a set of restrictions.

Parameters:
cacheReader - the object used to read from the cache
minSupport - the minimum support
minConfidence - the minimum confidence
inAntecedent - the items that must appear in the antecedent of each rule
inConsequent - the items that must appear in the consequent of each rule
ignored - the items that should be ignored
maxAntecedent - the maximum number of items that can appear in the antecedent of each rule
minConsequent - the minimum number of items that should appear in the consequent of each rule
Returns:
a Vector containing all association rules found