Import the respective libraries through install packages module of RStudio
- arules
- arulesviz
- RColorBrewer
- Matrix
You will also need Rtools if you dont have already.
First association rules are calculated from the dataset on the respective itemsets
We get support, cofidence and lift values which are the core to our model.
Then depending on our user provided parameters we filter the rules according to MinSupport and MinConfidence values, this reduces the computational complexity exponentially.
Then we are given all association rules and we filter the top ones as they have strong association and these are the ones that we acually need to implement to increase business throughput.