Commit Graph

347 Commits

Author SHA1 Message Date
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
Christian Lorentzen 1c69a8a55c
DOC small typos and fixes for poisson example (#17078) 2020-04-28 20:26:51 -04:00
Olivier Grisel 2dd12af9d6
DOC Improve claim prediction example (#16648)
Co-Authored-By: Christian Lorentzen <lorentzen.ch@googlemail.com>
Co-Authored-By: Nicolas Hug <contact@nicolas-hug.com>
2020-04-28 17:26:26 -04:00
mathurinm bbedfa0216
use semilogx for a more readable xaxis (#17001) 2020-04-23 11:43:07 +02:00
Roman Yurchak df338cddc8
EXA align lorenz curves between the two examples with GLMs (#16640) 2020-03-05 11:55:25 +01:00
Roman Yurchak 69ea066412
ENH Minimal Generalized linear models implementation (L2 + lbfgs) (#14300)
Co-authored-by: Christian Lorentzen <lorentzen.ch@googlemail.com>
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Nicolas Hug <contact@nicolas-hug.com>
2020-03-04 14:08:24 +01:00
Alexandre Gramfort f65cdf2d5e DOC change logreg solver in plot_logistic_path (#15927) 2019-12-23 11:29:47 +01:00
Ritchie Ng 613a3338f3 DOC/EXA Correct spelling of "Classification" (#15938) 2019-12-20 09:34:58 +01:00
Loïc Estève a4db10152b EXA Minor fixes in plot_sparse_logistic_regression_20newsgroups.py (#15925) 2019-12-20 07:52:06 +11:00
Nicolas Hug b92455a6b2 MAINT Deprecate all of utils.testing except all_estimators (#15367) 2019-10-28 17:28:56 +01:00
Thomas J Fan 4a95e33e63 MNT Make modules private in sklearn.datasets (#15307) 2019-10-27 17:17:23 -04:00
Thomas J Fan 0a7adef005 MNT Make modules private in linear_model (#15324) 2019-10-23 15:34:26 +02:00
topisan 3379e90f6d DOC return_X_y for load diabetes (#14762) 2019-08-24 23:17:01 -04:00
qdeffense f13c9c0752 CLN remove redundant default parameters in examples and tests (#14590)
remove redundant 'fit_intercept=True' in examples and tests along with some instances of other redundant parameters (max_iter=100, C=1 and alpha=1.0)
2019-08-07 10:38:41 -07:00