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