Posts

Showing posts from June, 2019

Market Basket Analysis

Image
                   MARKET BASKET ANALYSIS                                                        Introduction: Market Basket Analysis  explains the combinations of products that frequently  co-occur in transactions. For example, people who buy bread and eggs, also tend to buy butter as many of them are planning to make an omelette. Marketing team should target customers who buy bread and eggs with offers on butter, to encourage them to spend more on their shopping basket. Questions: 1)  Read the csv file into a dataframe. Inspect the file. Ans:   Set the working directory, install the package arules then inspect the file as follows:    setwd("C:/Users/hp/Documents/DataScience")                    ...