Skip to content

Function: addLearningCurve()

ts
function addLearningCurve(plot, opts): LearningCurveHandle;

Defined in: ml/charts.ts:751

Score against training-set size for train and validation, with optional cross-validation spread bands. A gap that stays wide means variance (get more data); two curves that meet low mean bias (get a bigger model).

Parameters

ParameterType
plotPlot
optsLearningCurveOptions

Returns

LearningCurveHandle

MIT licensed. WebGL2 required.