Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@emassoulie
Copy link
Contributor

Bug Fix Pull Request

Description

Fixes #1773, giving a more verbose error message when the cross_validate function receives an incorrect input.

How Has This Been Tested?

Running cross_validate with expected and unexpected types.

Steps to Reproduce (original bug)

Run skrub.cross_validate with a data_op type as input rather than a learner.

Additional Notes

@emassoulie emassoulie self-assigned this Dec 10, 2025
Copy link
Member

@jeromedockes jeromedockes left a comment

Choose a reason for hiding this comment

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

Looks great! thank you @emassoulie and welcome to skrub :)

Copy link
Member

@rcap107 rcap107 left a comment

Choose a reason for hiding this comment

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

Looks good to me, thanks a lot @emassoulie

@rcap107 rcap107 merged commit 5548808 into skrub-data:main Dec 11, 2025
29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improve error message when a data op is passed to skrub.cross_validate rather than a learner or search

3 participants