You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The parameter alternative_scorers of ClassPerformance is documented as needing to be a list (and is tested to be a list) but the actual code using it assumes it's a dict {name: metric}, like the outputs of get_default_classification_scorers for e.g.
To Reproduce
Run ClassPerformance with alternative_scorers=[SomeMetric]
Expected behavior
alternative_scorers should work, with one option only (probably list)
The text was updated successfully, but these errors were encountered:
Describe the bug
The parameter alternative_scorers of ClassPerformance is documented as needing to be a list (and is tested to be a list) but the actual code using it assumes it's a dict {name: metric}, like the outputs of get_default_classification_scorers for e.g.
To Reproduce
Run ClassPerformance with alternative_scorers=[SomeMetric]
Expected behavior
alternative_scorers should work, with one option only (probably list)
The text was updated successfully, but these errors were encountered: