-
- Downloads
[MRG + 1] ENH add check_inverse in FunctionTransformer (#9399)
* EHN add check_inverse in FunctionTransformer * Add whats new entry and short narrative doc * Sparse support * better handle sparse data * Address andreas comments * PEP8 * Absolute tolerance default * DOC fix docstring * Remove random state and make check_inverse deterministic * FIX remove random_state from init * PEP8 * DOC motivation for the inverse * make check_inverse=True default with a warning * PEP8 * FIX get back X from check_array * Andread comments * Update whats new * remove blank line * joel s comments * no check if one of forward or inverse not provided * DOC fixes and example of filterwarnings * DOC fix warningfiltering * DOC fix merge error git
Showing
- doc/modules/preprocessing.rst 9 additions, 0 deletionsdoc/modules/preprocessing.rst
- doc/whats_new/v0.20.rst 6 additions, 1 deletiondoc/whats_new/v0.20.rst
- sklearn/preprocessing/_function_transformer.py 27 additions, 4 deletionssklearn/preprocessing/_function_transformer.py
- sklearn/preprocessing/tests/test_function_transformer.py 44 additions, 2 deletionssklearn/preprocessing/tests/test_function_transformer.py
Loading
Please register or sign in to comment