Commit Graph

360 Commits

Author SHA1 Message Date
Thomas J. Fan d400723a21
FEA Add DecisionBoundaryDisplay (#16061)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Loïc Estève <loic.esteve@ymail.com>
2022-03-29 16:36:31 +02:00
Thomas J. Fan d4aad64b1e
MNT Update to black 22.3.0 to resolve click error (#22983)
* MNT Update to black 22.3.0 to resolve click error

* STY Update for new black version
2022-03-29 12:04:41 +02:00
Gabriel Stefanini Vicente ffa0898d5a
API Add data_transposed argument and warning to make_sparse_coded_signal (#21425)
Co-authored-by: Andreas Mueller <t3kcit@gmail.com>
Co-authored-by: jeremie du boisberranger <jeremiedbb@yahoo.fr>
Co-authored-by: Jérémie du Boisberranger <34657725+jeremiedbb@users.noreply.github.com>
2022-03-22 16:01:42 +01:00
Jérémie du Boisberranger bb5ab53f94
API Config: change default display to "diagram" (#22856) 2022-03-21 15:43:07 +01:00
Dimitri Papadopoulos Orfanos ee5a1b69d1
DOC, MNT Typos found by codespell (#22906) 2022-03-20 19:16:39 +01:00
fkaren27 d1a72af8a6
DOC use notebook-style for plot_bayesian_ridge.py (#22794)
Co-authored-by: Jérémie du Boisberranger <34657725+jeremiedbb@users.noreply.github.com>
Co-authored-by: Loïc Estève <loic.esteve@ymail.com>
2022-03-18 14:57:33 +01:00
Chloe-Agathe Azencott 7f5fce9ea4
DOC Use notebook style for plot_lasso_dense_vs_sparse_data (#22789)
* split in two cells and used fstrings

* fixed lined length + added comments + did not redensify a previously sparsified matrix
2022-03-13 10:34:27 +01:00
Sam Adam Day 391baef660
DOC: use notebook-style for plot_ols_3d (#22547)
Co-authored-by: Loïc Estève <loic.esteve@ymail.com>
2022-02-23 10:18:29 +01:00
alexanmv 46f15a00d2
DOC: use notebook-style for plot_logistic_path.py (#22536)
Co-authored-by: Loïc Estève <loic.esteve@ymail.com>
2022-02-22 11:55:00 +01:00
Thomas J. Fan 1fc86b6aac
MNT Update black to stable version (#22474) 2022-02-15 11:36:26 +01:00
Bijil Subhash 4f70d8585b
DOC fix section marker in plot_ard.py examples (#22481) 2022-02-14 11:27:54 +01:00
Maxwell c4be686fad
DOC use notebook-style for plot_lasso_and_elasticnet (#22423) 2022-02-10 08:13:01 +01:00
Thomas J. Fan 6307262210
DOC Fixes plot_sgd example to be consistent with 0.24 (#22424) 2022-02-09 18:12:13 +01:00
Sven Eschlbeck c29fe81218
DOC Increase execution speed of plot_sgd_comparison (#21610)
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2021-12-09 12:40:55 -05:00
Loïc Estève edc2730c0a
Use as_frame=False for mnist_784 examples to reduce memory usage (#21922) 2021-12-09 10:24:03 +01:00
Mr. Leu 0852d7bc9c
updated epoch and training size (#21773)
Co-authored-by: Alex Leu <alexcleu@ucla.edu>
2021-11-26 15:23:11 +01:00
Guillaume Lemaitre 4f6a28f2eb
FIX/API Fix AIC/BIC in LassoLarsIC and introduce noise_variance (#21481) 2021-11-23 21:32:26 +01:00
Himanshu Kumar f223199367
DOC fix typos and code in logistic regression example (#21596)
Co-authored-by: Christian Lorentzen <lorentzen.ch@gmail.com>
2021-11-08 10:32:11 -05:00
Ross Barnowski 108e966efb
DOC: Minor updates to polynomial interpolation example (#21492) 2021-10-29 08:49:49 -04:00
Dimitri Papadopoulos Orfanos d4d5f8c7e0
MAINT consistent use of `print(__doc__)` in examples (#21307)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2021-10-22 15:33:22 +02:00
Dimitri Papadopoulos Orfanos 5f6e17c084
MNT Remove #!/usr/bin/python shebang in examples (#21246) 2021-10-14 18:51:09 +02:00
Thomas J. Fan 70a185ae59
MAINT Enable and run black on examples (#20502) 2021-10-07 10:13:00 +02:00
Dimitri Papadopoulos Orfanos f71c031314
DOC Typos found by codespell (#21069) 2021-09-17 19:04:54 +02:00
Guillaume Lemaitre efede4b186 FIX remove fit_intercept from *_path in example 2021-08-05 11:07:59 +02:00
Thomas J. Fan 81dde3a6e5
STY Ensures that "flake8 ." works (#20298) 2021-06-18 15:46:40 +02:00
Maria Telenczuk 8a63ec40e4
MRG: Deprecate normalize in least_angle models (#17769)
Co-authored-by: Alexandre Gramfort <alexandre.gramfort@m4x.org>
2021-06-18 13:54:46 +02:00
Maria Telenczuk dc2b5875d0
DEP deprecates 'normalize' in _omp.py (#17750)
Co-authored-by: Alexandre Gramfort <alexandre.gramfort@m4x.org>
2021-06-17 23:24:40 +02:00
Olivier Grisel 56f4b83627
Fix number of splines in legend of example plot (#20142) 2021-06-01 10:33:08 +02:00
Guillaume Lemaitre 7c212a2966
EXA improve the example for QuantileRegressor (#20133) 2021-05-26 16:18:15 +02:00
David Dale c1cc67dd06
FEA Add QuantileRegressor estimator (#9978)
Co-authored-by: David Dale <ddale@yandex-team.ru>
Co-authored-by: Christian Lorentzen <lorentzen.ch@gmail.com>
2021-05-25 14:02:37 +02:00
Maria Telenczuk 9cfacf1540
DEP Deprecate 'normalize' in ridge models (#17772)
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Alexandre Gramfort <alexandre.gramfort@m4x.org>
2021-04-06 21:33:28 +02:00
Nicolas Hug 309f135c32
MNT Remove HistGradientBoosting from experimental (#19799) 2021-04-02 16:40:20 +02:00
Albert Thomas c854b83c91
[MRG] Linear One-Class SVM using SGD implementation (#10027)
Co-authored-by: Tom Dupré la Tour <tom.dupre-la-tour@m4x.org>
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2021-03-23 10:53:57 +01:00
mlondschien 95b7c680ab
ENH Add periodic extrapolation to SplineTransformer (#19483)
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Christian Lorentzen <lorentzen.ch@gmail.com>
2021-03-17 13:46:45 +01:00
Christian Lorentzen 27f1c737f2
FEA Add SplineTransformer (#18368) 2021-01-24 10:53:27 +01:00
Adam Midvidy 2d95acfe95
ENH/DOC Add additional validation for user-supplied gram matrixes (#19004) 2021-01-05 10:44:52 +01:00
Jonathan e9077056d2
DOC cleaned descriptive paragraph for linear regression example (#18348)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2020-09-07 10:42:52 +02:00
Bhavika Devnani 74590c8fd5
EXA Adjust the location of a comment (#18325)
Adjusting the location of the comment so it corresponds to the correct code snippet.
2020-09-02 16:04:06 +02:00
Thomas J. Fan f286e27798
DOC Fixes failing examples (#18180) 2020-08-18 08:52:41 +02: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
赵丰 (Zhao Feng) f0da528b92
DOC fix typo in plot_tweedie_regression_insurance_claims.py (#18026) 2020-07-29 10:56:12 -04:00
Biprateep Dey d849033fa5
MNT removed repeated definition of ranked_exposure (#17895) 2020-07-11 13:29:07 -04:00
Juan Carlos Alfaro Jiménez 547ead6c0c
MNT More replacements of numpy aliases with built-in types (#17707)
* MNT More replacements of numpy aliases with built-in types [scipy-dev]

* MNT More (manual) replacements of numpy aliases

* MNT More (manual) replacements of numpy aliases

* FIX Minor change

* MNT Trigger build [scipy-dev]

* FIX Minor change

* MNT Trigger build [scipy-dev]

* FIX More deprecations of numpy aliases [scipy-dev]

* MNT Silent numpy aliases warnings [scipy-dev]

* FIX Fix silent deprecations

* Trigger build [scipy-dev]

* FIX Add scape characters [scipy-dev]

* FIX Remove package specification from silent

* Trigger build [scipy-dev]

* Revert
2020-06-26 12:45:03 +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
Maren Westermann 4e8dc9db5c
DOC shorten links in examples/* modules (#17636)
* shorten links in examples

* fix linting errors
2020-06-20 17:43:14 +02:00
Roman Yurchak 94f2e9c5d8
DOC simpler block delimitation in sphinx-gallery examples (#17068)
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2020-06-08 23:23:14 -04:00
Thomas J Fan e770715c43
MNT Completes position arg deprecation (#17272)
* ENH Adds public functions with position args warning

* BUG Circlar import

* STY

* BUG Add keywords

* BUG Fixes warnings

* ENH Adds other public functions

* CLN Suggestion

* CLN Suggestion

* REV Revert pairwise

* ENH Positoinal args for compute_class_weight
2020-05-19 09:07:25 +02:00
Christian Lorentzen 79b0943de0
DOC avoid FutureWarnings for deprecations examples (#17264)
* MNT keyword only in examples

* MNT pandas 1.0.0 deprectation

See pandas-dev/pandas#23566

* MNT new keyword in 0.23
2020-05-18 18:35:12 +02:00
Christian Kastner 8b1b281de1
EXA Remove stray executable flag from example (#17116) 2020-05-03 23:30:02 +02:00
Olivier Grisel b9403f62ac
DOC Better headers in Poisson regression example (#17080) 2020-04-29 11:42:25 -04:00