* FIX Updated jaccard score documentation
Docs now show 2D jaccard score usage for image comparison
* Updated jaccard_score docs to use micro avg in 2d comparison
* Improved R2 score implementation and documentation by making it more clear that the default behaviour contains a fix to transform `NaN` and `-Inf` scores obtained when `y_true` is constant, to 1.0 and 0.0 respectively. Fixes#16857
Co-authored-by: Sylvain MARIE <sylvain.marie@se.com>
Co-authored-by: Julien Jerphanion <git@jjerphan.xyz>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
Co-authored-by: Christian Lorentzen <lorentzen.ch@gmail.com>
Co-authored-by: Nicolas Hug <contact@nicolas-hug.com>
Co-authored-by: Jeremiah Johnson <jwjohnson314@gmail.com>
Co-authored-by: Roman Yurchak <rth.yurchak@gmail.com>
* Initial add DET curve to classification metrics
* Add DET to exports
* Fix DET-curve doctest errors
- Sample snippet in model_evaluation documentation was outdated.
* Clarify wording in DET-curve computation
- Align to the wording of ranking module to make it consistent.
- Add correct describtion of input and outputs.
- Update and fix non-existent links
* Beautify DET curve documentation source
- Limit line length to 80 characters.
* Expand DET curve documentation
- Add an example plot to show difference between ROC and DET curves.
- Expand Usage Note section with background information and properties
of DET curves.
* Update DET-curve documentation
- Fix typos and some grammar improvements.
- Use named references to avoid potential conflicts with other sections.
- Remove unneeded references and improved existing ones by using e.g.
using versioned links.
* Select relevant DET points using slice object
* Remove some dubiety from DET curve doc-string
* Add DET curve contributors
* Add tests for DET curves
* Streamline DET test by using parametrization
* Increase verbosity of DET curve error handling
- Explicitly sanity check input before computing a DET curve.
- Add test for perfect scores.
- Adapt indentation style to match the test module.
* Add reference for DET curves in invariance test
* Add automated invariance checks for DET curves
* Resolve merge artifacts
* Make doctest happy
* Fix whitespaces for doctest
* Revert unintended whitespace changes
* Revert unintended white space changes #2
* Fix typos and grammar
* Fix white space in doc
* Streamline test code
* Remove rebase artifacts
* Fix PR link in doc
* Fix test_ranking
* Fix rebase errors
* Fix import
* Bring back newlines
- Swallowed by copy/paste
* Remove uncited ref link
* Remove matplotlib deprecation warning
* Bring back hidden reference
* Add motivation to DET example
* Fix lint
* Add citation
* Use modern matplotlib API
Co-authored-by: Jeremy Karnowski <jeremy.karnowski@gmail.com>
Co-authored-by: Julien Cornebise <julien@cornebise.com>
Co-authored-by: Daniel Mohns <daniel.mohns@zenguard.org>
* fix brier
* fix brier
* add ref
* add ref for lint
* Add link to PDF for calibration book chapter.
* Fix broken repeated ref by using qualified identifier
* Fix indentation
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
* ENH add new metric Tweedie deviance
* More improvements
* A few more fixes
* Fix doctest
* Review comments
* Add common metric tests
* Add what's new entry
* Fix symmetry check in metrics common tests
* Fix test order determinism
* Rename metric to mean_tweedie_deviance
* Address review comments
* Fix test_score_objects.py tests
* Add Poisson and Gamma deviances
* Fix doc link
* Fix typo on what's new
* Fix rst rendering