Can a decision tree achieve 100% training accuracy on a dataset with conflicting labels for identical feature values?

Quick Overview

Asks whether a decision tree can reach perfect training accuracy when identical feature rows carry different labels. Tests understanding of how splits route data, the best achievable training accuracy, and what label conflicts reveal about noise and missing features.

Can a decision tree achieve 100% training accuracy on a dataset with conflicting labels for identical feature values?

Role: Machine Learning Engineer

Category: Machine Learning

Difficulty: easy

Interview Round: Other

Can a decision tree achieve 100% training accuracy on a dataset with conflicting labels for identical feature values? Explain why or why not, and say what the best achievable training accuracy is. ```hint Follow two identical rows Take two rows with exactly the same feature values and trace them through any sequence of splits. Where do they end up? ``` ### What a Strong Answer Covers - Why rows with identical features always follow the same path and land in the same leaf - The best achievable training accuracy, with each group of duplicates assigned its majority label, and how to count the minimum errors - What conflicting labels say about the data (label noise or missing features) - How the leaf's class proportions can be read as a probability estimate ### Follow-up Questions - If the conflicting rows differ by a tiny amount in one continuous feature, what does a fully grown tree do, and why is that a problem? - How would you tell whether the conflicts come from label noise or from a feature you are not collecting? - What is the equivalent limit for a regression tree trained with squared error?

Overview: Asks whether a decision tree can reach perfect training accuracy when identical feature rows carry different labels. Tests understanding of how splits route data, the best achievable training accuracy, and what label conflicts reveal about noise and missing features.

PracHub logo
General
Nov 25, 2026
easyMachine Learning EngineerOtherMachine Learning
0
0

Can a decision tree achieve 100% training accuracy on a dataset with conflicting labels for identical feature values? Explain why or why not, and say what the best achievable training accuracy is.

What a Strong Answer Covers Guidance

  • Why rows with identical features always follow the same path and land in the same leaf
  • The best achievable training accuracy, with each group of duplicates assigned its majority label, and how to count the minimum errors
  • What conflicting labels say about the data (label noise or missing features)
  • How the leaf's class proportions can be read as a probability estimate

Follow-up Questions Guidance

  • If the conflicting rows differ by a tiny amount in one continuous feature, what does a fully grown tree do, and why is that a problem?
  • How would you tell whether the conflicts come from label noise or from a feature you are not collecting?
  • What is the equivalent limit for a regression tree trained with squared error?