Repository navigation
mlx-learn 0.1.7
mlx-learn 0.1.7 adds exact radius-neighbor search and dense ordinary least squares for Apple Silicon.
NearestNeighbors.radius_neighborsandradius_neighbors_graphuse a hybrid search that includes points on the radius boundary. The newRadiusNeighborsClassifierandRadiusNeighborsRegressoruse the same search. See the cold and warm comparisons with scikit-learn.LinearRegressionsupports dense, weighted and multi-output fits. The host solver handles nearly collinear designs and uses the installed scikit-learn version’s rank cutoff. Patched sparse and positive fits use scikit-learn. See the solver results and limitations.
PyPI provides Apple Silicon wheels for CPython 3.10 through 3.13 and a source distribution.
The full M4 Max performance check flagged eight kNN, logistic regression and PCA cases against stock scikit-learn. In paired measurements, 0.1.7 and 0.1.6 ran within 1.6% of each other on those eight workloads. Release benchmarks
python -m pip install --upgrade mlx-learn==0.1.7