Solution

ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2024/iii/paper-218/3/b/solution

Let , so . Since class counts add,
The function is concave function on . Jensen inequality therefore gives
which is precisely . Thus an axis-aligned split cannot increase the weighted empirical Gini impurity.

New to topics? Read the docs here!