Skip to content

Initialize the Titanic frame in the scikit-learn guide - #913

Open
AlexShen-Oguri wants to merge 1 commit into
huggingface:mainfrom
AlexShen-Oguri:codex/evaluate-sklearn-titanic-frame
Open

AlexShen-Oguri wants to merge 1 commit into
huggingface:mainfrom
AlexShen-Oguri:codex/evaluate-sklearn-titanic-frame

Conversation

@AlexShen-Oguri

Copy link
Copy Markdown

Summary

Initialize titanic in the alternative .frame example in the scikit-learn guide. The preceding example returns X and y directly, so running the alternative as shown raises NameError.

Validation

Ran each documented path independently through the scikit-learn preprocessing and classifier pipeline and Evaluate's accuracy metric. Both passed with a deterministic OpenML-shaped fixture. The original alternative raised NameError. The documentation build and link checks passed.

AI disclosure — OpenAI Codex helped reproduce the documentation error, make the change, and run validation.

Co-authored-by: OpenAI Codex <codex@openai.com>
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.

1 participant