Commit Graph

74 Commits

Author SHA1 Message Date
Stefanie Senger 4906ce586b
DOC Notebook style and enhanced descriptions in SVM kernels example (#26805) 2023-08-24 15:06:25 +02:00
Arturo Amor 83760ab447
DOC Fix warning on sklearn.svm._classes.NuSVC docstring (#27106)
Co-authored-by: ArturoAmorQ <arturo.amor-quiroz@polytechnique.edu>
2023-08-18 19:40:57 +02:00
Stefanie Senger 94a0b4ce17
DOC Highlight differerence between SVC/R and LinearSVC/R (#26825) 2023-08-10 18:52:57 +05:00
Rahil Parikh 399131c854
DOC update description of support_vectors_ (#26866) 2023-07-21 11:23:28 +02:00
Dimitri Papadopoulos Orfanos 1ba0783f64
MAINT Fix typos found by codespell (#26852) 2023-07-18 10:20:40 +02:00
Guillaume Lemaitre dbad41e58d
DOC add versionadded for auto in LinearSVM (#26792) 2023-07-11 22:03:05 +02:00
Adrin Jalali 42173fdb34
MNT add isort to ruff's rules (#26649) 2023-06-21 17:50:07 +02:00
Jérémie du Boisberranger 9c266cf5d6
MAINT Param validation: decorate all estimators with _fit_context (#26473) 2023-06-14 16:52:35 +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
Rahil Parikh e0041bc44a
DOC include kernel_approx ref in svm (#25266) 2023-01-03 15:03:05 +01:00
Chiara Marmo 2cce02414d
TST Add common tests for single class fitting induced by sample weights (#24140)
Co-authored-by: johayon <johayon.math@gmail.com>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2022-12-29 17:34:55 +00:00
WEN Hao b4ffba9e22
DOC fix broken citeseer links (#24800) 2022-11-02 22:37:28 +01:00
Jérémie du Boisberranger ac665ad80b
cln deprecations (#24480) 2022-09-23 14:50:58 +02:00
Thomas J. Fan 02ebf9e68f
MNT Adds dict typing hint to _parameter_constraints for mypy (#24301) 2022-08-30 11:01:10 +02:00
Stefanie Molin 329adf1da8
MAINT Parameter validation for descendants of BaseLibSVM (#24001)
Co-authored-by: Stefanie Molin <smolin4@bloomberg.net>
Co-authored-by: jeremiedbb <jeremiedbb@yahoo.fr>
2022-07-27 17:27:50 +02:00
berkecanrizai 8df5490046
MAINT validate parameter in LinearSVM (#23686)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
Co-authored-by: jeremiedbb <jeremiedbb@yahoo.fr>
2022-06-28 16:32:54 +02:00
Meekail Zain fc2c0dae0a
MNT Minor refactor of `n_support` (#23353) 2022-05-30 19:23:24 +02:00
Meekail Zain f205b9579a
ENH Deprecate `class_weight_` in regression/single class models in SVM module (#22898)
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2022-05-24 19:24:27 +02:00
Mehrdad Moradizadeh 2caa4bfee2
DOC Fixing a documentation issue on SVC parameter decision_function_shape (#23021)
* Fixing a documentation issue on SVC class

* Revising 'Fixing a documentation issue on SVC class'

* Revising 'Fixing a documentation issue on SVC class' fixing linting issue (trailing whitespace)
2022-04-05 10:55:36 +02:00
Olivier Grisel 4ca4f3bbcd
FIX make the shape of LogisticRegression(solver="liblinear") consistent with other solvers (#21998)
Co-authored-by: Julien Jerphanion <git@jjerphan.xyz>
Co-authored-by: Jérémie du Boisberranger <34657725+jeremiedbb@users.noreply.github.com>
2022-02-15 16:40:10 +01:00
mandjevant 51174b74d0
DOC svm add callable as accepted type for kernel parameter (#21675) 2021-12-23 08:49:46 -05:00
Juan Martin Loyola efdc92d0b6
[MRG] Expose `n_iter_` to BaseLibSVM (#21408)
Co-authored-by: Julien Jerphanion <git@jjerphan.xyz>
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Adrin Jalali <adrin.jalali@gmail.com>
2021-12-21 18:48:46 +01:00
Juan Martin Loyola b43f057b22
MNT Deprecate unused parameter from OneClassSVM fit method. (#20843)
Co-authored-by: glemaitre <g.lemaitre58@gmail.com>
2021-09-06 14:00:02 +02:00
genvalen 642127806a
DOC use backticks for n_samples and n_features in X docstring (#20914) 2021-09-02 13:35:03 +02:00
Thomas J. Fan 786c4e5e39
DOC Adds feature_names_in_ to docstrings (#20787) 2021-08-26 13:44:45 +02:00
genvalen 28ce1e3b0c
DOC Replace the phrase "where n_samples in the number" with "where n_samples is the number" (#20822) 2021-08-23 21:15:05 -04:00
Juan Martin Loyola 8bafbe36d8
DOC Ensures that LinearSVR passes numpydoc validation (#20743) 2021-08-16 14:49:52 +02:00
Juan Martin Loyola dcdd17d26f
DOC Ensures that SVR passes numpydoc validation (#20742) 2021-08-16 14:48:02 +02:00
Juan Martin Loyola b4b2846719
DOC Ensures that NuSVR passes numpydoc validation (#20643) 2021-08-02 10:32:59 +02:00
Juan Martin Loyola 0a7e9eedcf
DOC Ensures that NuSVC passes numpydoc validation (#20461) 2021-07-20 17:34:22 +02:00
Juan Martin Loyola 85b0b54285
DOC Ensures that OneClassSVM passes numpydoc validation (#20463)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2021-07-13 19:15:41 +02:00
Juan Martin Loyola 9c2b3b66f6
DOC Ensures that SVC passes numpydoc validation (#20457)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2021-07-13 14:42:02 +02:00
Thomas J. Fan 3ae7c76153
STY Enables black with experimental_string_processing=true (#20412) 2021-06-29 09:47:04 +02:00
Thomas J. Fan 351ace7935
STY Uses black's with target_version >= 3.7 (#20294) 2021-06-17 15:50:27 -04:00
Thomas J. Fan 82df48934e
MNT Applies black formatting to most of the code base (#18948) 2021-06-17 14:21:09 -04:00
Thomas J. Fan 9a13bdfaf1
MNT Adds black config and fixes formatting before black (#19031)
Co-authored-by: Roman Yurchak <rth.yurchak@gmail.com>
Co-authored-by: Christian Lorentzen <lorentzen.ch@gmail.com>
2021-06-12 17:14:09 +02:00
Guillaume Lemaitre 1cd282d600
DOC add n_features_in_ in the documentation (#20236) 2021-06-09 16:58:03 +02:00
Tom Dupré la Tour f6e6ad2d9e
MNT clean futurewarning for 1.0 | _deprecate_positional_args (#20002)
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2021-05-14 11:30:27 -04:00
Jérémie du Boisberranger 3bcbf85b3a
MNT Clean deprecations for 1.0 | SVM (#19322) 2021-05-11 16:42:53 -04:00
TFiFiE 1a601c0f55
DOC Remove misleading "linear kernel" statements (#19937) 2021-04-20 23:05:14 +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
Guillaume Lemaitre 2218ec4622
MNT change 0.25 to 1.0 and 0.26 to 1.1 in deprecation messages (#19005)
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2020-12-18 16:09:19 +00:00
Yutaro Ikeda e7d2a8041b
DOC Update documentation for LinearSVC loss with l1 penalty (#18391)
Co-authored-by: Juan Carlos Alfaro Jiménez <JuanCarlos.Alfaro@uclm.es>
2020-09-17 12:40:20 -04:00
Albert Villanova del Moral 647fcb1ac1
DOC Fix A to uppercase in See Also docstring section (#18332) 2020-09-04 10:35:01 -04:00
Frans Larsson f8fdd1db11
DOC Add None as valid option to random_state in svm module (#18233) 2020-08-22 17:31:45 +02:00
Nicolas Hug 1dedc7e6a8
[MRG] Prototype 4 for strict check_estimator mode (#17361) 2020-08-06 12:02:15 +02:00
Juan Carlos Alfaro Jiménez 9cd13a1fa1
FIX Change MRO for some estimators (#17837) 2020-07-05 13:52:42 +02:00
pwalchessen 89b80a6c67
DOC add missing attributes in several modules (#15521)
Co-authored-by: Patricia Walchessen <pwalchessen@gmail.com>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2020-06-18 11:18:23 +02:00
Saurabh Jain 00bc681e10
DOC shorten class links in docstring using tilde (#17470)
* added tilde to bunch of files

* Updated _kde.py

Changed array_like to array-like

* Updated _kde.py

Removed space

* updated _kde.py

Added full stop

* PEP8

Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2020-06-16 10:44:13 +02:00