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 docstring typos for MulticlassAveragePrecision, MultilabelAveragePrecision #1820

Merged

Conversation

cdboer
Copy link
Contributor

@cdboer cdboer commented Jun 3, 2023

What does this PR do?

Fixes docstring typos for classification.MulticlassAveragePrecision, classification.MultilabelAveragePrecision.

The class docstrings previously stated that they compute the average precision for binary tasks. They should state that they compute the average precision for multiclass and multilabel tasks respectively.

Before submitting
  • Was this discussed/agreed via a Github issue? (no need for typos and docs improvements)
  • Did you read the contributor guideline, Pull Request section?
  • Did you make sure to update the docs?
  • Did you write any new necessary tests?
PR review

Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in Github issues there's a high chance it will not be merged.

Did you have fun?

Make sure you had fun coding 🙃


📚 Documentation preview 📚: https://torchmetrics--1820.org.readthedocs.build/en/1820/

@cdboer cdboer changed the title Fix docstring typos for MulticlassAveragePrecision, MultilabelAveragePrecision Fix docstring typos for MulticlassAveragePrecision, MultilabelAveragePrecision Jun 3, 2023
@Borda Borda added the documentation Improvements or additions to documentation label Jun 3, 2023
@Borda Borda merged commit 5a01f34 into Lightning-AI:master Jun 3, 2023
@mergify mergify bot added the ready label Jun 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation ready
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants