Skip to content

Commit a511e09

Browse files
committed
Changed ordering of target values to match new score code in examples
1 parent 5d577d8 commit a511e09

File tree

3 files changed

+2099
-66
lines changed

3 files changed

+2099
-66
lines changed

examples/pzmm_binary_classification_model_import.ipynb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -814,7 +814,8 @@
814814
" predict_method=[dtc.predict_proba, [int, int]], # What is the predict method and what does it return?\n",
815815
" score_metrics=score_metrics, # What are the output variables?\n",
816816
" overwrite_model=True, # Overwrite the model if it already exists?\n",
817-
" target_values=[\"1\", \"0\"], # What are the expected values of the target variable?\n",
817+
" target_values=[\"0\", \"1\"], # What are the expected values of the target variable?\n",
818+
" target_index=1, # What is the index of the target value in target_values?\n",
818819
" model_file_name=prefix + \".pickle\", # How was the model file serialized?\n",
819820
" missing_values=True # Does the data include missing values?\n",
820821
" )\n",

0 commit comments

Comments
 (0)