Skip to content

Commit aee30a7

Browse files
smlindauerjlwalke2
andauthored
Gitlab merge (#102)
* Merge 4075/4083 commits from OMMR * Adjust pzmm zipping method to output iofile. * Remove now-redundant pzmm model upload process. * Edit notebook example to leverage sasctl framework. * Adjust dmcas writers doc_strings to state acceptance of dataframe, array, or list * First attempt to change dmcas_fitstat writer to accept more data types. * added Session.as_swat() * updated docs * test as_swat() * Combine Lift/ROC chart generation into one call. * Spell transpose correctly and remove unused functions. * Remove uploadData from init statement. * Include empty ROC and Lift dmcas JSON files in installation. * Lowercase all references to pzmm. * Add empty dmcas lift/roc JSON files. * Add missing null roc json file. * Final dev updates to Lift/ROC chart fixes. * custom get_repository() method to ignore 403 errors. Improved efficiency for default_repository() * Adjust score code for invalid column names/values. * Fix missing numpy package in writeScoreCode * Fix isidentifer error with improper type. * Add error for no data provided in calculateFitStat * Fix dataframe input for generateROCLiftStat() * Update example notebook to include new features * Adjust protocol for Session object. * Fix error in generating ROC/LIFT charts. * Update example notebook and outputs. * Fix overwritten model object on repeat runs. * Adjust text to documentation standards. * Remove sas server names from example before GitHub release. * include docs and examples * additional example * Merge from Github * Fix missing argument in pickle and zipping calls. * refreshed cassettes * refreshed cassettes * refreshed cassettes * temporary disable regression test * temporary disable regression test * correctly mock default repo * fix tests * fixed cli command for get_repository * Update changelog.md * prep for release * Adjust score code for invalid column names/values. * Fix missing numpy package in writeScoreCode * Fix isidentifer error with improper type. * Merge 4075/4083 commits from OMMR * Adjust dmcas writers doc_strings to state acceptance of dataframe, array, or list * First attempt to change dmcas_fitstat writer to accept more data types. * custom get_repository() method to ignore 403 errors. Improved efficiency for default_repository() * Adjust protocol for Session object. * Update example notebook and outputs. * Fix overwritten model object on repeat runs. * Adjust text to documentation standards. * Adjust score code for invalid column names/values. * Fix missing numpy package in writeScoreCode * Fix isidentifer error with improper type. * Adjust score code for invalid column names/values. * Fix missing numpy package in writeScoreCode * Fix isidentifer error with improper type. * Change writeScoreCode intercept default behavior * writeScoreCode should handle non-binary targets * Add software version checking API call and task. * Added MM version check to writeScoreCode(). * Add DS2 wrapper function to writeScoreCode.py * Include future API builds for Viya 4.0 * Add API call to move Python score resources. * Fix doc_string errors. * Add f(x) to upload/copy pzmm Python/DS2 score code * Include upload/copy score code in writeScore() * Fix indentation error * First run of testing new copy/upload task. * Fix incorrect role assignment of pickle file. * Add headers to PUT scoreResources API call. * Adjust version to differentiate between main/dev versions. * Handle case of Viya 3.5 & no model provided. * General fixes to DS2 converter. * Fix dtype vs string error. * Call ds2 wrapper endpoint and adjust writeScoreCode. * Add mojo model file handling to PickelModel. * Add H2O option to writeFileMetaData. * Add mojo file to zippable files * Fix astore vs Python typo * Add new import file to handle model imports and adjust init file * Adjust examples and create new simple/h2o notebooks * Include single row csv for testing * Major update to writeScoreCode * Final modification to writeScoreCode & new notebooks * Edit notebook to remove unused cells * Fix pathing and .zip errors in H2O example * Fix trailing .zip * Include default method for scoring/validating in CAS for Viya 3.5 users. * Required *.sas files for scoring in CAS/MAS * Remove reference to uncommitted feature * Bug fixes for CAS wrapper and documentation * Delete FleetManagementSimple.ipynb * Update FleetManagementSimpleH2O.ipynb * Update H2OModelFleetMaintenance.ipynb * Adjust to new handling of model importing * Delete fleet_maintenance.csv * Update change to CSV files * Update H2OModelFleetMaintenance.ipynb * Update README.md * Rebase with github * Fix input/output var json column numbers * Adjust dmcas writers doc_strings to state acceptance of dataframe, array, or list * First attempt to change dmcas_fitstat writer to accept more data types. * custom get_repository() method to ignore 403 errors. Improved efficiency for default_repository() * Update example notebook and outputs. * Fix overwritten model object on repeat runs. * Adjust text to documentation standards. * Update example notebook to include new features * Adjust protocol for Session object. * Update example notebook and outputs. * Fix overwritten model object on repeat runs. * Merge from Github * Fix missing argument in pickle and zipping calls. * temporary disable regression test * fix tests * fixed cli command for get_repository * Update changelog.md * prep for release * Adjust score code for invalid column names/values. * Fix isidentifer error with improper type. * Add software version checking API call and task. * Include future API builds for Viya 4.0 * Add f(x) to upload/copy pzmm Python/DS2 score code * Fix indentation error * First run of testing new copy/upload task. * Adjust examples and create new simple/h2o notebooks * Final modification to writeScoreCode & new notebooks * Edit notebook to remove unused cells * Fix pathing and .zip errors in H2O example * Include default method for scoring/validating in CAS for Viya 3.5 users. * Delete FleetManagementSimple.ipynb * Update FleetManagementSimpleH2O.ipynb * bugfix & prep for 1.5.5 * pzmm updates (#87) * Merge 4075/4083 commits from OMMR * Adjust pzmm zipping method to output iofile. * Remove now-redundant pzmm model upload process. * Edit notebook example to leverage sasctl framework. * Adjust dmcas writers doc_strings to state acceptance of dataframe, array, or list * First attempt to change dmcas_fitstat writer to accept more data types. * added Session.as_swat() * updated docs * test as_swat() * Combine Lift/ROC chart generation into one call. * Spell transpose correctly and remove unused functions. * Remove uploadData from init statement. * Include empty ROC and Lift dmcas JSON files in installation. * Lowercase all references to pzmm. * Add empty dmcas lift/roc JSON files. * Add missing null roc json file. * Final dev updates to Lift/ROC chart fixes. * custom get_repository() method to ignore 403 errors. Improved efficiency for default_repository() * Adjust score code for invalid column names/values. * Fix missing numpy package in writeScoreCode * Fix isidentifer error with improper type. * Add error for no data provided in calculateFitStat * Fix dataframe input for generateROCLiftStat() * Update example notebook to include new features * Adjust protocol for Session object. * Fix error in generating ROC/LIFT charts. * Update example notebook and outputs. * Fix overwritten model object on repeat runs. * Adjust text to documentation standards. * Remove sas server names from example before GitHub release. * include docs and examples * additional example * Merge from Github * Fix missing argument in pickle and zipping calls. * refreshed cassettes * refreshed cassettes * refreshed cassettes * temporary disable regression test * temporary disable regression test * correctly mock default repo * fix tests * fixed cli command for get_repository * Update changelog.md * prep for release * Adjust score code for invalid column names/values. * Fix missing numpy package in writeScoreCode * Fix isidentifer error with improper type. * Merge 4075/4083 commits from OMMR * Adjust dmcas writers doc_strings to state acceptance of dataframe, array, or list * First attempt to change dmcas_fitstat writer to accept more data types. * custom get_repository() method to ignore 403 errors. Improved efficiency for default_repository() * Adjust protocol for Session object. * Update example notebook and outputs. * Fix overwritten model object on repeat runs. * Adjust text to documentation standards. * Adjust score code for invalid column names/values. * Fix missing numpy package in writeScoreCode * Fix isidentifer error with improper type. * Adjust score code for invalid column names/values. * Fix missing numpy package in writeScoreCode * Fix isidentifer error with improper type. * Change writeScoreCode intercept default behavior * writeScoreCode should handle non-binary targets * Add software version checking API call and task. * Added MM version check to writeScoreCode(). * Add DS2 wrapper function to writeScoreCode.py * Include future API builds for Viya 4.0 * Add API call to move Python score resources. * Fix doc_string errors. * Add f(x) to upload/copy pzmm Python/DS2 score code * Include upload/copy score code in writeScore() * Fix indentation error * First run of testing new copy/upload task. * Fix incorrect role assignment of pickle file. * Add headers to PUT scoreResources API call. * Adjust version to differentiate between main/dev versions. * Handle case of Viya 3.5 & no model provided. * General fixes to DS2 converter. * Fix dtype vs string error. * Call ds2 wrapper endpoint and adjust writeScoreCode. * Add mojo model file handling to PickelModel. * Add H2O option to writeFileMetaData. * Add mojo file to zippable files * Fix astore vs Python typo * Add new import file to handle model imports and adjust init file * Adjust examples and create new simple/h2o notebooks * Include single row csv for testing * Major update to writeScoreCode * Final modification to writeScoreCode & new notebooks * Edit notebook to remove unused cells * Fix pathing and .zip errors in H2O example * Fix trailing .zip * Include default method for scoring/validating in CAS for Viya 3.5 users. * Required *.sas files for scoring in CAS/MAS * Remove reference to uncommitted feature * Bug fixes for CAS wrapper and documentation * Delete FleetManagementSimple.ipynb * Update FleetManagementSimpleH2O.ipynb * Update H2OModelFleetMaintenance.ipynb * Adjust to new handling of model importing * Delete fleet_maintenance.csv * Update change to CSV files * Update H2OModelFleetMaintenance.ipynb * Update README.md * moved get_software_version() to platform_version() * removed f strings for compatibility * bugfix * remove f strings * removed duplicate method Co-authored-by: Scott Lindauer <[email protected]> Co-authored-by: Scott Lindauer <[email protected]> * prep for release * Fix input/output var json column numbers * fix failed rebase * Add dev version * Fix issues with single output variable * Add try/catch for 406 errors on moving score resources. * Fix error call to httperror * Fix 409 errors caused by duplicate file contents * Fix zipModel.py to avoid directory structure * Create new project when missing project on import * Fix missing h2o/viya scenario on model import * Fix minor issue with delete API call * Include force option to overwrite models when uploading * Add truncation of model description to 1024 * Provide implicit fix to incorrect column placement in fit/lift/roc stats * Include warning for no score resources found * Change None to [] for response * Fix issue with multiple models of the same name * Remove debug and fix type check logic * Fix for single model in project * Reset incorrectly refactored roc/list generation * Fix number of output variables in return statement * Produce error for invalid project UUID. * Print status messages for API calls in pzmm. * New example using HMEQ dataset. * Add score code and pickle file methods for binary H2O models * Fix message error displaying uuid instead of name * Notebook example updates * Binary H2O model files * Update comments * Captilization error * Clarify no project warning and error names * Clarify model overwrite options * Clarify no score resource warnings. * Include binary string model feature. * Example adjustments for pzmm * Update handling of API calls to models with <10 items * Remove old examples * delete backup __init__ files * Fix leftover HEAD changes * Fix leftover HEAD changes * cleanup changelog * updated credits * remove duplicate get_repository() * removed unused tasks * rolled-back import_model_from_zip() functionality * enhanced version of import_model_from_zip() * restore uuid check * convert print(warning) to warn() * Create project/model exist checks in ImportModel and excise from model_repository * Fix global variable declaration in score code. * Follow newline pep8 style recommendations * remove unused param * Fix doc_string yields section to follow pep8 standards * formatting Co-authored-by: jlwalke2 <[email protected]>
1 parent 2d49be9 commit aee30a7

File tree

92 files changed

+23674
-27625
lines changed

Some content is hidden

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

92 files changed

+23674
-27625
lines changed

examples/FleetManagement.ipynb

Lines changed: 0 additions & 1080 deletions
This file was deleted.

examples/H2OModelFleetMaintenance.ipynb

Lines changed: 0 additions & 2855 deletions
This file was deleted.

examples/data/FleetMaintenanceModels/DecisionTreeClassifier/DecisionTreeClassifierScore.py

Lines changed: 0 additions & 263 deletions
This file was deleted.

examples/data/FleetMaintenanceModels/DecisionTreeClassifier/ModelProperties.json

Lines changed: 0 additions & 16 deletions
This file was deleted.

0 commit comments

Comments
 (0)