UNPKG

@ai-on-browser/data-analysis-models

Version:

Data analysis model package without any dependencies

14 lines (13 loc) 334 B
/** * Minimum error thresholding / Kittler-Illingworth Thresholding */ export default class KittlerIllingworthThresholding { /** * Returns thresholded values. * @param {number[]} x Training data * @returns {(0 | 1)[]} Predicted values */ predict(x: number[]): (0 | 1)[]; _cand: any[]; _t: any; }