/Racnet

Web application using shiny to gain association rules using Apriori algorithm using Basket Market analysis

Primary LanguageR

Racnet

Web application using shiny to gain association rules using Aproiri algorithm within a transactional database.

NOTE: Feel free to fork that repository ,PR are welcom as well ,and give us a shot if you like the project by starring it.

1. INTRODUCTION :

Market Basket Analysis : Technique used by large retailers to uncover associations between items . It works by looking for a combinations of items that occurs together frequently in transactions, providing information to understand the purchase behavior.

First it’s important to define the Apriori algorithm, including some statistical concepts (support, confidence, lift and conviction) to select interesting rules.

1. ASSOCIATION RULES :

The Apriori algorithm generates association rules for a given data set. An association rule implies that if an item A occurs, then item B also occurs with a certain probability. Let’s see an example :

items
[1]{BISCUIT,BREAD,MAGGI,TEA}
[2]{BREAD,JAM,MAGGI,TEA}
[3]{BREAD,MILK}
[4]{BISCUIT,COCK,COFFEE,CORNFLAKES}
[5]{BOURNVITA,COFFEE,SUGER}
[6]{BREAD,COCK,COFFEE}