Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
jifwei opened this issue Feb 9, 2023 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@jifwei
Copy link

jifwei commented Feb 9, 2023

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 jifwei added the bug Something isn't working label Feb 9, 2023
@smlindauer
Copy link
Collaborator

@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 smlindauer self-assigned this Feb 9, 2023
@jifwei
Copy link
Author

jifwei commented Feb 9, 2023

@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.

@pebblehut
Copy link

Hi @smlindauer - I'm seeing the same issue with my program when I use pzmm.ImportModel.import_model

Should I open up a new issue to track this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants