Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Yard1 committed Apr 22, 2021
1 parent 0a7f8e5 commit 55f71b5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pycaret/internal/metrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
class BinaryMulticlassScoreFunc:
def __init__(self, score_func):
self.score_func = score_func
self.__name__ = score_func.__name__

def __call__(self, y_true, y_pred, **kwargs):
if "average" in kwargs:
Expand Down

0 comments on commit 55f71b5

Please sign in to comment.