When would you choose a single decision tree over a Random Forest?
Last updated
Choose a single decision tree when transparency, simplicity, or deployment constraints matter more than the last few points of accuracy. A shallow tree is a model a human can read, audit, and implement as plain rules.
Interpretability is required:
Regulated decisions (credit, medical triage) may demand an explanation for each decision that maps to explicit rules.
Stakeholders can validate the logic directly, which builds trust and makes domain errors easy to spot.
Deployment constraints: Microsecond latency, tiny memory footprints, embedded devices, or the need to express the model as
if/elsecode or a SQLCASEstatement.The problem is genuinely simple: When a few axis-aligned rules capture the signal, a forest adds cost without adding accuracy.
Exploration and communication: As a quick baseline, for understanding segments and interactions, or as a surrogate model that explains a complex model.
Caveats to mention:
Single trees have high variance: small changes in the data can change the structure.
Constrain them (
max_depth,min_samples_leaf, cost-complexity pruning viaccp_alpha) and check their stability with cross-validation.