UNPKG

@isbx/webshap

Version:

Explain any ML models anywhere

5 lines (4 loc) 133 B
/** * A model that outputs a 1D vector (binary classification, regression) */ export type SHAPModel = (x: number[][]) => number[];