50 minutes. Self-marked against the rubric. 15 marks. In the full course this counts toward the labs and cases share (15% of the course grade). Write your answers in the boxes, then open the model answer and tick each mark you earned honestly. Nothing is sent or stored.
Scenario (invented)
A delivery firm (invented) predicts delivery times in minutes for four parcels.
| Parcel | Actual | Model | Baseline (mean of actuals) |
|---|---|---|---|
| P1 | 30 | 32 | 35 |
| P2 | 40 | 45 | 35 |
| P3 | 20 | 18 | 35 |
| P4 | 50 | 58 | 35 |
The firm also has a model that predicts whether 20 customers will renew: 16 did renew, and the model was right for 17 of the 20.
Tasks
Task 1 (4 marks)
Give the error for each parcel and the model's MAE.
Private: nothing you type here is sent or stored.
Task 2 (4 marks)
Find the baseline MAE and the improvement of the model over it.
Private: nothing you type here is sent or stored.
Task 3 (3 marks)
Find the model's RMSE to one decimal place and say why it is larger than the MAE.
Private: nothing you type here is sent or stored.
Task 4 (4 marks)
Compute the model's accuracy and the majority baseline, and say whether the model is clearly worth using.
Private: nothing you type here is sent or stored.
Rubric and model answer
Task 1: errors and MAE (4 marks)
Model: errors +2, +5, −2, +8; absolute errors 2, 5, 2, 8; total 17; MAE = 17 ÷ 4 = 4.25 minutes.
Task 2: baseline and improvement (4 marks)
Model: baseline absolute errors 5, 5, 15, 15; total 40; MAE 10. Improvement = (10 − 4.25) ÷ 10 = 57.5%.
Task 3: RMSE (3 marks)
Model: squares 4, 25, 4, 64 total 97; mean 24.25; root about 4.9. It is larger than 4.25 because squaring makes the error of 8 count more.
Task 4: judge the classifier (4 marks)
Model: accuracy 17 ÷ 20 = 85%; majority baseline 16 ÷ 20 = 80%; only five points better, so it is not clearly worth it without more evidence or a low cost.
Marks so far: 0 of 15