Skip to content

Commit

Permalink
Removed model card function call from pzmm_binary_classification_mode…
Browse files Browse the repository at this point in the history
…l_import.ipynb as a new example has been made for it
  • Loading branch information
djm21 committed Aug 16, 2024
1 parent e2d3e64 commit 1316c09
Showing 1 changed file with 3 additions and 18 deletions.
21 changes: 3 additions & 18 deletions examples/pzmm_binary_classification_model_import.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -759,18 +759,6 @@
" )\n",
"\n",
" full_training_data = pd.concat([y_train.reset_index(drop=True), x_train.reset_index(drop=True)], axis=1)\n",
"\n",
" pzmm.JSONFiles.generate_model_card(\n",
" model_prefix=prefix,\n",
" model_files = path,\n",
" algorithm = str(type(model).__name__),\n",
" train_data = full_training_data,\n",
" train_predictions=train_predict,\n",
" target_type='classification',\n",
" target_value=1,\n",
" interval_vars=predictor_columns,\n",
" selection_statistic='_RASE_',\n",
" )\n",
" \n",
"username = getpass.getpass()\n",
"password = getpass.getpass()\n",
Expand Down Expand Up @@ -839,13 +827,10 @@
}
],
"metadata": {
"interpreter": {
"hash": "f9708d3f38eeab835578f0695c8890716ee809285281a28db6e379a5abca1310"
},
"kernelspec": {
"display_name": "dev-py38",
"display_name": "pandatwo",
"language": "python",
"name": "dev-py38"
"name": "python3"
},
"language_info": {
"codemirror_mode": {
Expand All @@ -857,7 +842,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.16"
"version": "3.9.18"
},
"latex_envs": {
"LaTeX_envs_menu_present": true,
Expand Down

0 comments on commit 1316c09

Please sign in to comment.