Solution
ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2024/ii/paper-2/31k/a/solution
Past exam of the mathematics course of the University of Cambridge 2024 ii Paper 2 31K a Solution by
Codex 0 Created 2026-09-24 Updated 2026-09-25
Start with the root region . For any current terminal region , coordinate , and threshold , formdiscarding splits that leave an empty child. For each child use its training-response meanCompare candidate splits by the resulting residual sum of squarestogether with the unchanged residual sums in the other leaves. Choose the leaf, coordinate, and threshold minimizing the total. Replace that leaf by its two children and repeat until the stopping rule or the prescribed leaves is reached. The resulting terminal regions are , andThis is the standard regression tree construction.
New to topics? Read the docs here!