What is the difference between MSE and MAE criteria when splitting a regression tree?

Quick Overview

Compares the squared-error and absolute-error criteria used to choose splits in a regression tree. Tests what each impurity measures, what each leaf predicts, how outliers in the target change the chosen splits, and why one criterion is much slower to compute.

What is the difference between MSE and MAE criteria when splitting a regression tree?

Role: Machine Learning Engineer

Category: Machine Learning

Difficulty: medium

Interview Round: Other

What is the difference between MSE and MAE criteria when splitting a regression tree? ```hint Best constant per node For each criterion, ask which single value minimizes the error inside a node, and how cheaply that value can be updated as a candidate threshold slides across the sorted samples. ``` ```hint Try an outlier Picture a node whose targets are mostly small with one extreme value, and work out which split each criterion would prefer. ``` ### What a Strong Answer Covers - The impurity each criterion measures and the leaf prediction each one implies - How each responds to outliers and heavy-tailed targets, both in the split it chooses and in the leaf values - Why the cost of scanning candidate thresholds differs between the two - When to choose each one, and the common alternatives such as transforming the target or using a Huber loss ### Follow-up Questions - How does gradient boosting with an absolute-error loss target the median without paying for MAE splitting? - Would the MAE criterion help with outliers in the input features? - Your evaluation metric is MAE but the dataset has tens of millions of rows. What would you train?

Overview: Compares the squared-error and absolute-error criteria used to choose splits in a regression tree. Tests what each impurity measures, what each leaf predicts, how outliers in the target change the chosen splits, and why one criterion is much slower to compute.

PracHub logo
General
Nov 24, 2026
mediumMachine Learning EngineerOtherMachine Learning
0
0

What is the difference between MSE and MAE criteria when splitting a regression tree?

What a Strong Answer Covers Guidance

  • The impurity each criterion measures and the leaf prediction each one implies
  • How each responds to outliers and heavy-tailed targets, both in the split it chooses and in the leaf values
  • Why the cost of scanning candidate thresholds differs between the two
  • When to choose each one, and the common alternatives such as transforming the target or using a Huber loss

Follow-up Questions Guidance

  • How does gradient boosting with an absolute-error loss target the median without paying for MAE splitting?
  • Would the MAE criterion help with outliers in the input features?
  • Your evaluation metric is MAE but the dataset has tens of millions of rows. What would you train?