Skip to content

mlx-learn 0.1.8

Choose a tag to compare

@tabulai tabulai released this 01 Dec 15:00
· 30 commits to main since this release
2c56917

EMeans and OMeans now accept revival="cost". Every five mini-batches, this option moves centroids that contribute little to the fit and splits elongated clusters along their longest axis. Both estimators default to revival="mass". Models saved with 0.1.7 retain that setting when loaded.

Across five embedding datasets at 16,384 centroids on an M4 Max, cost-based revival lowered held-out mean squared error in 45 of 45 EMeans comparisons and 55 of 60 OMeans comparisons. The five OMeans exceptions were on FB-SSNPP below two epochs. One-epoch EMeans fits took 6–11% longer on M4 Max and M5 Ultra. One-epoch OMeans fits took 14–18% longer on M5 Ultra. EMeans measurements · OMeans measurements

Apple Silicon wheels are available for CPython 3.10–3.13, along with a source distribution.

python -m pip install --upgrade mlx-learn==0.1.8

PyPI package · Full changelog