Question: Data Mining Association rule mining function is to determine an association between products/items. Apriori algorithm were one of the more popular and probably the most

 Data Mining Association rule mining function is to determine an association

Data Mining Association rule mining function is to determine an association between products/items. Apriori algorithm were one of the more popular and probably the most efficient algorithms. Table 1 shows the ten transactions of groceries store dataset. This dataset contains the top four groceries and 20 transaction records. Table 1 Form the code for the market basket analysis from the case study above using the Apriori algorithm. The required steps are as follows: Step 1: Import related libraries and load the Grocerystoredataset. csv dataset. Step 2: Check the info for the dataset recorded. Step 3: Check the shape of the dataset. Step 4: Convert Pandas DataFrame into a list of lists. Step 5: Transform the list with one-hot encoding. Explain the function Step 6: Build the Apriori model for the dataset. Set the minimum support value at 0.17 and a threshold value for confidence at 0.55. Step 7: Get the support, confidence and lift values for recommended antecedents and consequents transactions. Explain the results

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!