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! 🙂

 

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

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
  • 948 views
  • 1 like
  • 1 in conversation