AI dictionary · Machine learning

What is Data leakage?Data leakage kya hai?

Also called: Leakage

Data leakage: When information that won't exist at prediction time sneaks into training, making test scores falsely high.Jab prediction ke time na hone wali information training mein ghus jaati hai, aur test scores jhooth mein ooche aate hain.

🧸 Think of it likeAise samjho

Like a student who saw the answer key before the exam: the score looks amazing, but it says nothing about what they really know.Jaise student ne exam se pehle answer key dekh li: score shaandaar dikhta hai, par asli samajh ke baare mein kuch nahi batata.

📘 ExplainedVistaar se

Examples: using 'refund issued' to predict fraud, scaling with statistics from the whole dataset before splitting, or the same customer in train and test. The model looks brilliant in testing and fails in production. Ask for every feature: would I know this at the moment of prediction?Examples: fraud predict karne ke liye 'refund issued' use karna, split se pehle poore dataset ke statistics se scaling, ya same customer train aur test dono mein. Model testing mein shaandaar dikhta hai aur production mein fail. Har feature ke liye poochho: prediction ke moment pe kya yeh mujhe pata hoga?

💡 Real exampleAsli example

A churn model scoring 0.99 AUC because it used 'account closed date' as a feature.'account closed date' ko feature banane se 0.99 AUC dene wala churn model.

📖 Learn it step by stepStep by step seekho

🔗 Related termsJude hue shabd

Questions people ask

What is Data leakage?

When information that won't exist at prediction time sneaks into training, making test scores falsely high. Examples: using 'refund issued' to predict fraud, scaling with statistics from the whole dataset before splitting, or the same customer in train and test. The model looks brilliant in testing and fails in production. Ask for every feature: would I know this at the moment of prediction?

How can I understand Data leakage in simple words?

Like a student who saw the answer key before the exam: the score looks amazing, but it says nothing about what they really know.

What is an example of Data leakage?

A churn model scoring 0.99 AUC because it used 'account closed date' as a feature.

Data leakage ka matlab kya hai?

Jab prediction ke time na hone wali information training mein ghus jaati hai, aur test scores jhooth mein ooche aate hain. Jaise student ne exam se pehle answer key dekh li: score shaandaar dikhta hai, par asli samajh ke baare mein kuch nahi batata.

See Data leakage in the full A to Z dictionary · Start a free AI course