Commit Graph

3088 Commits

Author SHA1 Message Date
Sunitha Selvan ae7667ce22
DOC mention LOOCV instead of GCV in RidgeCV (#18154) 2020-08-18 11:32:21 +02:00
Daniel López daebcac781
FEA Add PolynomialCountSketch to Kernel Approximation module (#13003)
* Add Tensor Sketch algorithm

* Add user guide entry

* Add example

* Add benchmark

Co-authored-by: Christian Lorentzen <lorentzen.ch@googlemail.com>
Co-authored-by: Tom Dupré la Tour <tom.dupre-la-tour@m4x.org>
Co-authored-by: Roman Yurchak <rth.yurchak@gmail.com>
2020-08-18 08:44:20 +02:00
Christian Lorentzen e0abd262ea
DOC improve model evaluation a bit (#18166) 2020-08-17 07:55:57 -04:00
Daniel Mohns 41d648ef88
[MRG] Add Detection Error Tradeoff (DET) curve classification metrics (#10591)
* 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>
2020-08-16 11:34:37 +02:00
rauwuckl eb7b15817e
DOC clarify the kernel gradient for GaussianProcesses (#18115) 2020-08-16 09:54:18 +10:00
Lucy Liu 018de22323
DOC Add user guide for permutation_test_score (#18055)
* wip

* add user guide

* fix link to ex

* suggestion

* suggestions
2020-08-13 19:34:55 -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
Nicolas Hug 25487f22d6
DOC Add example comparing PCR and PLS (#17151) 2020-08-11 14:46:33 -07:00
Bharat Raghunathan 54e85ffaba
DOC Correction in empirical covariance (#17587) 2020-08-07 14:00:00 +02:00
Bharat Raghunathan f734e11a53
ENH: Add regularization to the main NMF class (#17414)
* ENH: Add regularization to the main NMF class

* Update _nmf with suggestions from code review

Update `_nmf.py` with suggestion from review

Co-authored-by: Adrin Jalali <adrin.jalali@gmail.com>

* Refactor tests, fix linter errors

* Change default value to None

* Revert back to default value of "both"

* Update default value documentation acc to @thomasjpfan

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

* CLN Places regularization at the end

* Add whatsnew entry

* DOC Fix

* DOC Fix

Co-authored-by: Adrin Jalali <adrin.jalali@gmail.com>
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2020-08-06 12:04:17 -07:00
Chiara Marmo 075d424568
FEA Add Nonnegative LinearRegression (#17578)
Co-authored-by: Nicolas Hug <contact@nicolas-hug.com>
Co-authored-by: Joseph Knox <jknox13@uw.edu>
Co-authored-by: Joseph Knox <joseph.edward.knox@gmail.com>
2020-08-06 08:30:24 -04:00
Hitesh Somani 34d956b1ab
DOC Update tree.rst about lack of support of categorical data (#18106) 2020-08-06 10:51:06 +02:00
Thomas J. Fan cc7e6dbe6b
DOC Improves sidebar navigation for user guide (#16964) 2020-08-02 23:07:48 +10:00
Chiara Marmo 320b4c61f9
FEA Add iterable values support for dictvectorizer (#17367)
Co-authored-by: Peng Yu <peng.yu@shopify.com>
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
Co-authored-by: Joel Nothman <joel.nothman@gmail.com>
2020-08-01 22:10:36 +10:00
Lucy Liu 6a84f79465
DOC Add example of using CV iterator to split train test (#17550) 2020-07-31 10:43:46 +02:00
Lucy Liu effc436450
DOC Expand on sigmoid and isotonic in calibration.rst (#17725) 2020-07-22 12:16:48 -04:00
Thomas J. Fan 9acfaab966
ENH Adds support for multimetric callable return a dictionary (#15126) 2020-07-16 17:55:40 +02:00
oj_lappi 022ad0befd
DOC Fix math notation error in description of CCP (#16450)
Breiman, Friedman, Ohlsen, Stone use a T with a tilde to denote the terminal nodes of a tree. A simple T would imply we are counting the nodes in the whole tree.
2020-07-16 00:02:53 +02:00
Juan Carlos Alfaro Jiménez 0efd08b0fa
DOC Specify shape with parentheses in ensemble user guide (#17888) 2020-07-11 13:29:24 +02:00
Juan Carlos Alfaro Jiménez 8754470a78
DOC Specify shape with parentheses in decision tree guide (#17873) 2020-07-09 17:38:03 +02:00
Parthiv Chigurupati b78d62f9a3
DOC Updated cross validation accuracy metric (#17781)
* Updated cross validation accuracy metric

* Added deterministic results

* Update std value

Co-authored-by: Juan Carlos Alfaro Jiménez <JuanCarlos.Alfaro@uclm.es>

* Revert output

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

Co-authored-by: Juan Carlos Alfaro Jiménez <JuanCarlos.Alfaro@uclm.es>
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2020-07-06 14:39:05 -04:00
Adrin Jalali 3a49e5f209
MNT deprecate ChangedBehaviorWarning and NonBLASDotWarning (#17804)
* deprecate ChangedBehaviorWarning and NonBLASDotWarning

* add whats_new entry
2020-07-05 22:32:08 +02:00
Jona Sassenhagen 5e193ec655
[MRG] varimax rotation for factor analysis (#11064)
* init varimax

* fix py2 and add example text

* fix print again

* test, docs

* fix test

* fix doctstring

* np.allclose for test

* add refrence

* address comments

* update

* Fix linting failure.

* Fix deprecation warning.

* a bit of cleanup

* Address @jnothman's review comments.

* Update section divider

* Add note in what's new page and versionadded to docstring.

Co-authored-by: Eric Prestat <eric.prestat@gmail.com>
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2020-07-05 21:29:08 +02:00
Thomas9292 a8067f7190
DOC Add tiebreaking explanation to DecisionTreeClassifier docs (#17783)
Co-authored-by: Juan Carlos Alfaro Jiménez <JuanCarlos.Alfaro@uclm.es>
Co-authored-by: Nicolas Hug <contact@nicolas-hug.com>
Co-authored-by: thomas.wesselink@ing.com <thomas.wesselink@ing.com>
2020-07-04 16:35:16 -04:00
Ashutosh Hathidara 0ea3244061
Added mean_absolute_percentage_error in metrics fixes #10708 (#15007)
Co-authored-by: mohamed-ali <m.ali.jamaoui@gmail.com>
Co-authored-by: Alexandre Gramfort <alexandre.gramfort@m4x.org>
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Joel Nothman <joel.nothman@gmail.com>
Co-authored-by: Roman Yurchak <rth.yurchak@pm.me>
2020-07-04 13:24:20 +02:00
Ruby Werman 563257a141
DOC Change remove symbol nu from OutlierDetection (#17732)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2020-06-26 19:20:12 +02:00
Ruby Werman 2e47204a7e
DOC improve description of OneClassSVM when used for outlier detection (#17726) 2020-06-25 18:48:22 +02:00
Thomas J. Fan 6195a16505
DOC Removes FunctionTransformer example (#17318)
* DOC Removes FunctionTransformer example

* DOC Updates description
2020-06-25 14:27:38 +02:00
Thomas J. Fan 41488fcabe
MNT Remaining numpy alias (#17712) 2020-06-25 11:57:11 +02:00
Geoffrey Bolmier 62fc8bb94d
ENH Update NeighborsBase 'auto' heuristic (#17148) 2020-06-23 21:24:36 +02:00
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
Madhura Jayaratne 45a6ef7b72
FEA Add support for Individual Conditional Expectation (ICE) plots (#16619) 2020-06-15 13:44:44 +02:00
Louis Guitton 31c4d8d679
DOC Fix typo in the Pipelines and composite estimators section (#17547) 2020-06-09 11:43:57 -04:00
Xue Qianming 9b384c5c52
DOC Fix typo: R_ij -> R_{ij} for Davies-Bouldin Index (#17452) 2020-06-05 10:12:55 -04:00
Lucy Liu 690b920c02
DOC Use non paywall url in outlier_detection.rst (#17434) 2020-06-03 09:38:06 -04:00
Kevin Markham 753da1de06
DOC Minor fixes (#17325) 2020-05-28 10:52:54 -04:00
Nicolas Hug a1cc566605
DOC Updated deprecation section in classes.rst (#17296) 2020-05-22 10:05:46 -04:00
Venkatachalam N f6b8bc0ece
ENH add importance_getter to RFE* and SelectFromModel 2020-05-20 16:15:32 +10:00
Lucy Liu 3ff398151f
DOC Replace boston dataset in ensemble.rst (#16876) 2020-05-19 08:51:36 +02:00
Lucy Liu 30788de8be
DOC Use california data in compose.rst (#16871) 2020-05-18 16:32:52 +02:00
Thomas J Fan 60de458095
DOC Removes uneeded __init__ in API documentation (#17243) 2020-05-18 12:40:51 +02:00
Shane Keller 89d9729a4d
DOC Add explanation of why iterative imputer is experimental (#17115) 2020-05-18 08:07:09 +10:00
Nicolas Hug a4b59c793a
DOC fix links in truncated SVD docs (#17194) 2020-05-16 18:28:54 -04:00
Adam Spannbauer 8595fe438c
DOC Fix argument ref in Isomap docs (#17217) 2020-05-14 15:27:52 -04:00
Kyle Kosic b4e215c01c
FEA Additional `TimeSeriesSplit` Functionality (#13204)
Co-authored-by: Kyle Kosic <kylekosic@Kyles-MacBook-Pro.local>
Co-authored-by: Thomas J Fan <thomasjpfan@gmail.com>
2020-05-11 21:48:01 -04:00
Pankaj Jindal 4fae53964b
DOC Correcting an attribute's name (#17110) 2020-05-04 11:09:48 -04:00
Nicolas Hug 863c1d683f
DOC Feature highlights for 0.23 (#17062) 2020-05-01 11:06:00 -04:00
Thomas J Fan ee2508ce45
ENH Adds HTML visualizations for estimators (#14180) 2020-04-30 08:31:58 +10:00
Thomas J Fan 91e942759f
DOC Make release highlights the first gallery section (#16952) 2020-04-27 11:23:15 -04:00