Commit Graph

32 Commits

Author SHA1 Message Date
Guillaume Lemaitre 96b86b619f
MNT make error message consistent in brier_score_loss (#18183)
* MNT make error message consistent in brier_score_loss

* iter

* TST change error matching

* PEP8

* TST check consistent error message

* STY

* Apply suggestions from code review

Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>

* iter

* cleaner

* iter

* iter

* iter

* rename function with better name

* iter

Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2020-09-29 17:30:06 -04:00
Albert Villanova del Moral 647fcb1ac1
DOC Fix A to uppercase in See Also docstring section (#18332) 2020-09-04 10:35:01 -04:00
Albert Villanova del Moral 9b1f746ca4
DOC add display in See Also for plotting functions and additional docstring fixes (#18314) 2020-09-03 16:08:23 +02:00
Guillaume Lemaitre a54cb47c74
FIX improve error message with string-encoded target in metrics (#18192)
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2020-09-02 13:01:13 -04:00
Cary Goltermann b229a66306
FIX fix hinge_loss when labels are provided and not inferred from y_true (#17935)
Co-authored-by: Ultramann <cgoltermann@kpmg.com>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2020-08-24 09:16:05 +02:00
Richard Decal 2ab500255d
ENH added zero_division param to jaccard metric (#17866)
Co-authored-by: Joseph Willard <joseph@sirbotsy.sirbotsy>
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2020-08-21 20:44:06 +02:00
Guillaume Lemaitre 7669c2bfd6
DOC correct formatting of multilabel confusion matrix (#18193) 2020-08-19 20:37:45 +10:00
Christian Lorentzen e0abd262ea
DOC improve model evaluation a bit (#18166) 2020-08-17 07:55:57 -04:00
Lucy Liu 854f649307
DOC Expand Brier score, fix docstring (#18051)
* 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>
2020-08-13 19:25:01 -04:00
Lucy Liu d5caba0abc
DOC Use math notation in log_loss metric (#18049) 2020-08-01 10:05:42 +02:00
Shubhanshu Mishra 73caba5dab
Fix #16998 classification_report with output_dict=True should not raise AttributeError (#17777) 2020-07-29 07:36:56 +10:00
Nicolas Hug 93f0216c24
DOC minor update to classification_report docstring (#16899)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
Co-authored-by: Andreas Mueller <t3kcit@gmail.com>
2020-07-09 11:37:56 +02:00
Thomas J. Fan 7cc0177f8e
MNT Replaces numpy alias with builtin typse (#17687)
* MNT Replaces numpy alias with builtin typse

* STY Lint error
2020-06-24 16:51:51 +02:00
Kevin Markham 6c384a6403
DOC Add "see also" links to and from new plotting functions (#17615)
* add See Also links to and from plot_precision_recall_curve

* add See Also links to and from plot_confusion_matrix
2020-06-16 21:46:20 -04:00
genvalen 3a4ef05185
DOC update default docstrings in metrics module to follow guideline (#17517)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
Co-authored-by: Adrin Jalali <adrin.jalali@gmail.com>
2020-06-15 15:31:29 +02:00
brigi dbc35934a6
DOC Version added and changed labels added for v0.18 (#wimlds) (#16222)
* Versionlabels added to v0.18 (#wimlds)

* documentation issues: label changed and added for version 0.18

* fix intends and shorten description

Co-authored-by: Hannah <32333241+hhnnhh@users.noreply.github.com>
Co-authored-by: Brigitte@home <unger@nue.tu-berlin.de>
2020-04-27 18:43:47 -04:00
Ekaterina Borovikova 4755ae76d2
DOC Add versionchanged and versionadded for v0.20 (#16199)
Co-Authored-By: Adrin Jalali <adrin.jalali@gmail.com>
Co-Authored-By: Chiara Marmo <cmarmo@users.noreply.github.com>
Co-Authored-By: Nicolas Hug <contact@nicolas-hug.com>
2020-04-26 09:29:36 -04:00
Adrin Jalali 02309ffbda
API kwonly args in manifold, metrics, mixture, model_selection, multclass, multioutput (#16982) 2020-04-24 17:24:24 -04:00
parsons-kyle-89 7366a5a4cc
BUG fix behaviour in confusion_matrix with with empty array-like as input (#16442) 2020-02-23 14:40:44 +01:00
Jon Haitz Legarreta Gorroño 09bd9ee6a7
DOC: Mark the sentence end in `classification_report` (#16411) 2020-02-10 08:46:46 -05:00
Nicolas Hug 6a27d4dc6f
DOC Better UG for calibration (#16175) 2020-01-29 14:54:02 +01:00
Siddharth Gupta 54344b1175 DOC Correct docstring definition for log_loss function (#16037) 2020-01-14 18:14:56 +11:00
Qizhi Jiang e3ee768a0c DOC Docstring improvements to confusion_matrix and splitters (#16072) 2020-01-11 18:42:10 +01:00
Bibhash Chandra Mitra dfad061da2 BUG use zero_division argument in classification_report (#15879) 2019-12-21 18:19:50 +01:00
Hanmin Qin 4ad4cc632e
MNT Raise erorr when normalize is invalid in confusion_matrix (#15888) 2019-12-18 15:40:03 +08:00
Nicolas Hug 42e17b3487 MNT Removed deprecated attributes and parameters -- ctnd (#15804) 2019-12-13 15:05:51 -05:00
Hanmin Qin 49b03befda DOC Correct wrong doc in precision_recall_fscore_support (#15833) 2019-12-10 14:07:22 +01:00
Matt Hall 6f701e23e3 DOC Long sentence was hard to parse and ambiguous in _classification.py (#15769) 2019-12-06 02:15:37 -06:00
Nicolas Hug 70ae89ecb2 MNT Removed deprecated metrics (#15794) 2019-12-05 10:49:00 -05:00
Guillaume Lemaitre 080d0e5595 ENH add normalize parameter to confusion_matrix (#15625) 2019-11-15 04:44:23 -06:00
Nicolas Hug 19ad136223 MNT Replace DeprecationWarning with FutureWarning (#15080)
* bruteforce renaming

* WIP

* WIP

* some more

* removed weird line

* update -Werror

* testiforest

* again

* Fixed some tests

* fixed some tests

* removed -Werror

* fixed test_docstring_param issue

* fixed some tests

* some more

* renamed to SklearnDeprecationWarning

* pep8

* updated docs

* pep8

* merge

* changed to FutureWarning

* fixes

* Update doc/developers/tips.rst

Co-Authored-By: Adrin Jalali <adrin.jalali@gmail.com>

* avoid duplicates

* fixed warning for deprecations

* Still make CI break if DeprecationWarning isn't caught

* updated one warning

* fixed test

* fixed some renamings

* updated new dep warnings

* fixed bad import

* ignore warnings

* update again

* ignore futurewarning when walking packages

* Fixed test

* pep8

* Added whatsnew
2019-10-29 15:39:26 +01:00
Nicolas Hug e947689c90 MAINT Make files private for sklearn.metrics and sklearn.metrics.cluster (#15306) 2019-10-23 15:20:28 +02:00