UNPKG

webshap

Version:

Explain any ML models anywhere

46 lines (43 loc) 444 B
// We only import a small subset of Math.js functions import { ones, zeros, diag, matrix, index, range, row, column, flatten, sum, mean, transpose, add, multiply, inv, pinv, det, reshape, squeeze } from 'mathjs'; export default { ones, zeros, diag, matrix, index, range, row, column, flatten, sum, mean, transpose, add, multiply, inv, pinv, det, reshape, squeeze };