Skip to content
ExamSpine

Answer it

P1 a4 tree depth

3 marksYou mark it yourself against the marking points

A student trains a decision tree to predict whether a library book will be returned late. She tries three values for the maximum depth of the tree and measures the accuracy each time, on the training data and on separate test data.

Maximum depthAccuracy on training dataAccuracy on test data
271%70%
686%84%
20100%68%

(a) State whether the maximum depth is a hyperparameter or a learned parameter, and give a reason. [1]

(b) Explain which maximum depth causes overfitting, and how the table shows it. [2]

[3]