scikit-learn/sklearn/preprocessing/tests
Maxwell 8fe9e24f51
ENH PolynomialFeatures better handle degree=0 (#23370)
* raise error for PolynomialFeature when include_bias=False and degree=0

* better error message

Co-authored-by: Christian Lorentzen <lorentzen.ch@gmail.com>

* use elif

Co-authored-by: Christian Lorentzen <lorentzen.ch@gmail.com>

* address comments

* add whatsnew

* fix typo

Co-authored-by: Christian Lorentzen <lorentzen.ch@gmail.com>
2022-05-16 11:01:23 +02:00
..
__init__.py Imp splitting of test_preprocessing.py 2013-07-26 17:08:58 +02:00
test_common.py DOC Switch to gender neutral terms for sister function (#23003) 2022-03-31 14:54:23 +02:00
test_data.py TST removed pytest.warns(None) in test_data.py (#22938) 2022-03-24 22:05:10 +01:00
test_discretization.py FIX Fixes KBinsDiscretizer for encode=ordinal (#22735) 2022-03-09 11:10:50 -08:00
test_encoders.py ENH Adds encoded_missing_value to OrdinalEncoder (#21988) 2022-03-23 13:26:34 +01:00
test_function_transformer.py TST replace pytest.warns(None) in test_function_transformer.py (#22937) 2022-03-24 22:07:29 +01:00
test_label.py FIX validate in `fit` for `LabelBinarizer` estimator (#21434) 2021-11-02 11:26:02 +01:00
test_polynomial.py ENH PolynomialFeatures better handle degree=0 (#23370) 2022-05-16 11:01:23 +02:00