Commit Graph

256 Commits

Author SHA1 Message Date
Nicolas Hug 04b3283a1e
DOC added links to ndcg_score in UG (#17637) 2020-06-19 15:38:52 -04:00
James Hoctor 211ab3e8a3
DOC Avoid atypical usage of cross_validate (#17600) 2020-06-15 22:38:27 -04:00
Shiki-H 8868ec775e
DOC Add formula for binary balanced accuracy in UG (#16604) 2020-03-01 08:50:29 -05:00
Jon Haitz Legarreta Gorroño 14e597c700
DOC Fix syntax in `model_evaluation` UG (#16410) 2020-02-10 08:49:46 -05:00
Oliver Urs Lenz 2e90b89776 DOC clarify doc-string of roc_auc_score and add references (#15293) 2019-12-19 14:44:44 +01:00
Brian Wignall c4733f4895 MNT Fix some easy-to-make typos (#15720) 2019-11-26 06:31:40 -06:00
Guillaume Lemaitre 080d0e5595 ENH add normalize parameter to confusion_matrix (#15625) 2019-11-15 04:44:23 -06:00
Thomas J Fan e650a207ef ENH Adds plot_confusion matrix (#15083) 2019-11-14 14:43:54 +01:00
Thomas J Fan 968252dfb4 FEA Adds plot_precision_recall_curve (#14936) 2019-11-10 20:54:35 -06:00
Peter Marko 6d38b5fcbc DOC multiclass balanced_accuracy_score (#15302) 2019-10-19 19:43:25 -04:00
Nicolas Hug 3c134503fe DOC change model evaluation section title (#15157) 2019-10-14 15:37:13 +02:00
stefan-matcovici d369a5f294 API Replace scorer brier_score_loss with neg_brier_score (#14898) 2019-09-19 09:37:33 +08:00
Roman Yurchak 8e81490d83 CLN Rename p to power parameter in mean_tweedie_deviance (#14852) 2019-09-09 13:45:36 -04:00
Thomas J Fan 96bfae69ce ENH Adds roc weighted scorers to SCORERS (#14417) 2019-09-04 15:41:29 -04:00
Kanika Sabharwal 40c7978a64 use return_X_y=True for load_iris dataset (#14777) 2019-08-24 17:54:16 -04:00
jeromedockes be27d909e0 FEA Add Normalized Discounted Cumulative Gain (#9951) 2019-08-13 13:02:04 +10:00
Urvang Patel 6425a8f7d1 ENH Add RMSE (root-mean-square error) metric and scorer (#13467) 2019-08-07 23:33:43 +03:00
Christian Lorentzen 89da7f71a6 ENH Add Poisson, Gamma and Tweedie deviances to regression metrics (#14263)
* 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
2019-07-19 17:45:00 +02:00
Thomas J Fan dc9955b5d4 [MRG] Adds multiclass ROC AUC (#12789) 2019-07-17 16:45:27 -04:00
Thomas J Fan 2e7e06b78f [MRG] Doctest with print change only adjusts default options for doctest (#13991) 2019-06-01 10:53:45 +02:00
Brian G. Barkley 5e0d1a1f04 DOC Fix typo: omit comma (#13999) 2019-05-31 12:26:39 -04:00
Guillaume Lemaitre 9adba491a2 [MRG] DEP change the default of cv and n_splits (#13839) 2019-05-29 23:39:20 +10:00
Ming Li 2fd1a6725b DOC Improve documentation of R-squared in User Guide (#13867) 2019-05-18 21:33:37 +08:00
Guillaume Lemaitre 28480f4cb2 DEP change the default of gamma in SVM (#13801) 2019-05-07 16:12:49 +02:00
Joel Nothman 19c8af6d6a ENH/FIX Replace jaccard_similarity_score by sane jaccard_score (#13151) 2019-03-13 20:59:08 +08:00
Hanmin Qin f867ccc533 DOC balanced_accuracy supports multiclass 2019-03-12 22:48:55 +08:00
Hanmin Qin 5c8167a159 FIX Correct the definition of gamma=`scale` in svm (#13221) 2019-02-24 18:34:43 +11:00
Fibinse Xavier` 9928713ae5 DOC on parallelisation of custom scorer (#12813) 2019-01-15 18:48:45 +11:00
Nicolas Hug a50c03f975 [MRG] Add pprint for estimators - continued (#11705)
* add pprint for estimators

* strip color from length, add color option

* Minor cleaning, fixes, factoring and docs

* Added some basic tests

* Fixed line length issue

* fixed flake8 and added visual test for review

* Fixed test

* Fixed Python 2 issues (inspect.signature import)

* Trying to fix flake8 again

* Added special repr for functions

* Added some other visual tests

* Changed _format_function in to _format_callable

because callable() returns True also for class objects (which we want to
reprensent with their name as well anyway)

* Consistent output in Python 2 and 3

* WIP

* Now using the builtin pprint module

* pep8

* Added changed_only param

* Fixed printing when string would fit in less than line width

* Fixed printing of steps parameter

* Fixed changed_only param for short estimators

* fixed pep8

* Added some more description in docstring

* changed_only is now an option from set_config()

* Put _pprint.py into sklearn/utils, added tests

* Added doctest NORMALIZE_WHITESPACE where needed

* Fixed tests

* fix test-doc

* fixing test that passed before....

* Fixed tests

* Added test for changed_only and long lines

* typo

* Added authors names

* Added license file

* Added ellipsis based on number of elements in sequence + added increasinly aggressive repr strategies

* Updated whatsnew

* dont use increaingly aggressive strategy

* Fixed tests

* Removed LICENSE file and put license text in _pprint.py

* fixed test_base

* Sorted parameters dictionary for consistent output in 3.5

* Actually using OrderedDict...

* Addressed comments

* Added test for NaN changed parameter

* Update whatsnew

* Added example to set_config()

* Removed example

* Added example in gallery

* Spelling
2018-12-19 23:48:21 -05:00
adanhawth ff64eae031 DOC Fix LaTeX text{} block escaping of underscores in doc-modules-model_evaluation.rst (#12788) 2018-12-16 09:07:03 +08:00
Emmanuel Arias 72ba30060a ENH Use accuracy instead of micro-average in classification_report (#12758) 2018-12-13 21:00:40 +11:00
Hanmin Qin 7fe3413475 Revert "DOC Fix math typo in model_evaluation's explained_variance (#12747)"
This reverts commit bf2f648639.
2018-12-10 19:53:03 +08:00
Adrin Jalali bf2f648639 DOC Fix math typo in model_evaluation's explained_variance (#12747) 2018-12-10 10:21:44 +08:00
Joel Nothman 654c452291 DOC Revert "DOC Use defined notation for precision and recall (#12726)" (#12743) 2018-12-09 19:42:35 +08:00
Greg Gandenberger 1cb56ba882 DOC Use defined notation for precision and recall (#12726) 2018-12-06 09:10:23 +08:00
Shangwu Yao 65556317c9 FEA (0.21) multilabel confusion matrix (#11179) 2018-10-30 19:26:37 +08:00
Krishna Sangeeth 831c760ccf ENH (0.21) Add max_error to the existing set of metrics for regression (#12232) 2018-10-11 15:33:06 +08:00
TakingItCasual f4e7d2b19a Converting http to https (3)... (#12302) 2018-10-05 18:50:31 +02:00
Denis Kataev b020f62250 MNT Apply pep8 to docs code (#12275) 2018-10-05 22:51:42 +08:00
TakingItCasual 1e052e9da9 Converting http to https (2)... (#12292) 2018-10-04 23:06:14 +02:00
TakingItCasual 74b56dbc57 MNT Converting http to https (#12277) 2018-10-04 22:37:57 +08:00
Hanmin Qin 0efaf2d040
ENH Adding various averages to classification_report (#11679) 2018-08-07 19:54:07 +08:00
Hanmin Qin 825cf09a1e ENH Simplify error message of get_scorer (#11738) 2018-08-06 12:30:35 +03:00
Hanmin Qin 9c306c070f Revert "DOC n_classes -> #classes (#11702)"
This reverts commit 89b25a586e.
2018-07-29 22:18:12 +08:00
Joel Nothman 89b25a586e
DOC n_classes -> #classes (#11702) 2018-07-29 23:05:44 +10:00
Joel Nothman 54dc0d730f DOC escape underscores in TeX 2018-07-29 13:48:58 +10:00
Joel Nothman e888c0d65c ENH multiclass balanced accuracy (#10587) 2018-07-27 15:21:46 +08:00
Alexandre Boucaud f158e2dfe2 [MRG+1] Change CV defaults to 5 (#11557)
* add FutureWarning for methods with defaults=3

* add explicit cv values to fix assertion errors

* add tests for catching the FutureWarning

* Write current deprecation version

* Add deprecation in docstring

* change default cv value to None

* change cv from 3 to 5 in the examples

* upgrade doctests

* update doctest in tutorial

* update doctest in cross-validation doc

* fix tests

* add entry to whats new

* address Gael comments

* address Gael comments 2

* fix wrong indentation

* update doc

* add docstring deprecation warning in CV subclasses

* address Andy's comments

* fix PR number

* fix flake8

* add filterwarnings in tests

* fix doctests

* cv=None mendatory in Ridge

* fix warning related errors

* skip some doctests warnings

* make travis happy

* change from deprecated to versionchanged

* fix doctests and remove skipping

* address comments
2018-07-19 14:46:11 +02:00
Georgi Peev 91bfca6938 DOC: reduce the tolerance in SV examples to get cross-platform stability (#11289) 2018-07-14 21:19:36 +02:00
Narendran Santhanam 6f9a8dfd54 MNT replace log with log1p (#11424) 2018-07-05 09:13:48 +10:00