Market Basket Analysis helps merchants to boost their business. It is a kind of Machine Learning namely Association Rule Mining in a data set for all transactions that consists of items bought in the store by several customers over a period of time. A seller will use these findings to change, or update, or add items in inventory, he also may use them to change the layout of the physical store or rather an online store.
The picture presents some results of Market Basket Analysis. First, the data set was converted into transaction data so that all items that are bought together in one invoice are in one row. Then, a special algorithm were used to mine frequent item sets and association rules. The algorithm employs level-wise search for frequent item sets. The calculations were passed with a parameter set that had to return all the rules that have a support of at least 0.1% and confidence of at least 40%. The rules sorted by decreasing confidence are probable market baskets.