Posts

Showing posts from July, 2020

Market basket analysis using apriori alorithm in python

Image
Introduction : You are at market and you see several items placed together like soaps are kept alongside shampoos, then you visit another market and see the same combination of items together, coincidence ? Well not exactly. Consider this as the blessing of  Market basket analysis technique. What is Market Basket Analysis? Market Basket Analysis also known as Affinity Analysis is a modelling technique based upon the theory that if you buy a certain group of items, you are more (or less) likely to buy another group of items. It uses  association rule mining technique to find relevant association between items.   Association rule: Association rule learning is a rule-based machine learning method for discovering interesting relations between variables in large databases. This  technique isn’t limited to shopping carts. Other areas where this is used include analysis of  fraudulent insurance claims  or  credit card purchases .   Another r...