Full Width [alt+shift+f] Shortcuts [alt+shift+k]
Sign Up [alt+shift+s] Log In [alt+shift+l]
30

Benchmarking nearest neighbor libraries in Python

from Home on Erik Bernhardsson [alt+shift+b] in technology

Radim Rehurek has put together an excellent summary of approximate nearest neighbor libraries in Python. This is exciting, because one of the libraries he's covering, annoy, was built by me. After introducing the problem, he goes through the list of contestants and sticks with five remaining ones.
12th Jan 2014

Stay updated

Get a weekly newsletter with the top 5 articles worth reading every week.

More from Home on Erik Bernhardsson

It's hard to write code for computers, but it's even harder to write code for humans

Writing code for a computer is hard enough. You take something big and fuzzy, some large vague business outcome you want to achive. Then you break it down recursively and think about all the cases until you have clear logical statements a computer can follow.

27th Sep 2024 • 39 votes
Predicting solar eclipses with Python

As I am en route to see my first total solar eclipse, I was curious how hard it would be to compute eclipses in Python. It turns out, ignoring some minor coordinate system head-banging, I was able to get something half-decent working in a couple of hours.

7th Apr 2024 • 41 votes
Simple sabotage for software

CIA produced a fantastic book during the peak of World War 2 called Simple Sabotage. It laid out various ways for infiltrators to ruin productivity of a company. Some of the advice is timeless, for instance the section about “General interference with Organizations and Production”:

13th Dec 2023 • 40 votes
What I have been working on: Modal

Long story short: I'm working on a super cool tool called Modal. Please check it out — it lets you run things in the cloud without having to think about infrastructure. Scaling out, scheduling, containerization, using GPUs, setting up webhooks, and all kinds of other stuff.

7th Dec 2022 • 42 votes
We are still early with the cloud: why software development is overdue for a change

This is is in many respects a successor to a blog post I wrote last year about what I want from software infrastructure, but the ideas morphed in my head into something sort of wider.

19th Oct 2022 • 42 votes

More in technology

Is Clean Power 2030 dead?

Plus Thomas Ableman on what we can learn about AI from the Victorian railway rollout

10 hours ago • 1 votes
MIT engineers design a safer, more efficient vaccination system for farmed fish

Water-resistant microneedles made from food-grade silk could deliver vaccines to help prevent the spread of disease in aquaculture.

12 hours ago • 1 votes
MichTron ProText

The Last Word Processor You'll Ever Need

yesterday • 1 votes
Fixing Letterboxd's cast list on the web

I love Letterboxd, but I hate how they show you the cast on the web app. Here's the cast of The Batman on the web. I mean, that's them, but I'm often going to this page wondering who played someone, and that is an

yesterday • 1 votes
Day of the Dead in Mexico City

If you visit, someone someone will inevitably tell you: “The Day of the Dead parade isn’t a real tradition!

yesterday • 1 votes
📚 BoredReading

You seem to be enjoying this.

Join free to unlock everything.

Create free account

Already have an account? Sign in