import { silhouette } from "https://deno.land/x/simplestatistics@v7.8.3/index.js";
Calculate the silhouette values for clustered data.
Examples
silhouette([[0.25], [0.75]], [0, 0]); // => [1.0, 1.0]
silhouette([[0.25], [0.75]], [0, 0]); // => [1.0, 1.0]