DruidJS icon indicating copy to clipboard operation
DruidJS copied to clipboard

FASTMAP and UMAP .transform are not reentrant

Open Fil opened this issue 3 years ago • 0 comments

const data = [[0, 0], [1, 1], [2, 1], [2, 2], [1, 2.5]];
const dr = new druid.FASTMAP(data);
dr.transform(); // [[2.828…, 0.707…], [1.414…, 0.707…]…
dr.transform(); // [[0, 0], [0, 0]…

similar issue with UMAP, where the second transform returns "meaningless" values

Fil avatar Oct 20 '20 11:10 Fil