Skip to content

fix: Reduce K-means memory from O(n·k·d) to O(n·k) and fix empty cluster NaN#333

Merged
josevalim merged 3 commits into
elixir-nx:mainfrom
georgeguimaraes:fix/kmeans-memory-optimization
Apr 27, 2026
Merged

fix: Reduce K-means memory from O(n·k·d) to O(n·k) and fix empty cluster NaN#333
josevalim merged 3 commits into
elixir-nx:mainfrom
georgeguimaraes:fix/kmeans-memory-optimization

fix: restore inf for NaN distances in k-means++ initialization

44408ab
Select commit
Loading
Failed to load commit list.
Sign in for the full log view

Annotations

2 warnings
main (1.15.8, 26.1)
succeeded Apr 27, 2026 in 2m 3s