BookmarkSubscribeRSS Feed
piecze
Calcite | Level 5

Hi all!

I am trying to score customer's basket from the ASSOCS dataset with proc astore. The binary scoring model has been generated using Market Basket Analysis task in SAS Studio, which has also provided me with 130 association rules.

image (3).png

I have then created a sample input dataset containing 2 customers (each with 7 products copied from the original dataset) to run through the scoring model on SAS Viya. However, I am struggling to intepret the results shown in the images below.

image (2).png

image (1).png

 

The scoring model seems to list all indexes of the association rules as columns and assign the "rule_id" column values from rules set in to them. The values are arranged in increasing order and at some point switch to 0's only (image 2). What I would expect is simply a row with cutomer_id and a single rule_id or item with highest probabilty of occuring among the items in the basket.

 

Any help on intepretation or how to make use of the scoring model would be highly appreciated! 🙂

 

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

How to choose a machine learning algorithm

Use this tutorial as a handy guide to weigh the pros and cons of these commonly used machine learning algorithms.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 0 replies
  • 734 views
  • 1 like
  • 1 in conversation