Skip to content

v0.2.0

Choose a tag to compare

@afloresep afloresep released this 05 Apr 09:44
· 76 commits to master since this release
dbefb89

Search binary Jaccard backend

The biggest change in 0.2.0: binary fingerprint search now uses USearch instead of FAISS. Pass binary 0/1 vectors with metric='jaccard' and USearch handles the kNN via HNSW, no FAISS dependency needed which was causing problems when installing with pip on Mac devices. Auto mode still uses exact search for small datasets and HNSW for large ones.

Single-cell utilities
New helpers for working with AnnData objects:

  • subset_anndata() — subset observations in one step (works with backed objects)
  • sample_obs_indices() — stratified sampling with proportional or balanced mode
  • obs_to_numeric() — best-effort numeric conversion for observation columns

New examples
Added examples for image classification (CUB-200 birds, flowers, EMNIST), word embeddings (GloVe 50k), WikiArt paintings, and NLP (newsgroups). Existing examples rewritten to use the current API.

Other changes

  • Renamed package TMAP → tmap2
  • Development status promoted to Beta
  • Added chemistry and singlecell optional dependency groups (pip install tmap2[chemistry], etc.)
  • Python ≥ 3.11 (USearch has no 3.10 Linux wheels)
  • New notebook: USearch binary Jaccard walkthrough
  • Updated docs, notebooks, and API reference