Skip to content

Commit

Permalink
Add named argument label for tests TestRecallByClass, TestPrecisionBy…
Browse files Browse the repository at this point in the history
…Class.
  • Loading branch information
Liraim committed Oct 23, 2024
1 parent 899c783 commit 5628c8b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/evidently/test_preset/classification_multiclass.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ def generate_tests(
tests: List[AnyTest] = [
TestAccuracyScore(),
TestF1Score(),
*[TestPrecisionByClass(label) for label in labels],
*[TestRecallByClass(label) for label in labels],
*[TestPrecisionByClass(label=label) for label in labels],
*[TestRecallByClass(label=label) for label in labels],
TestNumberOfRows(),
TestColumnDrift(
column_name=target.column_name,
Expand Down

0 comments on commit 5628c8b

Please sign in to comment.