Skip to content

FIX PowerTransformer: check_array shall be used for inverse_transform, not _check_input. #31948

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

ThibaultDECO
Copy link

@ThibaultDECO ThibaultDECO commented Aug 14, 2025

PowerTransformer: check_array shall be used for inverse_transform, not _check_input with validate_data.

Reference Issues/PRs

Fixes issue #31947

…t _check_input. Fixes issue scikit-learn#31947

PowerTransformer: check_array shall be used for inverse_transform, not _check_input. Fixes issue scikit-learn#31947
Copy link

github-actions bot commented Aug 14, 2025

✔️ Linting Passed

All linting checks passed. Your pull request is in excellent shape! ☀️

Generated for commit: 7a390c6. Link to the linter CI: here

Keeping check_shape
Correct error message
Line too long
Formatting
@ThibaultDECO ThibaultDECO changed the title PowerTransformer: check_array shall be used for inverse_transform, not _check_input. FIX PowerTransformer: check_array shall be used for inverse_transform, not _check_input. Aug 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant