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

Docs: multilabel is also a string #2996

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

adamjstewart
Copy link
Contributor

@adamjstewart adamjstewart commented Mar 9, 2025

What does this PR do?

Task can be 'binary', 'multiclass', or 'multilabel', but for some reason multilabel is never written with string quotes unlike the other two. This PR updates multilabel for consistency.

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--2996.org.readthedocs.build/en/2996/

Copy link

codecov bot commented Mar 9, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 40%. Comparing base (34fca16) to head (fa7a44d).

❌ Your project check has failed because the head coverage (40%) is below the target coverage (95%). You can increase the head coverage or adjust the target coverage.

❗ There is a different number of reports uploaded between BASE (34fca16) and HEAD (fa7a44d). Click for more details.

HEAD has 112 uploads less than BASE
Flag BASE (34fca16) HEAD (fa7a44d)
torch2.0.1+cpu 8 3
python3.10 26 9
Windows 6 2
cpu 41 14
macOS 9 3
python3.12 9 3
torch2.6.0 3 1
torch2.0.1 6 2
torch2.6.0+cpu 3 1
Linux 26 9
torch2.4.1+cpu 6 2
python3.11 3 1
torch2.1.2+cpu 3 1
torch2.3.1+cpu 3 1
python3.9 3 1
torch2.5.0+cpu 6 2
torch2.2.2+cpu 3 1
gpu 2 0
unittest 2 0
Additional details and impacted files
@@           Coverage Diff            @@
##           master   #2996     +/-   ##
========================================
- Coverage      70%     40%    -29%     
========================================
  Files         352     338     -14     
  Lines       19615   19436    -179     
========================================
- Hits        13658    7834   -5824     
- Misses       5957   11602   +5645     
🚀 New features to boost your workflow:
  • Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant