It is a Data Mining Project in order to handle data and present it on a webpage.
The UI design is still in progress, here's a sneak peek of the frontend part
Association Rules has 3 important rules:
- Support: This measure defines the likeliness of occurrence of consequent on the cart given that the cart already has the antecedents.
- Cofidence: This measure gives an idea of how frequent an itemset is in all the transactions
- Lift: Lift controls for the support (frequency) of consequent while calculating the conditional probability of occurrence of {Y} given {X}.
There is another rule known as conviction:
- Conviction: It compares the probability that {X} appears without {Y} if they were dependent with the actual frequency of the appearance of {X} without {Y}.
My Aim was to give user all these details when a product is selected, so I made something like this:
All the data that you are seeing in this image actually comes from the algorithm that we have ran on the backend app.py
file
- Clone the repo
- Go to the repo directory
- Run backend:
- Open Terminal
- Type cmd:
python app.py
- If it gives errors like
module not found
, install the module usingpip install
. Replacemodule
module
with the error module.
- Run Frontend:
- Create new terminal
- Go to client folder
- Type cmd:
npm install
- Type cmd:
npm start
- Enjoy
If you like this repo, check out my profile at github.com/RohanPunjani.
Thank You for making it this far XD