S StudyPico

Free diagnostic · 10 minutes

ML Validation and Data Leakage

Try a short interview case. Check whether you can spot data leakage, design a valid split, and evaluate a Python test.

Try it without an account. The diagnostic shows feedback without saving your answers.

Case · Predicting churn

A subscription service predicts churn for unseen accounts. Feature times are minute offsets from each prediction. An event and its record must both be available at or before offset 0. A prediction on day i has a training label at the end of day i + 4. The evaluation starts at the beginning of day 15.

1. Which feature can the model use?
2. Which split uses ready training labels and evaluates on unseen accounts?
3. The Python helper takes event and record times. Which pair catches a past event that arrived late and accepts a record at the cutoff?

Practice over 14 days

The free plan includes seven guided sessions, spaced review, and a fresh closed-book case.