Skip to content

Interface: ShapBeeswarmOptions

Defined in: ml/charts.ts:271

Properties

colormap?

ts
optional colormap?: ColormapSpec;

Defined in: ml/charts.ts:277


featureValues?

ts
optional featureValues?: number[][];

Defined in: ml/charts.ts:276

Feature values (same shape) → point color via a diverging colormap.


name?

ts
optional name?: string;

Defined in: ml/charts.ts:281


names

ts
names: string[];

Defined in: ml/charts.ts:274


size?

ts
optional size?: number;

Defined in: ml/charts.ts:278


spread?

ts
optional spread?: number;

Defined in: ml/charts.ts:280

Vertical spread of each feature band, 0..1. Default 0.8.


values

ts
values: number[][];

Defined in: ml/charts.ts:273

SHAP values per feature: values[f] is the row across all samples.

MIT licensed. WebGL2 required.