This project implements association rule mining using the Apriori Algorithm, Brute-Force, and FP-Growth techniques. It provides a Flask-based web application for analyzing transactional data from major retailers (Amazon, Best Buy, K-Mart, Nike, and a generic dataset). Users can select datasets, set minimum support and confidence, and visualize the generated association rules.
- Association Rule Mining using:
- Brute-Force
- Apriori Algorithm
- FP-Growth Algorithm
- Flask-based Web Interface
- Dataset Selection
- Performance Comparison between algorithms
- Result Visualization with frequent itemsets and association rules
Identifies items that appear together frequently in transactions.
- Support: Frequency of an itemset in the dataset.
- Confidence: Probability of item B appearing given item A.
Generated in the form: {A} → {B}, meaning if A is bought, B is likely to be bought.
- Data Loading – Load transactional datasets.
- Preprocessing – Encode data for analysis.
- Parameter Selection – Users set support & confidence thresholds.
- Algorithm Execution – Run Brute-Force, Apriori, or FP-Growth.
- Result Comparison – Compare performance across algorithms.
- Visualization – Display results in the web interface.
Install required Python packages:
pip install Flask pyngrok mlxtend apriori_python