maikia
1c62652704
TST check equivalence normalize/StandardScaler and dense/sparse in linear models ( #17665 )
...
Co-authored-by: Alexandre Gramfort <alexandre.gramfort@m4x.org>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
Co-authored-by: Roman Yurchak <rth.yurchak@gmail.com>
2020-06-26 14:17:11 +02:00
Thomas J. Fan
7cc0177f8e
MNT Replaces numpy alias with builtin typse ( #17687 )
...
* MNT Replaces numpy alias with builtin typse
* STY Lint error
2020-06-24 16:51:51 +02:00
Hirofumi Suzuki
c29092d699
MNT define a parse_version function in sklearn.utils.fixes ( #17670 )
...
Co-authored-by: Loïc Estève <loic.esteve@ymail.com>
Co-authored-by: Roman Yurchak <rth.yurchak@gmail.com>
2020-06-24 13:35:49 +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
Rithvik Rao
005d55e3d8
TST Fixed tiny typo in test_logistic.py ( #17562 )
2020-06-11 09:13:23 +02: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
genvalen
e57fab1265
DOC Update default doc string values for linear_model ( #17506 )
2020-06-06 17:15:14 -04:00
マーティン
6998f621b8
DOC Enabling links to objects in docstrings of RANSACRegressor ( #17479 )
...
* Add link to DecisionTreeRegressor object in BaggingRegressor docstrings
* Add link to DecisionTreeClassifier object in BaggingClassifier class doctring
* Replace object reference with class link to LinearRegression
2020-06-06 15:19:29 -04:00
Deeksha Madan
58d74c10a6
Replaces array_like with array-like ( #17463 )
...
* replacing array_like with array-like
* Replacing array_like with array-like
2020-06-06 12:27:11 -04: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
Nicolas Hug
ac8cbb3799
[MRG] More deprecation for 0.24 ( #17142 )
...
* normalize_components in sparsePCA
* changed default strategy of Dummy to prior and removed outputs_2d ttribute
* removed usage of None to drop estimator in ensemble and behaviour param of IsolationForest
* remove support for drop=None in Voting
* removed some warning decorators
* remove feature_extraction.extract_patches
* removed VectorizerMixin and copy parameter from TFIDFVectorizer
* kernel.set_params now raises attributeerror
* removed fig from plot_partial_dependence
* removed iid parameter of search estimators
* removed brier_scorer
* raise error in split when shuffle is False and random_state is not None
* removed MultiOutputEstimator
* removed base classes of NaiveBayes
* removed drop from pipeline
* removed utils in random_projection
* removed presort and classes_ in trees
* flake8
* fixed some tests
* flake
* fixed docstring
* fixed other one
* some left
* mmmm
2020-05-20 16:04:14 -04: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
Christian Lorentzen
4b92a775db
MNT Cleaner cythn cdef loss function in SGD ( #17191 )
2020-05-12 22:40:42 +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
Lucy Liu
e2256c111d
TST Replace Boston dataset in test_coordinate_descent.py ( #17153 )
2020-05-08 19:52:34 -04:00
mathurinm
2a5c22a6aa
Delegate choice of final model to sub class in LinearModelCV ( #17099 )
...
* init
* flake8 error by vscode autoformatting
* remove returns
* get_model > get_estimator
* cosmit Tom + autoformat on save error again
2020-05-06 19:29:31 +02:00
Alexandre Gramfort
04d2e3290f
Speedup MultiTaskLasso ( #17021 )
2020-05-02 10:11:07 +02:00
Bharat Raghunathan
0c0b834d11
DOC detail fit_intercept docstring ( #17096 )
2020-05-01 08:32:01 -04:00
Jérémie du Boisberranger
1d3a553b2d
[MRG] Fix LinearModelsCV for loky backend. ( #14264 )
2020-04-28 20:57:01 +10:00
Gregory R. Lee
3deacb98c7
MNT consistently call import_array() after cimport of numpy ( #17054 )
2020-04-28 12:19:52 +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
Adrin Jalali
1ba06518c5
API make load_* args in datasets kwarg only ( #16719 )
...
* API male load_* args in datasets kwarg only
* more loaders
* pep8
* fix test_omp usage
* fix some usages
* Update sklearn/datasets/_samples_generator.py
Co-Authored-By: Thomas J Fan <thomasjpfan@gmail.com>
Co-authored-by: Nicolas Hug <contact@nicolas-hug.com>
Co-authored-by: Thomas J Fan <thomasjpfan@gmail.com>
2020-04-27 14:41:35 -04: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
Nicolas Hug
946fddec7b
BUG Fix instability issue of ARDRegression (with speedup) ( #16849 )
2020-04-23 10:19:45 -04:00
Nicolas Hug
089c8a17a1
[MRG] MNT requires_y tag with y=None validation ( #16622 )
2020-04-22 22:41:45 +10: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
Angela Ambroz
abfb6fd11e
[MRG] Add jitter to LassoLars ( #15179 )
...
* Adding jitter to LassoLars fit
* CircleCI fail
* MR comments
* Jitter becomes default, added test based on issue description
* flake8 fixes
* Removing unexpected cython files
* Better coverage
* PR comments
* PR comments
* PR comments
* PR comments
* PR comments
* Linting
* Apply suggestions from code review
* addressed comments
* added whatnew entry
* test both estimators
* update whatsnew
* removed random_state for lassolarsIC
Co-authored-by: Nicolas Hug <contact@nicolas-hug.com>
2020-04-17 17:14:21 +02:00
Christian Lorentzen
a2ccc330bf
STY PEP8 fix E731 in linear_model/_logistic.py ( #16786 )
2020-03-30 17:49:40 +02:00
Roman Yurchak
5a4340834d
Fix mypy errors ( #16726 )
2020-03-30 15:41:05 +02:00
Thomas J Fan
fa1ea2ab6f
ENH Adds support for pandas dataframe with only sparse arrays ( #16728 )
2020-03-27 12:09:23 +01:00
Roman Yurchak
75d3f29e72
MAINT Remove outdated numpy and scipy backports ( #16725 )
...
* Remove unecessary numpy & scipy backports
* More fixes
* Remove unused imports
2020-03-20 13:57:18 +01:00
Nicolas Hug
f54500b1b8
[MRG] DOC Update SGD User guide ( #16296 )
2020-03-20 11:58:20 +11:00
Roman Yurchak
1cbe59ee06
CI Check for unused imports when linting ( #16678 )
...
* Check for missing imports in linting
* Exclude externals
* Remove unused imports
2020-03-12 12:56:35 +01:00
Alex Henrie
438bb3a438
MNT Remove unused imports ( #16665 )
2020-03-11 10:01:51 +11: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
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
Christian Lorentzen
21686b7147
ENH Sample weights for ElasticNet ( #15436 )
2020-02-16 14:48:01 +01:00
Roman Feldbauer
9b39c4c4d2
TST Fix unreachable code in tests ( #16110 )
2020-02-16 14:41:26 +01:00
Carlos H Brandt
4913037f8f
MNT Deprecate public attributes in SGD and PassiveAggresive classes ( #16261 )
2020-02-12 16:09:40 +01:00
Hirofumi Suzuki
91badfab66
DOC Format docstrings in _coordinate_descent.py ( #16285 )
2020-01-30 16:25:18 -05:00
Nicolas Hug
e61fc6cdd1
DOC Fix alpha param of ridge estimators ( #16288 )
2020-01-29 13:32:16 -05:00
judithabk6
df64d1e5a5
DOC ensure all attributes are documented for PassiveAggressiveClassifier ( #16272 )
2020-01-29 15:06:59 +01:00
Rushabh Vasani
c2ede74db0
ENH add warning for pandas sparse Dataframe in check_array ( #16021 )
2020-01-27 12:30:55 +01:00