Skip to content

Interface: FeatureImportanceOptions

Defined in: ml/charts.ts:234

Properties

annotate?

ts
optional annotate?: boolean;

Defined in: ml/charts.ts:243

Label each bar with its feature name (inside the plot). Default true.


color?

ts
optional color?: string;

Defined in: ml/charts.ts:237


name?

ts
optional name?: string;

Defined in: ml/charts.ts:244


names

ts
names: string[];

Defined in: ml/charts.ts:235


renderType?

ts
optional renderType?: RenderType;

Defined in: ml/charts.ts:245


sort?

ts
optional sort?: boolean;

Defined in: ml/charts.ts:239

Sort by descending magnitude. Default true.


top?

ts
optional top?: number;

Defined in: ml/charts.ts:241

Keep only the top-N features.


values

ts
values: ArrayLike<number>;

Defined in: ml/charts.ts:236

MIT licensed. WebGL2 required.