Skip to content

Releases: sassoftware/python-sasctl

v1.11.0

29 Oct 22:15
Compare
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
Compare
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
Compare
Choose a tag to compare

Improvements

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

v1.10.5

01 Aug 19:13
Compare
Choose a tag to compare

Buxfixes

  • Updated write_json_files.py to allow for better support for prediction models
  • Fixed issues relating to model card support.

v1.10.4

08 Jul 22:45
Compare
Choose a tag to compare

Improvements

  • Added example Jupyter notebook for OpenAI models.

Buxfixes

  • Dropped support for Python 3.6 and Python 3.7, as those are no longer officially supported versions.
  • Added dmcas_misc.json template file for model card generation.
  • Updated generation of ModelProperties.json to allow for model card generation immediately upon upload.

v1.10.3

12 Apr 20:38
Compare
Choose a tag to compare

Bugfixes

  • Updated all examples to use current versions of sasctl functions
  • Fixed bug in generate_model_card that threw an error when trying to generate the dmcas_misc.json file

v1.10.2

10 Apr 21:14
Compare
Choose a tag to compare

Improvements

  • Introduced generate_model_card into write_json_files.py to allow for python models to work with planned model card tab in SAS Model Manager.

Bugfixes

  • Allow for score code to impute NaN values in tables that have been loaded into SAS Model Manager.
  • Fix issue where target_value was not being properly set during score code generation
  • Updated pzmm_generate_requrirements_json.ipynb so the requirements file is generated properly.
  • Added missing statistics to dmcas_fitstat.json file.

v1.10.1

25 Oct 21:05
Compare
Choose a tag to compare

Improvements

  • Introduced ability to specify the target index of a binary model when creating score code.
    • index can be specified in pzmm.import_model.ImportModel.import_model()
    • Relevant examples updated to include target_index.

Bugfixes

  • Reworked write_score_code.py to allow for proper execution of single line scoring.
  • Added template files for assess_model_bias.py to allow for proper execution

v1.10.0

31 Aug 22:03
Compare
Choose a tag to compare
Prep for release

v1.9.4

15 Jun 17:37
Compare
Choose a tag to compare

Improvements

  • Created pytest fixture to begin running Jupyter notebooks within the GitHub automated test actions.
  • Updated examples:
    • Custom KPI and model parameters example now checks for the performance job's status.
    • Update H2O example to show model being published and scored using the "maslocal" destination.
    • Updated models to be more realistic for pzmm_binary_classification_model_import.ipynb.

Bugfixes

  • Adjust pzmm.ScoreCode.write_score_code() function to be compatible with future versions of pandas.
  • Reworked H2O section of pzmm.ScoreCode.write_score_code() to properly call H2OFrame values.
  • Fixed call to pzmm.JSONFiles.calculate_model_statistics() in pzmm_binary_classification_model_import.ipynb.