Skip to content

Function: addShapBeeswarm()

ts
function addShapBeeswarm(plot, opts): ShapBeeswarmHandle;

Defined in: ml/charts.ts:290

SHAP beeswarm — features stacked by mean |SHAP| (most important on top), each a horizontal swarm of per-sample points jittered by density and colored by the feature's value (low→high). A single scatter for one shared colorbar.

Parameters

ParameterType
plotPlot
optsShapBeeswarmOptions

Returns

ShapBeeswarmHandle

MIT licensed. WebGL2 required.