@Reference(title="New Algorithms for Fast Discovery of Association Rules", authors="M.J. Zaki, S. Parthasarathy, M. Ogihara, and W. Li", booktitle="Proc. 3rd ACM SIGKDD \'97 Int. Conf. on Knowledge Discovery and Data Mining", url="http://www.aaai.org/Library/KDD/1997/kdd97-060.php") public class Eclat extends AbstractFrequentItemsetAlgorithm
New Algorithms for Fast Discovery of Association Rules
M.J. Zaki, S. Parthasarathy, M. Ogihara, and W. Li
Proc. 3rd ACM SIGKDD '97 Int. Conf. on Knowledge Discovery and Data Mining
Modifier and Type | Class and Description |
---|---|
static class |
Eclat.Parameterizer
Parameterization class.
|
Modifier and Type | Field and Description |
---|---|
private static Logging |
LOG
Class logger.
|
private static String |
STAT
Prefix for statistics.
|
maxlength, minlength
Constructor and Description |
---|
Eclat(double minsupp,
int minlength,
int maxlength)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
private DBIDs[] |
buildIndex(Relation<BitVector> relation,
int dim,
int minsupp) |
private void |
extractItemsets(DBIDs[] idx,
int start,
int minsupp,
List<Itemset> solution) |
private void |
extractItemsets(DBIDs iset,
DBIDs[] idx,
int[] buf,
int depth,
int start,
int minsupp,
List<Itemset> solution) |
TypeInformation[] |
getInputTypeRestriction()
Get the input type restriction used for negotiating the data query.
|
protected Logging |
getLogger()
Get the (STATIC) logger for this class.
|
private DBIDs |
mergeJoin(DBIDs first,
DBIDs second) |
FrequentItemsetsResult |
run(Database db,
Relation<BitVector> relation)
Run the Eclat algorithm
|
getMinimumSupport
makeParameterDistanceFunction, run
private static final Logging LOG
private static final String STAT
public Eclat(double minsupp, int minlength, int maxlength)
minsupp
- Minimum supportminlength
- Minimum lengthmaxlength
- Maximum lengthpublic FrequentItemsetsResult run(Database db, Relation<BitVector> relation)
db
- Database to processrelation
- Bit vector relationprivate void extractItemsets(DBIDs[] idx, int start, int minsupp, List<Itemset> solution)
private void extractItemsets(DBIDs iset, DBIDs[] idx, int[] buf, int depth, int start, int minsupp, List<Itemset> solution)
public TypeInformation[] getInputTypeRestriction()
AbstractAlgorithm
getInputTypeRestriction
in interface Algorithm
getInputTypeRestriction
in class AbstractAlgorithm<FrequentItemsetsResult>
protected Logging getLogger()
AbstractAlgorithm
getLogger
in class AbstractAlgorithm<FrequentItemsetsResult>
Copyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.