Commit Graph

25 Commits

Author SHA1 Message Date
Christian Lorentzen 75a94f518f
ENH migrate GLMs / TweedieRegressor to linear loss (#22548)
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2022-03-28 19:20:01 -04:00
Thomas J. Fan 4ff0767087
ENH Better error message for check_scalar (#22218)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2022-02-11 16:15:30 +01:00
Reshama Shaikh 561bad9f89
DOC added intervals for parameters for 4 GLM classes (#22076) 2022-01-24 17:12:13 +01:00
Reshama Shaikh b361f37e09
MAINT Use check_scalar to validate scalar in: GeneralizedLinearRegressor (#21946)
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
Co-authored-by: Julien Jerphanion <git@jjerphan.xyz>
2022-01-24 17:11:26 +01:00
Ross Barnowski 24106c2149
DOC Fix incorrect heading underline length in docstrings (#22278) 2022-01-24 09:58:33 -05:00
EricEllwanger b4f7f86d28
DOC - Ensure that TweedieRegressor pass numpydoc validation (#21104)
Co-authored-by: frellwan <frellwan@hotmail.com>
2021-09-23 11:38:07 +02:00
Dimitri Papadopoulos Orfanos f71c031314
DOC Typos found by codespell (#21069) 2021-09-17 19:04:54 +02:00
baam 289dab9a87
DOC Ensures that GammaRegressor passes numpydoc validation (#20973)
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2021-09-08 17:33:56 +02:00
Thomas J. Fan 786c4e5e39
DOC Adds feature_names_in_ to docstrings (#20787) 2021-08-26 13:44:45 +02:00
Patric Lacouth 1fa9ce91e3
DOC Ensures that PoissonRegressor passes numpydoc validation (#20386)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2021-07-07 13:33:38 +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
Guillaume Lemaitre 1cd282d600
DOC add n_features_in_ in the documentation (#20236) 2021-06-09 16:58:03 +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
Thomas J. Fan 95fa18f278
TST Fixes docstring ordering and test_docstring_parameters (#19048) 2021-02-12 11:35:05 +01:00
Zito Relova 96dfe1e1a1
DOC Add log-link to Gamma and Poisson Regressor (#19287) 2021-01-29 08:18:04 +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 255718b4ad
introduce _safe_tags for estimator not inheriting from BaseEstimator (#18797)
Co-authored-by: Nicolas Hug <contact@nicolas-hug.com>
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2020-12-02 11:18:53 +01:00
Juan Carlos Alfaro Jiménez 5704442f80
MNT Change MRO for Generalized Linear Models (#18614) 2020-10-14 09:59:13 -04:00
Albert Villanova del Moral 7e545e1724
DOC Fix versionadded for 0.23 (#18522) 2020-10-05 10:23:32 +11:00
Atsushi Nukariya b898f25cc2
DOC Add examples to linear_model.TweedieRegressor (#17516)
* Add examples to linear_model.TweedieRegressor

* Address review
2020-06-07 10:09:53 -04:00
Atsushi Nukariya 76817211a1
DOC Add example to linear_model.GammaRegressor (#17519)
* Add examples to linear_model.GammaRegressor

* Apply suggestions from code review

Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>

Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2020-06-07 10:08:27 -04:00
Atsushi Nukariya 74b445efb7
DOC Add example to linear_model.PoissonRegressor (#17453)
* [WIP]: Add examples to linear_model.PoissonRegressor

* Address review

* Address review

* Apply suggestions from code review

Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>

* Remove numpy import

Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2020-06-06 23:43:29 -04: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