Skip to content

Commit

Permalink
Changed ordering of target values to match new score code in examples
Browse files Browse the repository at this point in the history
  • Loading branch information
djm21 committed Oct 5, 2023
1 parent 5d577d8 commit a511e09
Show file tree
Hide file tree
Showing 3 changed files with 2,099 additions and 66 deletions.
3 changes: 2 additions & 1 deletion examples/pzmm_binary_classification_model_import.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -814,7 +814,8 @@
" predict_method=[dtc.predict_proba, [int, int]], # What is the predict method and what does it return?\n",
" score_metrics=score_metrics, # What are the output variables?\n",
" overwrite_model=True, # Overwrite the model if it already exists?\n",
" target_values=[\"1\", \"0\"], # What are the expected values of the target variable?\n",
" target_values=[\"0\", \"1\"], # What are the expected values of the target variable?\n",
" target_index=1, # What is the index of the target value in target_values?\n",
" model_file_name=prefix + \".pickle\", # How was the model file serialized?\n",
" missing_values=True # Does the data include missing values?\n",
" )\n",
Expand Down
Loading

0 comments on commit a511e09

Please sign in to comment.