QUESTION 1 OF 15

How do you handle missing values without leaking test data?

Reveal the answer and explore the explanation.

01
EasyCore

How do you handle missing values without leaking test data?

Answer
Answer

Fills missing values using a specified rule learned on appropriate data.

Practical example

Replace missing income using the training median.

Reference: Further reading ↗

Last 30 min revisionHigh-yield interview Q&As