sassoftware/python-sasctl

Can not run a scoring test for model registered by register_sas_regression_model.py

jifwei opened this issue · 3 comments

Describe the issue
Can not run a scoring test for model registered by register_sas_regression_model.py
To Reproduce
Just run register_sas_regression_model.py and get a model registered. Then create a scoring test and run the scoring test. It failed. The issue was caused by the score code type for the registered model. I switched from DS2 multi-type to DS2 package and it worked.
Expected behavior
A clear and concise description of what you expected to happen.

Stack Trace
If you're experiencing an exception, include the full stack trace and error message.

Version
What version of sasctl are you using?
1.7.3

@jifwei,

Can you update to the newest version of sasctl and see if the same behavior occurs? Also, are you aiming at a SAS Viya 3.5 or a SAS Viya 4 server?

@smlindauer That example should work for both SAS Viya 4 and SAS Viya 3.5 since it has embedded the pickle file in the python code. I also tried sascrl 1.8.2 and it also has the same issue.