Skip to content

Function: addDecisionBoundary()

ts
function addDecisionBoundary(plot, opts): DecisionBoundaryHandle;

Defined in: ml/charts.ts:220

A decision-boundary field (heatmap) with the training points scattered on top.

Parameters

ParameterType
plotPlot
optsDecisionBoundaryOptions

Returns

DecisionBoundaryHandle

MIT licensed. WebGL2 required.