promptdojo_

Regression metrics and residuals — step 6 of 7

Write the residual autopsy: compute residuals (actual - predicted), print the list, the mean residual with a forced sign (:+.1f), the positive count as "positive: X/N", and a verdict — "under-prediction" when at least 5 of 6 residuals are positive AND the mean is positive, else "no clear bias". Every prediction here is a little low; the mean metrics would never say so.

full-screen editor opens — close anytime to keep reading.