Ricardo Peres
8c59089a6d
DOC Add description for the meaning of `None` for check_X_y ( #25997 )
...
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2023-08-12 00:16:11 +02:00
Adrin Jalali
42173fdb34
MNT add isort to ruff's rules ( #26649 )
2023-06-21 17:50:07 +02:00
Adrin Jalali
62671a704f
FEAT SLEP006: metadata routing infrastructure ( #24027 )
...
Co-authored-by: Christian Lorentzen <lorentzen.ch@gmail.com>
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
Co-authored-by: Benjamin Bossan <BenjaminBossan@users.noreply.github.com>
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
Co-authored-by: Omar Salman <omar.salman@arbisoft.com>
2023-06-02 16:43:31 -04:00
Guillaume Lemaitre
01b9050b69
MAINT introduce _get_response_values and _check_response_methods ( #23073 )
...
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
Co-authored-by: Jérémie du Boisberranger <34657725+jeremiedbb@users.noreply.github.com>
2023-03-24 18:15:08 +01:00
Benjamin Bossan
a3e0d4d79f
ENH make CalibratedClassifierCV accept on fit_params ( #18170 )
...
Co-authored-by: Julien Jerphanion <git@jjerphan.xyz>
Co-authored-by: BenjaminBossan <b.bossan@gmail.com>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2021-12-17 10:35:50 +01:00
genvalen
642127806a
DOC use backticks for n_samples and n_features in X docstring ( #20914 )
2021-09-02 13:35:03 +02:00
Joris Van den Bossche
6ab86fb34b
FIX Use take in safe_indexing for pandas to avoid SettingWithCopyWarning ( #20673 )
...
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
2021-08-09 12:00:45 +02:00
Thomas J. Fan
82df48934e
MNT Applies black formatting to most of the code base ( #18948 )
2021-06-17 14:21:09 -04:00
N. Haiat
a27add7e0b
DOC Fix documentation of default values in sklearn.utils._mocking.py ( #18351 )
...
* DOC Fix documentation of default values
* Update sklearn/utils/_mocking.py
Co-authored-by: Juan Carlos Alfaro Jiménez <JuanCarlos.Alfaro@uclm.es>
* Update sklearn/utils/_mocking.py
Co-authored-by: Juan Carlos Alfaro Jiménez <JuanCarlos.Alfaro@uclm.es>
* DOC Fix documentation of default values in sklearn.feature_extraction.text.py
* refixing DOC _mocking.py linting
* DOC refix delete unwanted commit
Co-authored-by: Juan Carlos Alfaro Jiménez <JuanCarlos.Alfaro@uclm.es>
2020-09-07 17:31:18 +02:00
willpeppo
ad788aa476
MNT code hygiene on _mocking.py ( #17894 )
2020-07-12 16:06:53 -04: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
Benjamin Bossan
76df39f703
ENH allow to specify which methods should run a check in CheckingClassifier ( #15230 )
...
Co-authored-by: BenjaminBossan <b.bossan@gmail.com>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2020-05-26 11:37:12 +02:00
Guillaume Lemaitre
f2e873f41e
FIX/ENH CheckingClassifier support parameters and sparse matrices ( #17259 )
2020-05-18 11:36:27 -04:00
wderose
f1acf83468
FIX Pass sample_weight when predicting on stacked folds ( #16539 )
2020-03-06 16:51:32 -05:00
Alexandre Gramfort
60b8fb221b
TST add test of fit attributes ( #16286 )
2020-03-04 13:52:13 +01:00
Roman Feldbauer
9b39c4c4d2
TST Fix unreachable code in tests ( #16110 )
2020-02-16 14:41:26 +01:00
judithabk6
05476a1d38
TST Add test for documentation of the classes_ attribute ( #16277 )
...
Co-authored-by: Alexandre Gramfort <alexandre.gramfort@m4x.org>
2020-01-31 14:12:43 +01:00
Guillaume Lemaitre
1888a96908
FIX ignore null weight when computing estimator error in AdaBoostRegressor ( #14294 )
...
* FIX normalize with max of samples with non-null weights in AdaBoostRegressor
* iter
* update PR number
* PEP8
* iter
* iter
* ignore line coverage
* FIX use _check_sample_weight to validate sample_weight
* address jeremie comments
* fix inplace/mask copy operation
* add default value for wrapper
* PEP8
* Apply suggestions from code review
Co-Authored-By: jeremiedbb <34657725+jeremiedbb@users.noreply.github.com>
* apply jeremie comments
* increase coverage
* PEP8
* address adrin comments
* change import for mocking
* fix
* PEP8
* address comment adrin
2019-10-25 09:41:05 +02:00
Adrin Jalali
0eebade264
DOC docstring (shape= -> of shape) ( #14640 )
2019-10-02 20:54:32 -04:00
Thomas J Fan
dba753a200
API Auto generates deprecation for sklearn.utils.mocking ( #15071 )
2019-10-03 00:09:28 +10:00