Data Preprocessing

How to Avoid Data Leakage in Data Preprocessing

Avoid data leaking from the test set into the training set

Image by Jonas KIM from Pixabay

Many of us are not aware of data leakage as this happens subtly.

A golden rule exists when building ML and DL models:

The same data used for training should not be used for

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Rukshan Pramoditha

Rukshan Pramoditha

1M+ Total Views | 65K+ Monthly Views | Top 50 Data Science/AI/ML Writer on Medium | Sign up: https://rukshanpramoditha.medium.com/membership