Skip to content

Update plot examples in docs to use JensenShannonDivergence instead of KL#3128

Merged
Borda merged 3 commits into
Lightning-AI:masterfrom
alifa98:master
Jun 10, 2025
Merged

Update plot examples in docs to use JensenShannonDivergence instead of KL#3128
Borda merged 3 commits into
Lightning-AI:masterfrom
alifa98:master

Conversation

@alifa98

@alifa98 alifa98 commented Jun 10, 2025

Copy link
Copy Markdown
Contributor

What does this PR do?

Fixes part of the code merged for #2947

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

it is just a fix on the plot documentation of the JSDivergence metric.

Did you have fun?

You cannot image how fun is this.


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

@alifa98 alifa98 changed the title fix: update plot examples to use JensenShannonDivergence instead of KL. Update plot examples in docs to use JensenShannonDivergence instead of KL. Jun 10, 2025
@Borda Borda changed the title Update plot examples in docs to use JensenShannonDivergence instead of KL. Update plot examples in docs to use JensenShannonDivergence instead of KL Jun 10, 2025
@codecov

codecov Bot commented Jun 10, 2025

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 36%. Comparing base (5a72380) to head (6b837eb).
⚠️ Report is 102 commits behind head on master.

❗ There is a different number of reports uploaded between BASE (5a72380) and HEAD (6b837eb). Click for more details.

HEAD has 4 uploads less than BASE
Flag BASE (5a72380) HEAD (6b837eb)
gpu 2 0
unittest 2 0
Additional details and impacted files
@@           Coverage Diff            @@
##           master   #3128     +/-   ##
========================================
- Coverage      70%     36%    -34%     
========================================
  Files         359     345     -14     
  Lines       19894   19704    -190     
========================================
- Hits        13931    7081   -6850     
- Misses       5963   12623   +6660     
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@mergify mergify Bot added the ready label Jun 10, 2025
@Borda
Borda merged commit c8ec970 into Lightning-AI:master Jun 10, 2025
Borda pushed a commit that referenced this pull request Jun 12, 2025
Borda pushed a commit that referenced this pull request Jun 13, 2025
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.

2 participants