BookmarkSubscribeRSS Feed

Running a scoring test for a Python model registered through register_model of sasctl failed

Started ‎02-24-2023 by
Modified ‎02-24-2023 by
Views 172

Question

I registered a Python model using register_model of python-sasctl   into a model repository.  I created a scoring test for the registered model in SAS Model Manager. When I ran the scoring test, it failed with the following error in the sas log.

NOTE: Created package xxx in data set "x.y"
NOTE: Execution succeeded. No rows affected.
NOTE: Running 'modelPublishing' action set with 0 workers.
NOTE: Execution of model 'TempModel_xxx ' succeeded.
ERROR: There is no session-scope table Test_xxx_output in caslib xxx of Cloud Analytic Services.

Answer

The issue is most likely caused by the Score code type of the registered model being DS2 multi-type. Change the Score code type to DS2 Package. Run the scoring test again. 

PythonModelScoreCodetype.jpg

Version history
Last update:
‎02-24-2023 10:00 AM
Updated by:
Contributors

SAS INNOVATE 2024

Innovate_SAS_Blue.png

Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.

If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website. 

Register now!

Free course: Data Literacy Essentials

Data Literacy is for all, even absolute beginners. Jump on board with this free e-learning  and boost your career prospects.

Get Started

Article Tags