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-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

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