Best AI News — Updated Every 3 Hours
Story Page
← All Stories
Home→ Community→ Story
Community

Got scipy's KD-tree to handle inserts and deletes without rebuilding. Three things I learned [P]

Via r/MachineLearning
Sunday, Sep 13, 2026 · 6:54PM
Summary

I built a small library called whitetree for exact Mahalanobis nearest-neighbour search on low-dimensional sensor data that keeps arriving. The idea is old. Whiten with the Cholesky factor of the covariance so Mahalanobis becomes Euclidean, then keep several scipy cKDTrees instead of one so inserts

Continue reading the full article
Read at r/MachineLearning
www.reddit.com
Back to all stories