Commit Graph

51 Commits

Author SHA1 Message Date
Thomas J. Fan 5f75acdd12
MNT Bump joblib version dependency to 1.0.0 (#22365) 2022-02-09 13:47:18 +01:00
Reshama Shaikh 8d6217107f
DOC adding valid intervals for SGDClassifier class parameters (#22115)
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2022-01-13 23:29:15 +01:00
mandjevant 85836a80d5
DOC SGDOneClassSVM docs like SGD classifier and SGD regressor (#21510)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2021-10-30 16:17:01 +02:00
Guillaume Lemaitre 825388fa75
DOC use Python float instead of C double (#21489) 2021-10-28 16:12:14 +02:00
Jérémie du Boisberranger a9bf7f38d7
FIX delete feature_names_in_ when refitting on a ndarray (#21389)
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2021-10-23 12:30:05 +02:00
millawell f28264022e
DOC renew dead link to paper (#21372) 2021-10-19 15:34:26 -07:00
Dimitri Papadopoulos Orfanos 10a5468e90
DOC Remove some str/unicode leftovers from Python 2 (#21270)
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2021-10-08 13:55:15 +02:00
EricEllwanger 16ed158054
DOC Ensure SGDRegressor passes numpydoc validation (#21097)
Co-authored-by: frellwan <frellwan@hotmail.com>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2021-09-23 16:33:14 +02:00
EricEllwanger 3346c6dfa4
DOC - Ensure that SGDOneClassSVM pass numpydoc validation (#21105)
Co-authored-by: frellwan <frellwan@hotmail.com>
2021-09-23 11:37:16 +02:00
Dimitri Papadopoulos Orfanos f71c031314
DOC Typos found by codespell (#21069) 2021-09-17 19:04:54 +02:00
Thomas J. Fan 786c4e5e39
DOC Adds feature_names_in_ to docstrings (#20787) 2021-08-26 13:44:45 +02:00
Guillaume Lemaitre d44fd44f91
API fix params validation in SGD inherited models (#20683) 2021-08-16 15:35:17 +02:00
Harutaka Kawamura 8cf87a30bb
MNT Replace `@property` on predict methods with `@available_if` (#20667)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2021-08-13 18:00:21 -04:00
Frederick Robinson cf286be4f3
DOC add remark that SGDClassifier partial_fit does not implement learning rate schemes (#20441)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2021-07-21 22:29:39 +02:00
Thomas J. Fan 3ae7c76153
STY Enables black with experimental_string_processing=true (#20412) 2021-06-29 09:47:04 +02:00
Guillaume Lemaitre 96b5492dee DOC add type of self for doc consistency 2021-06-28 09:55:44 +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 8e26b0c2a2
STY Minor style changes to prepare for black (#20265) 2021-06-15 15:43:42 +02: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 1991531116
MNT Clean deprecations for 1.0 | SGD (#19320)
Co-authored-by: Olivier Grisel <olivier.grisel@gmail.com>
2021-05-11 16:38:11 -04: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
Christian Lorentzen b9d6db81ec
[MRG] ENH Consistent loss name for squared error (#19310) 2021-03-19 15:21:34 +01:00
Nicolas Hug c282d6cdb7
DOC clarify that n_iter_no_change is not just for early-stopping for SGD (#19462) 2021-02-18 16:55:00 +01:00
Thomas J. Fan 5946f8bfed
ENH Adds n_features_in_ checks to linear and svm modules (#18578)
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Olivier Grisel <olivier.grisel@gmail.com>
2021-01-02 22:42:08 +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
Thomas J. Fan 06d6f8a9f6
FIX Passes global configuration when spawning joblib jobs (#17634)
* WIP

* BUG Passes context to joblib jobs

* BUG Fix

* BUG Fix

* CLN Moves delayed into fixes

* CLN Adds linter

* REV Revert diff

* DOC Adds comment for removal

* Use a simple implementation
2020-09-21 16:59:42 +02: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
Ram Rachum 61ec6b9b79
MNT Use raise from in 19 modules (#17835) 2020-08-25 08:57:29 +02:00
Nicolas Hug 1dedc7e6a8
[MRG] Prototype 4 for strict check_estimator mode (#17361) 2020-08-06 12:02:15 +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
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
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
Nicolas Hug 76ef8b0ef0
API kwonly for utils (#17046)
* kwonly for utils

* More

* fixed some

* some more

* iwannagohomepls

* accept_sparse not kwonly anymore
2020-04-27 15:42:01 +02: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
Adrin Jalali dc0cc6e9be
[MRG] API kwonly args in impute, inspection, kernel_ridge (#16926)
, and linear_model
2020-04-19 22:58:47 +02:00
Roman Yurchak 5a4340834d
Fix mypy errors (#16726) 2020-03-30 15:41:05 +02:00
Nicolas Hug f54500b1b8
[MRG] DOC Update SGD User guide (#16296) 2020-03-20 11:58:20 +11:00
Alexandre Gramfort 60b8fb221b
TST add test of fit attributes (#16286) 2020-03-04 13:52:13 +01:00
Nicolas Hug 0f0f29a6fb
MNT refactoring of sgd utilities (#16528) 2020-03-03 15:14:15 -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
Carlos H Brandt 4913037f8f
MNT Deprecate public attributes in SGD and PassiveAggresive classes (#16261) 2020-02-12 16:09:40 +01:00
Sarat Addepalli 7898d6b801 DOC improve random_state docstrings in the linear_model module (#11900) 2020-01-08 17:09:33 +01:00
@nkish 3339d80240 DOC Improve default values in SGD documentation (#15967) 2019-12-26 14:35:52 +01:00
poorna-kumar 9a00d72ebb DOC Improve `SGDClassifier` docstrings (#15470) 2019-11-13 09:45:58 +01:00
poorna-kumar b8a4da8baa Remove support for positional arguments in SGDClassifier.set_params() (#15481)
Positional arguments are not supported by SGDClassifier's parent class BaseEstimator.set_params(), so passing them raises an error.
2019-11-02 15:47:52 -07:00