ktongue's picture
download
raw
260 Bytes
import count from "../count.js";
import deviation from "../deviation.js";
export default function thresholdScott(values, min, max) {
const c = count(values), d = deviation(values);
return c && d ? Math.ceil((max - min) * Math.cbrt(c) / (3.49 * d)) : 1;
}

Xet Storage Details

Size:
260 Bytes
·
Xet hash:
dd24697f52365e084883de2b0650ccc6f1535cc03b26b2ba6789c71dcd55f898

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.