Commit Graph

54 Commits

Author SHA1 Message Date
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
Roman Yurchak 8feb04524c
Common check for sample weight invariance with removed samples (#17176)
Co-Authored-By: Nicolas Hug <contact@nicolas-hug.com>
2020-06-04 00:30:01 +02:00
Roman Yurchak 818e16a1ea Revert "Common check for sample weight invariance with removed samples (#16507)"
This reverts commit 77279d6b3e.
2020-05-10 17:05:01 +02:00
Roman Yurchak 77279d6b3e
Common check for sample weight invariance with removed samples (#16507)
Co-Authored-By: Nicolas Hug <contact@nicolas-hug.com>
2020-05-10 15:41:53 +02:00
brigi dbc35934a6
DOC Version added and changed labels added for v0.18 (#wimlds) (#16222)
* Versionlabels added to v0.18 (#wimlds)

* documentation issues: label changed and added for version 0.18

* fix intends and shorten description

Co-authored-by: Hannah <32333241+hhnnhh@users.noreply.github.com>
Co-authored-by: Brigitte@home <unger@nue.tu-berlin.de>
2020-04-27 18:43:47 -04:00
Ekaterina Borovikova 4755ae76d2
DOC Add versionchanged and versionadded for v0.20 (#16199)
Co-Authored-By: Adrin Jalali <adrin.jalali@gmail.com>
Co-Authored-By: Chiara Marmo <cmarmo@users.noreply.github.com>
Co-Authored-By: Nicolas Hug <contact@nicolas-hug.com>
2020-04-26 09:29:36 -04:00
Joel Nothman 88ba943684
MNT Remove redundant doctest ELLIPSIS annotations (#16992) 2020-04-23 13:29:15 -04:00
Thomas J Fan 8010cadf6c
API Deprecate positional arguments in svm module (#16973)
* API Keyword only for svm

* BUG Fix

* CLN Address comments
2020-04-23 10:03:51 +02:00
Nicolas Hug 2d03d781a9
MNT simplify xfail check marking logic (#16949)
Co-Authored-By: Roman Yurchak <rth.yurchak@gmail.com>
2020-04-17 13:44:09 -04:00
Nicolas Hug e3e9137811
DOC Updates to SVM User Guide (#16769)
* WIP

* WIP

* Updates to the math section

* so apparently crammer-singer isn't consistent (http://www.cs.columbia.edu/\~rocco/papers/icml13.html)

* reorganized example links and described pictures

* Added references

* more refs

* Added scaler to docstring examples

* doc about dual coefs

* WIP

* note about shrinking and gram matrix

* ellipsis

* ellipsis again

* maybe fixed doc issue

* details for regression

* training error -> margin error

* Apply suggestions from code review

Co-Authored-By: Adrin Jalali <adrin.jalali@gmail.com>

* put back links + addressed rest of comments

* small detail about margin boundaries and SVs

* Addressed comments from Thomas and Adrin

Co-authored-by: Adrin Jalali <adrin.jalali@gmail.com>
2020-04-06 15:06:12 +02:00
Roman Yurchak 5a4340834d
Fix mypy errors (#16726) 2020-03-30 15:41:05 +02:00
Alex Henrie 438bb3a438
MNT Remove unused imports (#16665) 2020-03-11 10:01:51 +11:00
jumon eb540f35f8
DOC Rename clf to regr in SVR examples (#16598) 2020-02-29 12:38:45 -05:00
Nicolas Hug d205638475
MNT Introduction of n_features_in_ attr with _validate_data mtd (#16112) 2020-02-29 09:05:11 -05:00
Roman Yurchak 1c1f273d10
ENH XFAIL in common tests with estimator tags (#16502) 2020-02-20 22:28:54 +01:00
Pierre Delanoue 2eff916be9
DOC improve random state descriptions for SVMs (#16316) 2020-01-31 16:48:17 +01:00
Thomas J Fan 8ea05cbd41 [MRG] API Deprecates probA_ and probB_ in OneClassSVM and svm.SVR (#15558) 2020-01-28 19:47:07 +01:00
Nicolas Hug 4953ec36a4 MNT remove more deprecations for 0.23 (#15860)
* removed warn_on_dtype

* removed parameters to check_is_fitted

* all_estimators parameters

* deprecated n_components attribute in AgglomerativeClustering

* change default of base.score for multioutput

* removed lots of useless decorators?

* changed default of copy in quantil_transform

* removed six.py

* nmf default value of init param

* raise error instead of warning in LinearDiscriminantAnalysis

* removed label param in hamming_loss

* updated method parameter of power_transform

* pep8

* changed default value of min_impurity_split

* removed assert_false and assert_true

* added and fixed versionchanged directives

* reset min_impurity_split default to None

* fixed LDA issue

* fixed some test

* more docstrings updates

* set min_impurity_decrease for test to pass

* upate docstring example

* fixed doctest

* removed multiouput.score since it's now consistent with the default

* deprecate least_angle parameter combination

* remove support for l1 or l2 loss in svm

* removed linear_assignment.py

* add test
2020-01-13 13:43:50 +01:00
Titus Christian afe6e513a4 DOC improve svm module docstring per guidlines (#16060) 2020-01-09 19:02:28 +01:00
LalliAcqua 24a3150474 DOC Docstrings validation in LinearSVC (#15496) 2019-11-04 17:59:36 +01:00
Natasha Borders 3ca653af12 DOC adding versionadded labels to several estimators (#15476) 2019-11-04 18:25:24 +11:00