Function: addResiduals()
ts
function addResiduals(plot, opts): ResidualsHandle;Defined in: ml/charts.ts:644
Residuals (actual − predicted) against the prediction or the sample order, with a zero line. Structure here — a curve, a fan, a drift — means the model is missing something, which no single score will tell you.
Parameters
| Parameter | Type |
|---|---|
plot | Plot |
opts | ResidualsOptions |