Build a Simple Pipeline
mediumTask
Create a pipeline that first scales the data and then applies logistic regression.
Why It Matters
Pipelines prevent data leakage by ensuring preprocessing is fit only on training data. They also make your code cleaner and your workflow reproducible - essential for production ML systems where you need consistent preprocessing.
Instructions
- Examine the setup code and data
- Modify the code to solve the puzzle
- Click Run or press Ctrl+Enter to execute