Jérémie du Boisberranger
33e4843e88
MNT remaining clean up for 1.1 ( #22643 )
2022-03-02 14:01:51 +01:00
Olivier Grisel
2571cb2989
Improve validation messages with infinite data ( #21219 )
...
* Improve validation messages with infinite data
* Extend and fix validation tests
* Test and fix extended error message
* data_name => input_name
* Mention estimators that natively support missing values
* More informative error message
* cosmetic
* typo
* Fix broken tests
* Fix test_knn
* Add changelog entry
* Fix broken test for param search models
* Missing input names
* Allow Y and y in estimator checks
* Add missing input names
* Fix input_name for FunctionTransformer
* More missing input names
* Update test
* More test fixes on scores
* Simplify message to avoid to make generic fallback meaningful
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
* More informative estimator checks failure messages
* Make sure the estimator name is passed correctly in _validate_data
* Simplify calls to _validate_data
* Handle estimator name in private _check_y helper
* More specific error message
* Add estimator to check_X_params and check_y_params
* Add .. versionadded flags in public docstrings
* Update changelog
* Improve _validate_data's docstring
* Typo in doc/whats_new/v1.1.rst
* Make _check_estimator_name return None if estimator == None
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
* check_params dict updates with style
* Increase test coverage
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
2021-10-29 15:59:57 +02:00
Juan Martin Loyola
f1b010e796
DOC Ensures that TransformedTargetRegressor passes numpydoc validation ( #21261 )
...
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2021-10-18 14:03:30 +02:00
genvalen
642127806a
DOC use backticks for n_samples and n_features in X docstring ( #20914 )
2021-09-02 13:35:03 +02:00
Thomas J. Fan
c5d9939203
ENH Adds feature_names_in_ to TransformedTargetRegressor ( #20868 )
2021-08-30 09:44:46 +02:00
ricardojnf
3c732b9f6a
ENH Adds predict_params to TransformedTargetRegressor ( #19244 )
...
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2021-08-09 14:11:24 +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
Jérémie du Boisberranger
7f35724cfb
TST Add TransformedTargetRegressor to test_meta_estimators_delegate_data_validation ( #20175 )
...
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2021-06-03 13:29:01 +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
Oras Phongpanangam
3ff1267a7b
FIX allows TransformedTargetRegressor to take nD target ( #18898 )
...
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2021-04-09 14:19:04 -04: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
73813ea180
API make __init__ params in compose module kw-only ( #16542 )
...
* API make __init__ params in compose module kw-only
* pep8
* move * to after
2020-03-13 10:38:54 -04:00
Nicolas Hug
d205638475
MNT Introduction of n_features_in_ attr with _validate_data mtd ( #16112 )
2020-02-29 09:05:11 -05:00
lopusz
93776b9f52
DOC improve docstring following doc guide in module compose ( #16416 )
2020-02-20 15:58:25 +01:00
Adrin Jalali
0eebade264
DOC docstring (shape= -> of shape) ( #14640 )
2019-10-02 20:54:32 -04:00
Nicolas Hug
96c988cdde
MNT Make safe_indexing private ( #15104 )
2019-10-02 11:47:46 -04:00
Thomas Edwards
a8f2c98de7
DOC Improved the docstring of TransformedTargetRegressor ( #14916 )
2019-09-11 16:28:22 +02:00
Miguel Cabrera
a1f514f2e1
[MGR] TransformedTargetRegressor passes fit_params to regressor ( #14890 )
2019-09-06 12:26:04 +02:00
Andreas Mueller
03ea20db0f
Fix mixin inheritance order, allow overwriting tags ( #14884 )
2019-09-05 10:13:30 +02:00
Andreas Mueller
92af3dabbb
MAINT simplify check_is_fitted to use any fitted attributes ( #14545 )
2019-08-13 22:09:07 +02:00
Thomas J Fan
2e7e06b78f
[MRG] Doctest with print change only adjusts default options for doctest ( #13991 )
2019-06-01 10:53:45 +02:00
Andreas Mueller
ab2f539a32
API: Estimator tags ( #8022 )
2019-02-23 22:54:41 +01:00
Guillaume Lemaitre
c5075f5e46
MNT do not call fit twice in TransformedTargetetRegressor ( #11641 )
2019-02-03 10:07:44 +08:00
Joel Nothman
14764061f8
[MRG] DOC fix some sphinx warnings ( #11241 )
2018-06-21 20:43:21 +10:00
Joel Nothman
90a2c57951
EXA Move examples to examples/compose ( #11216 )
2018-06-11 15:06:21 +08:00
James Bourbeau
580a150b96
DOC Fixes code formatting in TransformedTargetRegressor docstring ( #10950 )
2018-04-12 08:44:08 +08:00
Loïc Estève
20661b5018
TST: only run doctests on numpy 1.14. ( #10835 )
...
Fix doctests due to numpy 1.14 formatting changes.
2018-03-27 07:44:40 +02:00
Hanmin Qin
95c76318a6
DOC Fix typo in TransformedTargetRegressor
2018-03-16 23:13:55 +08:00
Joel Nothman
b43fce5a49
MNT Add sklearn.compose and move TransformedTargetRegressor to it ( #10719 )
2018-03-16 21:27:03 +08:00