Commit Graph

16 Commits

Author SHA1 Message Date
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