Skip to content

Releases: sassoftware/python-sasctl

v1.11.7

12 Mar 15:34

Choose a tag to compare

Improvements

  • Added CodeFile class to pzmm module for creating and uploading Python code files to SAS Intelligent Decisioning
    • New method write_id_code_file() uploads a Python code file to a specified Viya folder and registers it with the Decisions service
      • Accepts code as a raw string, file path, or Path object
      • Validates code format via the SAS Viya API before upload; can be disabled with validate_code=False
      • Raises ValueError if the file already exists in the target folder, if the folder is not found, or if validation fails
      • Cleans up the uploaded file if Decisions service registration fails
    • See examples/pzmm_id_code_file_example.ipynb for usage examples

v1.11.6

19 Nov 13:31

Choose a tag to compare

Improvements

  • Added create_requirements_txt parameter to create_requirements_json() function in write_json_files.py to optionally generate a requirements.txt file alongside the requirements.json file.

v1.11.5

27 Jun 18:19

Choose a tag to compare

Improvements

  • Added model versioning methods to model_repository.py to handle model version endpoints.
  • Allow for user to set custom timeout length for score testing in score_model_with_cas.

v1.11.4

02 May 20:16

Choose a tag to compare

Improvements

  • Improved upload_local_model to allow for SAS Model Manager to properly intake local ASTORE models.

v1.11.3

30 Apr 06:38

Choose a tag to compare

Improvements

  • Added upload_local_model to tasks.py, which can be used to upload local directories to SAS Model Manager without any file generation.

v1.11.2

08 Apr 21:47

Choose a tag to compare

Bugfixes

  • Updated calculate_model_statistics function in write_json_files.py to improve ROC tables as well as model card files.

v1.11.1

22 Jan 17:45

Choose a tag to compare

Improvements

  • Improved functionality for score_definition.py and score_execution.py, allowing for more general usage of the score_model_with_cas task
    • Also allowed for model name to be passed into functions instead of requiring model UUID
  • Pickle files now loaded with pd.read_pickle() instead of pickle.load() in score code, allowing for more flexibility between python environments

Bugfixes

  • Updated pzmm_generate_complete_model_card.ipynb to have better preprocessing function

v1.11.0

29 Oct 22:15

Choose a tag to compare

Changes

  • Added score_definition.py and score_execution.py to allow for score testing within SAS Model Manager
    • Included optional use of CAS Gateway for faster scoring. Only available in environments where Gateway scoring is properly set up.
  • Added ability to include data pre-processing function within python score code using the preprocess_function argument.

Bugfixes

  • Fixed issue where settings file was improperly imported in some score code files.

v1.10.7

02 Oct 15:38

Choose a tag to compare

Bugfixes

  • Fixed a bug that caused an error when performing SSL verification without a CA bundle specified.

v1.10.6

26 Aug 19:27

Choose a tag to compare

Improvements

  • Refactor tasks.py to utilize sasctl.pzmm functions.
  • Add model_info class to better capture model information.