Building models with SAS Enterprise Miner, SAS Factory Miner, SAS Visual Data Mining and Machine Learning or just with programming

Error when running market basket node in SAS EM

Reply
Occasional Contributor
Posts: 6

Error when running market basket node in SAS EM

I used the same transaction data for both association and market basket node. Result is returned with association node but error appeared under market basket node. May I check what possible causes are?

 

Error shown in result: Run time error was encoutered. Pls see the log for more details.

Error in log: The variable RULE in the DROP, KEEP, or RENAME list has never been referenced. (Appeared in log row 538 right after line, "MPRINT(TRAIN): set EWMS1.MRKBSKT_OUTRULE(keep=RULE transpose);"

 

I am quite new to SAS EM and your help is appreciated!

Super Contributor
Posts: 337

Re: Error when running market basket node in SAS EM

Posted in reply to youyunjupiter

Hi YouYun,

 

It looks like for that specific data set, MBA node cannot find rules with the constraints settings you are using. What happens when you make the Constraints more relaxed? E.g. change support type from percent to count, with a small count value; also decrease the minimum confidence level.

 

HIH!

-Miguel

Occasional Contributor
Posts: 6

Re: Error when running market basket node in SAS EM

Posted in reply to M_Maldonado

Thanks Miguel for your reply! I tried to align the criterion used in MBA to those used in AA, however, same error happened. 

After that, I tried to use count for support and changed min count = 5, however, insufficient memory error happened..

 

Here is the setup used in AA

Setting used in AA.PNG

 

Here is the setup used in MBA

Setting used in MBA.PNG

Occasional Contributor
Posts: 6

Re: Error when running market basket node in SAS EM

Posted in reply to youyunjupiter

Hi Miguel, It run through after I specified minimum lift. I am not sure whether it is the normal behavior as minimum lift was set as "-" as the default setting. Anyway, glad that MB node becomes green finally. Thanks! Smiley Happy

Ask a Question
Discussion stats
  • 3 replies
  • 423 views
  • 1 like
  • 2 in conversation