Download apriori algorithm source code in c#
To get this list, one needs to calculate the support values for every possible configuration of items, and then shortlist the itemsets that meet the minimum support threshold. Rather, the owner would be more interested in having a complete list of popular itemsets.
However, a business owner would not typically ask about individual itemsets. This says how popular an itemset is, as measured by the proportion of transactions in which an itemset appears. There are three common ways to measure association. In medical diagnosis for instance, understanding which symptoms tend to co-morbid can help to improve patient care and medicine prescription.Īssociation rules analysis is a technique to uncover how items are associated to each other. While we may know that certain items are frequently bought together, the question is, how do we uncover these associations?īesides increasing sales profits, association rules can also be used in other fields. X and Y could be combined into a new product, such as having Y in flavors of X.Advertisements on X could be targeted at buyers who purchase Y.Promotional discounts could be applied to just one out of the two items.Both X and Y can be placed on the same shelf, so that buyers of one item would be prompted to buy the other.If there is a pair of items, X and Y, that are frequently bought together: Understanding these buying patterns can help to increase sales in several ways. A housewife might buy healthy ingredients for a family dinner, while a bachelor might buy beer and chips. Each shopper has a distinctive list, depending on one’s needs and preferences. When we go grocery shopping, we often have a standard list of things to buy. By Annalyn Ng, Ministry of Defence of Singapore.