The Help-Page Question

Decision Trees & Ensemble LearningMedium+20 XP+20

The Help-Page Question

A support team predicts how long each phone call will last. Its boosted model starts by predicting 20 minutes for every call. The first XGBoost tree is then grown on the residuals of six past calls, where a residual is the actual duration minus the current prediction.

CallRead the help page first?Actual minutes
Ano25
Bno28
Cno22
Dyes21
Eyes17
Fyes24

XGBoost's regularization comes from two settings, here λ=2\lambda = 2λ=2 and γ=5\gamma = 5γ=5.

A leaf's value is

w=sum of the residuals in the leafnumber of calls in the leaf+λw = \frac{\text{sum of the residuals in the leaf}}{\text{number of calls in the leaf} + \lambda}w=number of calls in the leaf+λsum of the residuals in the leaf​

A group of calls has a similarity score

S=(sum of its residuals)2number of calls+λS = \frac{(\text{sum of its residuals})^2}{\text{number of calls} + \lambda}S=number of calls+λ(sum of its residuals)2​

and a split's gain is

gain=12(Sleft+Sright−Sparent)−γ\text{gain} = \tfrac{1}{2}\big(S_{\text{left}} + S_{\text{right}} - S_{\text{parent}}\big) - \gammagain=21​(Sleft​+Sright​−Sparent​)−γ

The split is kept only if its gain is greater than 0. Otherwise the tree stays a single leaf holding all six calls.

The only candidate split is Read the help page first? After this tree, every call's prediction becomes its old prediction plus a learning rate η=0.4\eta = 0.4η=0.4 times the value of the leaf it lands in.

What is call E's new predicted duration, in minutes? Round to 2 decimal places.

Hints

Solve it to unlock the solution

Once you get it right, the reasoning behind the answer shows up here.