Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix multilabel in exact_match #1474

Merged
merged 14 commits into from
Feb 6, 2023
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Fixed type hints in methods belonging to `MetricTracker` wrapper ([#1472](https://github.com/Lightning-AI/metrics/pull/1472))


- Fixed `multilabel` in `ExactMatch` ([#1474](https://github.com/Lightning-AI/metrics/pull/1474))



## [0.11.1] - 2023-01-30

### Fixed
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ def exact_match(
if task == "multiclass":
assert num_classes is not None
return multiclass_exact_match(preds, target, num_classes, multidim_average, ignore_index, validate_args)
if task == "multilalbe":
if task == "multilabel":
SkafteNicki marked this conversation as resolved.
Show resolved Hide resolved
assert num_labels is not None
return multilabel_exact_match(
preds, target, num_labels, threshold, multidim_average, ignore_index, validate_args
Expand Down