Skip to content

Conversation

@FrancoisPgm
Copy link
Contributor

Reference Issues/PRs

Related to the ongoing discussion on managing RandomState objects : #26148

What does this implement/fix? Explain your changes.

The documentation's description of what happens when cloning an estimator initialized with a RandomState instance was not reflecting the current behaviour, stating the RandomState object is shared between clones while it is actually deepcopied. I updated this description to match the current behaviour, updating also the recommendations for CV and adding a warning to indicate that this is not the intended behaviour and it is worked on by maintainers.

AI usage disclosure

I used AI assistance for:

  • Code generation (e.g., when writing an implementation or fixing a bug)
  • Test/benchmark generation
  • Documentation (including examples)
  • Research and understanding

Any other comments?

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