Skip to content

Commit e11496e

Browse files
authored
Merge branch 'master' into doc-fix
2 parents 55fee8e + ae0639e commit e11496e

File tree

531 files changed

+43228
-3210
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

531 files changed

+43228
-3210
lines changed

.conda/meta.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ requirements:
2121
- python >=3.6
2222
- pip
2323
run:
24+
- dill
2425
- python >=3.6
2526
- pandas
2627
- requests

.github/workflows/build-test-deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
LANG: en_US.UTF-8
2222
strategy:
2323
matrix:
24-
python-version: ['3.6', '3.7', '3.8', '3.9', '3.10']
24+
python-version: ['3.8', '3.9', '3.10', '3.11']
2525
os-version: ['ubuntu-20.04', 'windows-latest', 'macos-latest']
2626
# Pinned Ubuntu version to 20.04 since no Python 3.6 builds available on ubuntu-latest (22.04) as of 2022-12-7.
2727
# os-version: [ubuntu-latest, windows-latest, macos-latest]
@@ -45,7 +45,7 @@ jobs:
4545
run: |
4646
# Setup tox & code coverage
4747
pip install --upgrade pip
48-
pip install tox tox-gh-actions pytest pytest-cov scikit-learn
48+
pip install tox tox-gh-actions pytest pytest-cov 'scikit-learn<=1.5.0' 'numpy<2.0.0'
4949
5050
- name: Run Tests
5151
run: |

.github/workflows/codeql-analysis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ jobs:
2929

3030
# Initializes the CodeQL tools for scanning.
3131
- name: Initialize CodeQL
32-
uses: github/codeql-action/init@v1
32+
uses: github/codeql-action/init@v2
3333
with:
3434
languages: python
3535

3636
- name: Perform CodeQL Analysis
37-
uses: github/codeql-action/analyze@v1
37+
uses: github/codeql-action/analyze@v2

CHANGELOG.md

Lines changed: 45 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,52 @@
1-
Unreleased
1+
v1.10.6 (2024-08-26)
22
----------
33
**Improvements**
44
- Refactor `tasks.py` to utilize `sasctl.pzmm` functions.
55
- Add `model_info` class to better capture model information.
6-
- Test `/examples` Jupyter notebooks within normal test suite.
6+
7+
v1.10.5 (2024-08-01)
8+
----------
9+
**Buxfixes**
10+
- Updated `write_json_files.py` to allow for better support for prediction models
11+
- Fixed issues relating to model card support.
12+
13+
v1.10.4 (2024-07-08)
14+
----------
15+
**Improvements**
16+
- Added example Jupyter notebook for OpenAI models.
17+
18+
**Buxfixes**
19+
- Dropped support for Python 3.6 and Python 3.7, as those are no longer officially supported versions.
20+
- Added `dmcas_misc.json` template file for model card generation.
21+
- Updated generation of `ModelProperties.json` to allow for model card generation immediately upon upload.
22+
23+
v1.10.3 (2024-04-12)
24+
----------
25+
**Bugfixes**
26+
- Updated all examples to use current versions of sasctl functions
27+
- Fixed bug in `generate_model_card` that threw an error when trying to generate the `dmcas_misc.json` file
28+
29+
v1.10.2 (2024-04-10)
30+
----------
31+
**Improvements**
32+
- 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.
33+
34+
**Bugfixes**
35+
- Allow for score code to impute NaN values in tables that have been loaded into SAS Model Manager.
36+
- Fix issue where target_value was not being properly set during score code generation
37+
- Updated `pzmm_generate_requrirements_json.ipynb` so the requirements file is generated properly.
38+
- Added missing statistics to `dmcas_fitstat.json` file.
39+
40+
v1.10.1 (2023-08-24)
41+
----------
42+
**Improvements**
43+
- Introduced ability to specify the target index of a binary model when creating score code.
44+
- index can be specified in `pzmm.import_model.ImportModel.import_model()`
45+
- Relevant examples updated to include target_index.
46+
47+
**Bugfixes**
48+
- Reworked `write_score_code.py` to allow for proper execution of single line scoring.
49+
- Added template files for `assess_model_bias.py` to allow for proper execution
750

851
v1.10 (2023-08-31)
952
----------

examples/README.md

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ Tasks and Services
3737
- [Modeling with Python & SAS AutoML](#modeling-with-python--sas-automl)
3838
- [Making direct REST API calls](#making-direct-rest-api-calls)
3939

40+
- [Register an Azure OpenAI GPT model using REST API calls](#register-an-azure-openai-gpt-model-using-rest-api-calls)
41+
4042
---
4143
Register binary classification models
4244
-------------------------------------
@@ -94,11 +96,11 @@ Generates a requirements.json file which includes the minimal number of dependen
9496

9597
Create and update custom model KPIs
9698
-----------------------------------
97-
Filename: [pzmm_custom_kpis.ipynb](pzmm_custom_kpis.ipynb)
99+
Filename: [pzmm_custom_kpis.ipynb](pzmm_custom_kpi_model_parameters.ipynb)
98100

99101
Level: Intermediate
100102

101-
Create and update custom model parameters and kpis on SAS Model Manager
103+
Create and update custom model parameters and kpis on SAS Model Manager.
102104

103105

104106
Register a SAS classification model
@@ -125,9 +127,10 @@ Register a SAS deep learning model
125127
----------------------------------
126128
Filename: [register_sas_dlpy_model.py](register_sas_dlpy_model.py)
127129

130+
128131
Level: Beginner
129132

130-
Creates a SAS deep learning model using [dlpy](https://github.com/sassoftware/python-dlpy) and registers the model in SAS Model Manager.
133+
Creates a SAS deep learning model using [dlpy](https://github.com/sassoftware/python-dlpy) and registers the model in SAS Model Manager. (WARNING: Does not work with Python 3.10 and later)
131134

132135

133136

@@ -205,3 +208,11 @@ Level: Advanced
205208
Demonstrates using `sasctl` to make REST calls over HTTP(S) directly to the SAS microservices.
206209

207210
Use if you need to customize behavior or use functionality not yet exposed through higher-level `sasctl` functions.
211+
212+
Register an Azure OpenAI GPT Model Using REST API Calls
213+
--------------------------
214+
Filename: [register_Azure_OpenAI_model_using_REST_calls.ipynb](register_Azure_OpenAI_model_using_REST_calls.ipynb)
215+
216+
Level: Intermediate
217+
218+
Leverages a GPT-3.5-Turbo model from Azure OpenAI in SAS® Model Manager and SAS® Intelligent Decisioning.

0 commit comments

Comments
 (0)