Skip to content

Conversation

adrinjalali
Copy link
Member

Fixes #25696

This PR removes the enforcement of sample alignment for fit_params in CalibratedClassifierCV, which makes it the same as other estimators we have.

It also removes the old test which was ensuring the enforcement, and introduces a new test to make sure non-sample-aligned data is accepted and passed along.

@adrinjalali adrinjalali requested a review from glemaitre March 10, 2023 12:39
@adrinjalali adrinjalali added Quick Review For PRs that are quick to review module:calibration labels Mar 10, 2023
Copy link
Member

@glemaitre glemaitre left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks @adrinjalali

Copy link
Member

@thomasjpfan thomasjpfan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@thomasjpfan thomasjpfan merged commit 30bf6f3 into scikit-learn:main Mar 10, 2023
@adrinjalali adrinjalali deleted the calibrate-check branch March 10, 2023 21:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
module:calibration Quick Review For PRs that are quick to review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CalibratedClassifierCV fails on lgbm fit_params
3 participants