Association model

Eclat Algorithm

Mining frequent itemsets using depth-first search with set intersection.

Eclat (Equivalence Class Transformation) is an efficient algorithm for frequent itemset mining that uses a depth-first search strategy with set intersections. Instead of horizontal data format (transactions), it uses vertical format (item to transaction-id sets), making support counting faster.

Formula

Support(X) = |TidSet(X)| / |D|

How it works

  • Converts database to vertical format (item → transaction IDs)
  • Uses depth-first search unlike Apriori's breadth-first
  • Computes support by set intersection of transaction IDs
  • Prunes based on support threshold
  • No candidate generation step needed

When to use it

  • For large transaction databases
  • When Apriori is too slow
  • For dense datasets
  • When memory is available for vertical format
  • For interactive mining applications

Advantages

  • Faster than Apriori for many cases
  • Simple set intersection operations
  • No candidate generation
  • Good for dense datasets
  • Single database scan for counting

Limitations

  • Memory intensive (stores transaction IDs)
  • May struggle with very large datasets
  • Vertical format conversion overhead
  • Less efficient for sparse data
  • Does not generate rules directly

Example uses

  • Frequent pattern mining
  • Product recommendation
  • Web log analysis
  • Bioinformatics
  • Sequential pattern discovery

Related models

Need a model built on your data?

Tell us the decision you want to improve. We will tell you whether your data can support it and which approach fits.