Skip to content

FIX Don't blow up estimator check on unpickleable attributes - #35593

Open
itamarst wants to merge 1 commit into
scikit-learn:mainfrom
itamarst:35592-unpickleable-attributes
Open

itamarst wants to merge 1 commit into
scikit-learn:mainfrom
itamarst:35592-unpickleable-attributes

Conversation

@itamarst

@itamarst itamarst commented Dec 1, 2026

Copy link
Copy Markdown
Contributor

Fixes #35592

The alternative approach is just to rip out this attribute logic. However, if the check does fail, the developer will likely need to reimplement it for debugging purposes, so seemed better to include it.

@itamarst itamarst changed the title FIX Don't blow estimator check on unpickleable attributes FIX Don't blow up estimator check on unpickleable attributes Dec 1, 2026
@itamarst
itamarst marked this pull request as ready for review December 1, 2026 19:09
@itamarst

itamarst commented Dec 1, 2026

Copy link
Copy Markdown
Contributor Author

@betatim

@betatim betatim left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

@betatim betatim added No Changelog Needed Waiting for Second Reviewer First reviewer is done, need a second one! labels Dec 2, 2026

This branch has not been deployed

No deployments
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.

check_estimator_internal_state_unchanged_by_inference: only compute per-attribute diagnostics when the check fails

2 participants