Commit Graph

218 Commits

Author SHA1 Message Date
Dimitri Papadopoulos Orfanos 0f43434e0c
DOC fix typos found by codespell (#27457) 2023-09-26 15:31:28 +02:00
Guillaume Lemaitre 1550432965
DOC fix deprecation warning in plot_oneclass (#27452)
Co-authored-by: Arturo Amor <86408019+ArturoAmorQ@users.noreply.github.com>
2023-09-25 14:25:51 +02:00
Guillaume Lemaitre 08b123f90c
DOC fix deprecation warning in plot_separating_hyperplane_unbalanced (#27453) 2023-09-25 10:42:38 +02:00
Stefanie Senger 4906ce586b
DOC Notebook style and enhanced descriptions in SVM kernels example (#26805) 2023-08-24 15:06:25 +02:00
Arturo Amor 1a9c0067b9
DOC Revisit SVM C scaling example (#25115)
Co-authored-by: ArturoAmorQ <arturo.amor-quiroz@polytechnique.edu>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2023-08-22 21:44:25 +02:00
Adrin Jalali 42173fdb34
MNT add isort to ruff's rules (#26649) 2023-06-21 17:50:07 +02:00
Dimitri Papadopoulos Orfanos 6ca4970ca2
MAINT Remove encoding declarations: `# -*- coding: utf-8 -*-` (#26467) 2023-05-31 17:26:00 +02:00
Gleb Levitski b32e5c7ab3
ENH Accept 'auto' option for 'dual' parameter in LinearSVC and LinearSVR (#26093) 2023-05-30 16:54:24 +02:00
Adrin Jalali 893d5accaf
MNT Update black to 23.3.0 (#26110) 2023-04-06 12:14:16 -04:00
Loïc Estève eaa06ac621
CI Update lock files (#25849) 2023-03-15 11:36:20 +01:00
Guillaume Lemaitre 464922b4ac
DOC only use chi2 on binary and counts features (#24684)
Co-authored-by: Tim Head <betatim@gmail.com>
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
Co-authored-by: Arturo Amor <86408019+ArturoAmorQ@users.noreply.github.com>
2023-01-12 20:02:25 +01:00
Guillaume Lemaitre 507ecadc28
DOC convert to notebook style SVM C scaling example (#21776)
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2022-11-29 10:31:26 +01:00
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
Jihane 57e3523888
DOC use notebook-style for plot_svm_anova.py (#22779)
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Loïc Estève <loic.esteve@ymail.com>
2022-03-18 15:47:03 +01:00
zempleni d4c96d23ef
Update plot_rbf_parameters.py (#22724)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
Co-authored-by: Jérémie du Boisberranger <34657725+jeremiedbb@users.noreply.github.com>
2022-03-17 22:20:01 +01:00
Jaya Surya Kommireddy 6016083816
DOC: use notebook-style for plot_svm_regression.py example (#22534)
Co-authored-by: Loïc Estève <loic.esteve@ymail.com>
2022-02-19 18:18:48 +01:00
Thomas J. Fan 1fc86b6aac
MNT Update black to stable version (#22474) 2022-02-15 11:36:26 +01:00
Guillaume Lemaitre e67581c1aa
DOC clarify fit of the models with/without sample weights (#22319)
Co-authored-by: Julien Jerphanion <git@jjerphan.xyz>
2022-01-28 15:35:10 +01:00
Sven Eschlbeck fd18ad2396
MNT speed up example plot_svm_scale_c.py (#21625) 2021-11-24 13:51:08 +01: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
Thomas J. Fan 81dde3a6e5
STY Ensures that "flake8 ." works (#20298) 2021-06-18 15:46:40 +02:00
Amanda Dsouza cf4909eb92
DOC simplify SVM margin illustration by chaging plotting style (#19387) 2021-02-08 10:02:32 +01:00
Ayush Singh 74f20aedff
DOC Fixed typo in a comment (#19284) 2021-01-27 09:48:24 +01:00
Joaquin Vanschoren 61feb5ea27
DOC Improved explanation of SVM-RBF behavior (#18538)
* Improved explanation of SVM-RBF behavior

The previous explanation of the results contained an incorrect interpretation. The description is updated as discussed here: https://github.com/scikit-learn/scikit-learn/issues/18532

* Making linter happy

* Update examples/svm/plot_rbf_parameters.py

Co-authored-by: Nicolas Hug <contact@nicolas-hug.com>

* Update examples/svm/plot_rbf_parameters.py

Co-authored-by: Nicolas Hug <contact@nicolas-hug.com>

* making linter happy

* whitespace

Co-authored-by: Nicolas Hug <contact@nicolas-hug.com>
2020-10-05 18:08:00 -04:00
Harry Scholes ffb4feafc9
DOC fix missing space in example (#18321) 2020-09-02 11:18:44 +02:00
Nicolas Hug 8611b9a9af
Fix SVs computation (#17405) 2020-07-01 12:33:31 -04:00
Kanika Sabharwal 8f9a027b38 removed redundant tol paramtere from examples (#14765) 2019-08-24 17:51:47 -04:00
Hanmin Qin df7942af77 EXA Add an example about how to obtain the support vectors in… (#14355) 2019-07-25 23:51:10 +02:00
Archana Alva 40b2a6c7e3 EXA Removing redundant parameters assignment in examples (#14360) 2019-07-14 22:26:41 +08:00
Adrin Jalali 384c8ad3d3 ENH add a break_ties parameter to SVC and NuSVC (#12557) 2019-05-03 16:15:49 -04:00
Christos Aridas 943239592e EXA Remove unused variables (#13197) 2019-02-20 12:36:22 +11:00
Hanmin Qin 1deb95a13e EXA Improve example plot_svm_anova.py (#11731) 2019-01-28 12:57:38 +11:00
Joel Nothman 486f8fc543 DOC fix plot_iris references after files renamed 2019-01-17 23:31:48 +11:00
Adrin Jalali 69c8967e21 DOC Fix warnings in examples (#12654)
Fixe or suppresses many warnings in examples, including matplotlib complaining about the non-gui backend.
2019-01-17 21:41:13 +11:00
mferrari3 354c8c3bc3 DOC update SVR plot point size and color (#12877)
With thanks to 	@rishikksh20 and @ml4713
2019-01-10 09:42:35 +11:00
Mickaël Schoentgen 2df594564d EXA Fix several DeprecationWarning: invalid escape sequence in examples (#12924) 2019-01-05 12:22:36 +08:00
Hanmin Qin 8890b50606 [MRG+1] EXA Set cv=5 in examples (#11856)
* EXA Set cv=5 in examples

* small mistake

* [doc build]

* [doc build]

* cross_val*

* [doc build]

* [doc build]
2018-08-20 15:22:42 -04:00
Alex Egg 391209b1a7 DOC fix "class weight" -> "sample weight" comment in plot_weighted_samples.py (#11804) 2018-08-14 00:11:21 +03:00
Léo DS fb0e0fcf5f [MRG] Fix plot_svm_scale_c.py and plot_discretization_classification.py not to use deprecated plt api (#11586) 2018-07-17 15:48:09 -05:00
Hanmin Qin 95628bfefb EXA Get rid of warnings in plot_svm_anova.py (#11588) 2018-07-17 15:06:11 +02:00
Andreas Mueller 0b8d362545 [MRG] Examples deprecations (#11561) 2018-07-17 00:08:04 -05:00
Joel Nothman 14764061f8
[MRG] DOC fix some sphinx warnings (#11241) 2018-06-21 20:43:21 +10:00
Luke M Craig b03caaa4f8 DOC fix plotting support vectors in SVM example (#11231) 2018-06-11 15:22:48 +10:00
Hanmin Qin 68b981f183 MNT Flake8 fix for #8957 (See the Travis failure)
I think there's concensus on not to introduce new flake8 errors
cc @amueller
2018-05-24 23:14:58 +08:00
Chris Foster 974ceb51ba [WIP] Proposed ``C`` parameter clarifications in RBF SVM parameter example (#8957)
* Proposed rewrite

* Update plot_rbf_parameters.py

use phrasing suggested by @vene.
2018-05-23 15:50:15 -04:00
Nicholas Nadeau, P.Eng., AVS 3e26fc63be MAINT Fixing Typos (#11017) 2018-04-24 09:32:25 +10:00
Mohamed Maskani 34f12da6d6 ENH make_blobs takes list/array as n_samples argument (#10577) 2018-02-14 20:58:27 +11:00