From 63f940240f692f7e681efd1fba6ef872a8d23e6e Mon Sep 17 00:00:00 2001 From: sepandhaghighi Date: Sun, 10 Oct 2021 14:05:10 +0330 Subject: [PATCH] fix : minor bug in Compare fixed #347 --- pycm/pycm_compare.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pycm/pycm_compare.py b/pycm/pycm_compare.py index 045e9ebd..1a0d969c 100644 --- a/pycm/pycm_compare.py +++ b/pycm/pycm_compare.py @@ -53,7 +53,7 @@ def __init__(self, cm_dict, by_class=False, class_weight=None, class_benchmark_w self.scores = None self.sorted = None self.classes = None - __compare_assign_handler__(self, cm_dict, class_weight, digit) + __compare_assign_handler__(self, cm_dict, class_weight, class_benchmark_weight, overall_benchmark_weight, digit) __compare_class_handler__(self, cm_dict) __compare_overall_handler__(self, cm_dict) __compare_rounder__(self, cm_dict)