We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c032e2 commit 5871f0bCopy full SHA for 5871f0b
src/sasctl/pzmm/write_score_code.py
@@ -1121,6 +1121,8 @@ def _predictions_to_metrics(
1121
are not given, this index should indicate whether the the target probability variable
1122
is the first or second variable returned by the model. The default value is 1.
1123
"""
1124
+ if not target_index:
1125
+ target_index = 1
1126
if len(metrics) == 1 and isinstance(metrics, list):
1127
# Flatten single valued list
1128
metrics = metrics[0]
0 commit comments