CoverTree
Python implementation of cover trees, near-drop-in replacement for scipy.spatial.kdtree
Install / Use
/learn @patvarilly/CoverTreeREADME
This is a Python implementation of cover trees, a data structure for finding nearest neighbors in a general metric space (e.g., a 3D box with periodic boundary conditions).
Cover trees are described in two papers hosted here:
http://hunch.net/~jl/projects/cover_tree/cover_tree.html
The implementation here owes a great deal to PyCoverTree, by Thomas Kollar, Nil Geisweiller, Emanuele Olivetti, which can be found here:
http://github.com/emanuele/PyCoverTree
The API follows that of Anne M. Archibald's KD-tree implementation for scipy (scipy.spatial.kdtree). Other than specifying a distance function in the constructor, this module can be used as a drop-in replacement for kdtree.
Related Skills
node-connect
345.4kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
104.6kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
345.4kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
345.4kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
