Solution

ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2023/ii/paper-4/30j/a/solution

A regression tree chooses a threshold and constant predictions to minimize the squared-error criterion
where ranges over thresholds producing two nonempty groups. For a fixed split, the least-squares minimizers are the two sample means,
Thus the first split is the candidate threshold with the smallest sum of the two within-node residual sums of squares.

New to topics? Read the docs here!