top | item 46285983

(no title)

jmpeax | 2 months ago

> They typically need to compare many or all points to each other, leading to O(N²) complexity.

UMAP is not O(n^2) it is O(n log n).

discuss

order

romanfll|2 months ago

Thanks for your comment! You are right, Barnes-Hut implementation brings UMAP down to O(N log N). I should have been more precise in the document. The main point is that even O(N log N) could be too much if you run this in a browser.. Thanks for clarifying!

emil-lp|2 months ago

If k=50, then I'm pretty sure O(n log n) beats O(nk).