Skip to content

Commit c6da07a

Browse files
Update GANDLF/metrics/classification.py
Co-authored-by: Sarthak Pati <patis@iu.edu>
1 parent 2053681 commit c6da07a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

GANDLF/metrics/classification.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def overall_stats(predictions, ground_truth, params):
2828
"per_class_average": "macro",
2929
"per_class_weighted": "weighted",
3030
}
31-
task = determine_task(params)
31+
task = determine_classification_task_type(params)
3232
# consider adding a "multilabel field in the future"
3333
# metrics that need the "average" parameter
3434

0 commit comments

Comments
 (0)