Currently Being Moderated

R-Apriori Algorithm

SAP Predictive Analysis:

SAP Predictive Analysis is a statistical analysis and data mining solution that enables you to build predictive models to discover hidden insights and relationships in your data, from which you can make predictions about future events.

 

Association Algorithm:

R-Apriori: This algorithm is used to understand what products and services customers tend to purchase at the same time. By analyzing the purchasing trends of customers with association analysis, prediction of their future behavior can be made.

Let us walk through a simple example to work on the:

Step 1: The below excel file have the OrderID and Product ID

 

1.jpg

Step 2: Open the Predictive Analysis Tool.

Step 3: Go to FILE-> NEW-> Select the Data Source (here in this case select Excel)

 

2.jpg

 

Step 4: Choose the file from the saved location.

3.jpg

Step 5: The Below Screen shows the data Acquisition, Select Acquire.

5.jpg

Step 6: The below screen shows the data where we can filter, Manipulate the data

6.jpg

 

Step 7: Go to predict tab,

Select the Algorithms tab: which shows various Algorithms:

Under Association, select R-Apriori Algorithm.

7.jpg

 


Step 8: Select the Configure Properties as shown in the below screen.

8.jpg

 

Step 9: The below screen shows the Configuration Properties:

Output Mode: Select the mode to display the output, e.g. Rules

Input Format: Select the format of the input data, e.g., Transactions


Item column: Select the column containing items, on which u want to apply the algorithm


Transaction ID Column: select the column containing Transaction ID i.e., Order ID


Support: Enter a value for the minimum support of an item


Confidence: Enter a value for the minimum confidence of rules/association.

Save the model and Close.

9.jpg

Step 10: Run the Analysis

10.jpg

Step 11:  The below screen shows the

Rules: Which give the rules for the given column, here in this example the rule is applied to the Product,

This gives the support, Confidence and lift for the products in all the possible combinations, which is used to predict the frequent item set patterns.

11.jpg

Step 12: Select Charts, to view the summary of the algorithm,

12.jpg

13.jpg

 

Hope it helps,

 

Thanks,

Shivani.Yemula

Comments

Delete Document

Are you sure you want to delete this document?

Actions