Posts

Showing posts from April, 2018

Getting Started With Association Rule Algorithms in Machine Learning (Apriori) - with only 8 lines of code

Image
Machine Learning is all about finding patterns in the past data and using it to take future decisions. There are many types of algorithms available in machine learning like classification, regression, clustering and etc. Based on our requirement and resources we will choose one.  Association rules are another type of machine learning algorithms which will allow us to find the relationships between two or more elements. In association rules we will try to find data item that have association with another data item, to explain this let's take the super market for example, In super market arranging the products take lots of decision making, because they need to decide how to make the customer buy more products. Let's say if you keep a complementing product close to another product such as tea and sugar then there is a high possibility where customer will buy both. Finding association between tea and sugar is quite obvious, but do you know baby pampers and the beer have ...