You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* 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]>
Copy file name to clipboardExpand all lines: examples/FleetManagement.ipynb
+51-8Lines changed: 51 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,7 @@
20
20
"\n",
21
21
"This notebook provides an example of how to build and train a Python model and then import the model into SAS Model Manager using the fleet maintenance data set. Lines of code that must be modified by the user, such as directory paths are noted with the comment \"_Changes required by user._\".\n",
22
22
"\n",
23
-
"_**Note:** If you download only this notebook and not the rest of the repository, you must also download the fleet_maintenance.csv from the data folder in the examples directory. These files are used when executing this notebook example._\n",
23
+
"_**Note:** If you download only this notebook and not the rest of the repository, you must also download the fleet maintenance CSV file from the data folder in the examples directory. These files are used when executing this notebook example._\n",
24
24
"\n",
25
25
"Here are the steps shown in this notebook:\n",
26
26
"\n",
@@ -989,20 +989,16 @@
989
989
},
990
990
{
991
991
"cell_type": "code",
992
-
"execution_count": 19,
992
+
"execution_count": 15,
993
993
"metadata": {
994
994
"Collapsed": "false"
995
995
},
996
996
"outputs": [],
997
997
"source": [
998
-
"S = pzmm.ScoreCode()\n",
998
+
"I = pzmm.ImportModel()\n",
999
999
"for (prefix, path) in zip(modelPrefix, zipFolder):\n",
0 commit comments