Commit Graph

173 Commits

Author SHA1 Message Date
Andreas Mueller 1c41368bac [MRG+1] Uncontroversial fixes from estimator tags branch (#8086)
* some bug fixes.

* minor fixes to whatsnew

* typo in whatsnew

* add test for n_components = 1 transform in dict learning

* feature extraction doc fix

* fix broken test

* revert aggressive input validation changes

* in SelectFromModel, don't store threshold_ in transform. If we called "fit", use estimates from last "fit".

* move score from EllipticEnvelope to OutlierDetectionMixin

* revert changes to Tfidf documentation

* remove dummy input validation from whatsnew

* fix text feature tests

* rewrite from_model threshold again...

* remove stray condition

* fix self.estimator -> estimator, slightly more interesting test

* typo in comment

* Fix issues in SparseEncoder, add tests.
more explicit explanation of SparseEncoder change, add issue numbers to whatsnew

* minor fixes in whats_new.rst

* slightly more consistency with tuples for shapes

* not longer typo
2017-06-06 16:34:47 +02:00
Hanmin Qin 937b47fddc Update model_evaluation.rst (#8915) 2017-05-22 14:56:46 -07:00
(Venkat) Raghav (Rajagopalan) 2f7f5a1a50 [MRG + 1] Add fowlkess-mallows and other supervised cluster metrics to SCORERS dict so it can be used in hyper-param search (#8117)
* Add supervised cluster metrics to metrics.scorers

* Add all the supervised cluster metrics to the tests

* Add test for fowlkes_mallows_score in unsupervised grid search

* COSMIT: Clarify comment on CLUSTER_SCORERS

* Fix doctest
2017-01-06 12:03:10 +01:00
Karan Desai cb6a366344 [MRG+1] Add new regression metric - Mean Squared Log Error (#7655)
* ENH Implement mean squared log error in sklearn.metrics.regression

* TST Add tests for mean squared log error.

* DOC Write user guide and docstring about mean squared log error.

* ENH Add neg_mean_squared_log_error in metrics.scorer
2016-11-30 11:59:55 +11:00
Neeraj Gangwar dc4255f383 [MRG+1] Add a note in coverage_error doc to highlight the difference from original coverage formula (#7915) 2016-11-22 14:07:15 +01:00
Giorgio Patrini 8f938eec05 DOC fixed avoidable warning of test-doc (#7524) 2016-10-10 20:15:40 +11:00
Andreas Mueller 5bb983013c minor doc fixes (#7514)
fix scoring function table

minor fixes to whatsnew
2016-09-28 11:31:29 -07:00
Joel Nothman c726085e20 DOC mention true positives etc in confusion matrix docs (#7392) 2016-09-12 12:22:41 -04:00
Ruifeng Zheng 105d03314c [MRG+1] Add hyperlink and example for kappa (#7214) 2016-09-10 15:34:35 +02:00
Gael Varoquaux 4b2304f05a Merge pull request #7261 from betatim/negative-scorers
[MRG + 2] Rename scorers like `mse` to `neg_mse`
2016-09-08 20:40:17 +02:00
Andreas Mueller 6972d6c15c DOC minor doc fixes for sphinx. (#7357) 2016-09-08 10:07:40 +10:00
Tim Head f4419a9f2a Small documentation fix 2016-09-04 17:21:54 +02:00
Tim Head 88a395abb3 Link to mean_squared_error function
Makes the distinction between the metric and the scorer a bit
easier for the reader.
2016-09-01 08:16:24 +02:00
Tim Head ef64969f91 Introduce deprecation warning and fix tests
get_scrorer now warns if you use an old name for a scorer
and tests have been updated to use new naming convention.
2016-08-27 14:56:40 +02:00
Tim Head 9b2e53e8d5 Rename smaller-is-better scoring metrics
Rename scorers like MSE to neg_MSE so that it is less
surprising that they return negative values.
2016-08-27 12:06:07 +02:00
Óscar Nájera bd5cecce44 update references link namespace 2016-08-03 20:23:50 +02:00
Óscar Nájera 04116ce286 update image sources namespace 2016-08-03 20:23:50 +02:00
Andreas Mueller 8972d82a1f DOCS / COSMIT duplicate word typos 2016-07-26 10:44:32 -04:00
Yoav Ram 6301b1f727 emphasis on "higher return values are better..." (#6909) 2016-06-19 14:46:13 +02:00
Moussa Taifi c6a457fe99 Add Brier_score_loss to model validation doc 2016-06-16 10:57:16 +02:00
Maniteja Nandana e8d331f886 DOC: Improve docs for average precision score 2016-05-04 18:02:03 +05:30
Rémy Léone 9b7176dd9d [DOC] Fix broken links 2016-03-23 12:45:34 -07:00
Joseph Munoz 36ec92ae37 Fixed typo in one word. 2016-02-10 13:19:36 -05:00
Mathieu Blondel 04ca448a4c Typo. 2015-11-10 22:11:26 +09:00
Raghav R V f67e911124 DOC Modify documentation/examples for the new model_selection module 2015-10-29 16:49:23 +01:00
Vighnesh Birodkar 2f099334f9 MAINT deprecate 1d input arrays for all estimators
Passing 1D arrays to check_array, without setting `ensure_2d` to false now
raises a deprecation warning before reshaping it. This will later throw an
error.

All Scaler classes also throw warnings when 1D arrays are passed.

All unit tests/doctests are modified to ensure that no 1D arrays are passed,
except in explicit 1D array tests where the warnings have been silenced.

Additional tests are also included which check for different 1D array cases.

2D array tests with one samples and one features are also added and where
they failed, `check_array` call has been modified to give a more useful error
message
2015-09-09 15:49:58 +02:00
Lars Buitinck b802ca2f1b ENH: add Cohen's kappa score to metrics 2015-07-30 17:27:48 +02:00
banilo 3a82309d98 extend R^2 description 2015-07-12 01:25:52 +02:00
Frank C. Eckert 59aeb5407b Fix typo in model evaluation documentation
added a missing parenthesis
2015-06-11 20:04:05 +02:00
Joel Nothman 019fc9b8e7 ENH labels parameter in P/R/F may extend or reduce label set 2015-06-09 01:02:57 +10:00
Andreas Mueller 0650d5502e DOC adding backlinks to docstrings 2015-06-03 00:24:04 -04:00
Konstantin Shmelkov 1b1e10c325 ENH multioutput regression metrics 2015-05-08 12:41:07 -04:00
Arnaud Joly c5358caab2 ENH add ranking_loss multilabel ranking metric 2015-04-24 10:23:43 +02:00
Arnaud Joly 011ad8d8a4 ENH add a prior strategy for the dummy estimator 2015-04-14 09:44:52 +02:00
Loïc Estève a13a5859e8 DOC remove sphinx warnings when generating the doc
and fixes a few other doc problems while I was at it.

The main take-home message is to remember that you need a backslash when
your parameter type description exceeds one line.
2015-03-18 15:49:30 +01:00
Andreas Mueller 9bc4de8dae some fixes for sphinx and in examples 2015-03-02 12:50:53 -05:00
Fabian Pedregosa dbc5d707c6 Change loss names for LinearSVC and LinearSVR()
the names are now consistent across methods

In LinearSVC:
   'l1' -> 'hinge'
   'l2' -> 'squared_hinge'
In LinearSVR:
   'l1' -> 'epsilon_insensitive'
   'l2' -> 'squared_epsilon_insensitive'
2015-02-09 11:09:16 +01:00
trevorstephens f81a88c674 fix rst table layout 2015-01-25 19:42:39 -08:00
Andreas Mueller c970fb51e7 COSMIT spelling 2015-01-15 15:09:35 -05:00
Andreas Mueller 6e0b3820c2 TYPO in model evaluation docs 2015-01-15 12:11:58 -05:00
Sylvain Zimmer 8b4ddc0a86 Another doc typo fix 2014-12-27 00:37:23 -05:00
Joel Nothman 081a554698 FIX P/R/F metrics and scorers are now for binary problems only by default
Scorers for different average parameters have been added.
2014-12-09 13:56:51 +11:00
Arnaud Joly b351548c16 DOC more explicit title 2014-11-27 12:42:48 +01:00
Arnaud Joly ee8500f3cf DOC clarify how ties are broken for coverage_error 2014-11-27 12:42:48 +01:00
Arnaud Joly 9311f12092 DOC improve documentation of coverage 2014-11-27 12:42:47 +01:00
Arnaud Joly 81ac899714 ENH add coverage multilabel ranking metric 2014-11-27 12:42:47 +01:00
Florian Wilhelm 167e96ed5c MAINT remove multi-output support from meadian absolute error
At the moment, it's not clear what should be done. So it's left for latter.
2014-11-20 16:10:33 +01:00
Andreas Mueller 0ce8886a64 DPC FIX latex error in multiclass hinge loss 2014-11-19 13:44:11 -05:00
Kevin Markham 6efa1cdde0 DOC FIX: typo and minor update 2014-11-14 16:14:43 -05:00
Saurabh Jha 8eee4bc7e1 Implements Multiclass Hinge loss 2014-11-03 15:18:47 +01:00