Domain 02 · Features
Scenario

A student's notebook does the following, in order:

1. scaler.fit_transform(X) on the full dataset 2. train_test_split(...) 3. Fit a logistic regression on the training rows 4. Report test AUC

What is the flaw, and how does scikit-learn help you avoid it?

Choose your answer
Before you reveal — write your reasoning

Why did you pick that answer? Two or three sentences. The act of articulating it is what builds the judgment — not the click that follows.

Saved locally to your device.
Pick an option and write a sentence of reasoning to enable.