~/talk

Speeding up search with locality sensitive hashing

Talkat EuroPython 2015 · 2015-07-20..07-26· [python, machine-learning]
links:none on file
slides:none on file

Claims that locality sensitive hashing via random projection forests gives a practical, deployable approximate nearest‑neighbor index, implemented in Python and paired with Postgres for final filtering and exact distance checks. Tools tested include annoy, lsh_forest, FLANN and an in‑house RP forest; tradeoffs reported are about 100× speedup at roughly 60% precision (6/10 true neighbors), supports incremental adds and avoids keeping all vectors in memory, and ships as a small service that returns candidate IDs for Postgres to validate.

AI-written summary · about

  1. 0:00Introduction
  2. 1:29Image search
  3. 4:27Similar images
  4. 5:08Collaborative filtering
  5. 6:14Data scientists
  6. 7:36How to make it work
  7. 8:28Marginal space
  8. 9:00Random line
  9. 10:58Dimensionality
  10. 15:16Questions
  11. 15:33How to generalize
  12. 16:29Python packages
  13. 18:28RPForest
  14. 18:41Speed
  15. 18:58How we use it
  16. 19:47Postgres
  17. 20:10Results
  18. 21:13QA
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.