summarylogtreecommitdiffstats
AgeCommit message (Collapse)Author
2023-01-01initial commit for efficient_aprioriRichard PALO
https://github.com/tommyod/Efficient-Apriori The apriori algorithm uncovers hidden structures in categorical data. The classical example is a database containing purchases from a supermarket. Every purchase has a number of items associated with it. We would like to uncover association rules such as `{bread, eggs} -> {bacon}` from the data. This is the goal of [association rule learning](https://en.wikipedia.org/wiki/Association_rule_learning), and the [Apriori algorithm](https://en.wikipedia.org/wiki/Apriori_algorithm) is arguably the most famous algorithm for this problem. This repository contains an efficient, well-tested implementation of the apriori algorithm as described in the [original paper](https://www.macs.hw.ac.uk/~dwcorne/Teaching/agrawal94fast.pdf) by Agrawal et al, published in 1994. **The code is stable and in widespread use.** It's cited in the book "*Mastering Machine Learning Algorithms*" by Bonaccorso. **The code is fast.** See timings in [this PR](https://github.com/tommyod/Efficient-Apriori/pull/40).