-
Notifications
You must be signed in to change notification settings - Fork 42
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
Import the preprocessing process #171
Comments
We do not currently have a functional process built in to pzmm for including a preprocessing process inside a pickle file or as additional code within the generated scoring script (although simple imputation is supported through the Currently, implementation of additional preprocessing this would require modification of the score code that is generated by sasctl and uploaded to SAS Model Manager. On SAS Viya 4, you can to utilize a few different sasctl functions to pull this off (example below), but requires a bit more work in SAS Viya 3.5. This is due to the different behaviors in regard to the creation of DS2 wrapper code:
Assuming you are providing an additional pickle file that encapsulates the data preprocessing, you will need to upload the new pickle object and adjust the score code. For SAS Viya 4, after running the
For SAS Viya 3.5, you would need upload the new files like above, then delete the
Feel free to submit code to implement this method in a more defined manner. Otherwise, we can add this as an enhancement request for future releases. |
How can I encapsulate the preprocessing process into the scoring process as well when registering python models with pzmm? In the pzmm_binary_classification_model_import.ipynb example, only the decision tree/random forest/gradient boosting models are encapsulated into the pickle file, but preprocessing process such as missing imputation, variable encoding are not included.
The text was updated successfully, but these errors were encountered: