Skip to content
This repository was archived by the owner on Dec 16, 2022. It is now read-only.

Fix metric docstring #5475

Merged
merged 5 commits into from
Nov 23, 2021
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## Unreleased

### Fixed

- Fixed the docstring information for the `FBetaMultiLabelMeasure` metric.

## [v2.8.0](https://github.com/allenai/allennlp/releases/tag/v2.8.0) - 2021-11-01

### Added
Expand Down
3 changes: 2 additions & 1 deletion allennlp/training/metrics/fbeta_multi_label_measure.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@ class FBetaMultiLabelMeasure(FBetaMeasure):
in the data will result in 0 components in a macro or weighted average.

threshold: `float`, optional (default = `0.5`)
Logits over this threshold will be considered predictions for the corresponding class.
Probabilities over this threshold will be considered predictions for the corresponding class.
Note that you can also use this metric with logits, by setting the `threshold` value to `0.0`.

"""

Expand Down