What is the shape of the prediction surface produced by a decision tree regressor?

Quick Overview

Asks what the prediction surface of a decision tree regressor looks like across feature space. Tests how well you understand leaf predictions, axis-aligned splits, behavior outside the training range, and how tree ensembles change the picture.

What is the shape of the prediction surface produced by a decision tree regressor?

Role: Machine Learning Engineer

Category: Machine Learning

Difficulty: easy

Interview Round: Other

What is the shape of the prediction surface produced by a decision tree regressor? ```hint Start from one leaf Ask what a single leaf outputs for every point that lands in it, and what kind of test each split applies to the features. ``` ### What a Strong Answer Covers - The overall shape of the surface and how the regions are formed - Why the region boundaries are oriented the way they are - What the shape means for smooth, linear and diagonal relationships - How the tree behaves outside the range of the training data - What changes, and what does not, when many trees are combined in an ensemble ### Follow-up Questions - A target grows roughly linearly with one feature and production data will exceed the training range. How would you handle that with tree models? - Why is a surface with zero gradient almost everywhere a problem for gradient-based optimization or explanation methods? - How does the surface of a random forest compare with that of a single deep tree? - What happens to the region boundaries if you rotate the features, for example with PCA, before fitting?

Overview: Asks what the prediction surface of a decision tree regressor looks like across feature space. Tests how well you understand leaf predictions, axis-aligned splits, behavior outside the training range, and how tree ensembles change the picture.

Nov 24, 2026
easyMachine Learning EngineerOtherMachine Learning
0
0

What is the shape of the prediction surface produced by a decision tree regressor?

What a Strong Answer Covers Guidance

  • The overall shape of the surface and how the regions are formed
  • Why the region boundaries are oriented the way they are
  • What the shape means for smooth, linear and diagonal relationships
  • How the tree behaves outside the range of the training data
  • What changes, and what does not, when many trees are combined in an ensemble

Follow-up Questions Guidance

  • A target grows roughly linearly with one feature and production data will exceed the training range. How would you handle that with tree models?
  • Why is a surface with zero gradient almost everywhere a problem for gradient-based optimization or explanation methods?
  • How does the surface of a random forest compare with that of a single deep tree?
  • What happens to the region boundaries if you rotate the features, for example with PCA, before fitting?