Skip to content

Function: addTrainingCurves()

ts
function addTrainingCurves(plot, opts): TrainingCurvesHandle;

Defined in: ml/charts.ts:411

Training curves with TensorBoard-style EMA smoothing — a faint raw line under a bold smoothed one per series, each streamable via setData. Optionally marks the best epoch. Pair with renderType: "dynamic" for live updates.

Parameters

ParameterType
plotPlot
optsTrainingCurvesOptions

Returns

TrainingCurvesHandle

MIT licensed. WebGL2 required.