python-sasctl
python-sasctl copied to clipboard
Python package and CLI for user-friendly integration with SAS Viya
**Describe the issue** We are trying to register the model with pzmm sasctl (1.10.1) and MAS in Viya 3.5. When we try to score, it fails with the error: "EM_PREDICTION...
When importing the model into SAS MM (2024.03) everything looks good but Score Code file has no role defined. The role "Score code" has to set manually in Model Manger...
**Issue description**  In the attached screen there is an extract from scoring code generated by sasctl for Python models when imported into SAS Model Manager. The key part...
I have built the H2O model based on the example: https://github.com/sassoftware/python-sasctl/blob/master/examples/pzmm_h2o_model_import.ipynb Then imported into Model Manager There is one minor issue at this stage, when any Python developed model is...
**Describe the issue** After updating sasctl to 1.10.1, I experienced TypeError when calling pzmm.ImportModel.import_model with the same code that used to work in 1.10.0. **To Reproduce** Steps or example code...
Fixed bug where 'import settings' was not added to score code if a Viya 4 connection is not established.
Hello, Following from a fix for issue #175 I updated most docstrings to remove the annoying Sphinx warnings (there were almost 700). Most of the warnings were due to the...
The API documentation for the model_repository, reports & report_images services seems to be missing: https://sassoftware.github.io/python-sasctl/api/services/model_repository.html https://sassoftware.github.io/python-sasctl/api/services/report_images.html https://sassoftware.github.io/python-sasctl/api/services/reports.html In the case of the model_repository service, the docstring on line 7 in...
**Describe the issue** This example has some API calls that don't work with the updated version of sasctl - changes to JSONFiles: https://github.com/sassoftware/python-sasctl/blob/master/examples/pzmmCompleteModelExampleMLFlowSklearn.ipynb For example, writeModelPropertiesJSON is now write_model_properties_json and...
**Describe the issue** Trying to read mlflow model using pzmm.MLFlowModel.read_mlflow_model_file result in JSONDecodeError. I'm just using a simple example from here: https://medium.com/@rehabreda/registering-mlflow-models-to-sas-model-manager-using-sasctl-a-comprehensive-guide-a47dbf183338 **To Reproduce** The rest of the training code...