Comments (8)
Fine by me adding it to classification
.
You can use http://scipy.github.io/devdocs/generated/scipy.stats.entropy.html function. It calculates the KL-divergence if two distributions are given.
from torchmetrics.
Hello @SkafteNicki, can I start working on this?
from torchmetrics.
Yes @hassiahk, I will assign you to this issue, thank you for wanting to contribute :]
Please remember to read our contribution guidelines: https://torchmetrics.readthedocs.io/en/stable/generated/CONTRIBUTING.html and this page https://torchmetrics.readthedocs.io/en/stable/pages/implement.html#contributing-your-metric-to-torchmetrics
from torchmetrics.
Sure, will take a look at them. :) Thanks @SkafteNicki
from torchmetrics.
Hi @SkafteNicki,
I have seen people using this metric for regression
tasks but I will be adding this to classification
because we deal with probabilities and their distributions. Will that be fine?
And how do we test this metric since sklearn.metrics
does not offer this metric?
from torchmetrics.
@hassiahk how is it going here? :]
from torchmetrics.
@SkafteNicki, been busy with some other work, I will create a draft PR for this, this weekend. Thanks!
from torchmetrics.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
from torchmetrics.
Related Issues (20)
- `intersection_over_union` error HOT 2
- Clarify that nan is supported in zero_division HOT 4
- Add `_filter_kwargs` in `ClasswiseWrapper` metric wrapper HOT 3
- MetricTracker use higher_is_better as default for maximize HOT 2
- Unpredictable class order when `panoptic_quality(..., return_per_class=True)`
- torchmetrics Accuracy HOT 8
- BootStrapper.reset() does not reset properly
- segmentation.MeanIoU is wrong HOT 3
- DataLoader worker is killed in Docker HOT 4
- MeanAveragePrecision - bug in `max_detection_thresholds` HOT 3
- Documentation of ERGAS HOT 1
- Support for DLM (AIM) metric HOT 1
- Error for index tensor verification in GeneralizedDice if target is zeros HOT 1
- Incorrect caching (`m._compute`) of metrics inside a `MetricCollection` if `compute_groups` are used and `.compute` is called twice HOT 1
- Classification Report, maybe with the option to select even more metrics HOT 1
- `MeanAveragePrecision.tm_to_coco` example fails with `IndexError: list index out of range` HOT 1
- The compute_groups may lead to unexpected behavior HOT 2
- GPU ram memory increase until overflow when using PSNR and SSIM HOT 1
- Need higher level RAG metrics HOT 2
- Multi output functionality for MeanAbsoluteError HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from torchmetrics.