Bootstrapping a Recommendation Engine with Neo4j [OSCON Preview]

Field Engineer
3 min read


How Not To Create Your Own Recommendation Engine
There are a lot of simple models out there for creating recommendation engines. But, in order to provide truly relevant and helpful suggestions to your users, you’ve got to avoid these rudimentary methods:- Popularity-based recommendation engines: Not all users find “Top 10” recommendations to be relevant to their niche interests. Seriously, stop using this model.
- Content-based recommendation engines: These are often limited to recommendations within a single genre and lack flexibility. If users are never suggested something new or delightful, they’ll find your product boring.
- Collaborative filtering recommendation engines: Suggestions based on similar user behavior also lack flexibility and create echo chambers where your users are never recommended fresh content, products or friends.
What to Look for in Building Your Recommendation Engine
Now that you know what to avoid when building your recommendation engine from scratch, it’s time to outline what you must have in order to get noticed and remain competitive. Here are four key factors you can’t ignore:- Collaborative and content hybrid: Neither collaborative filtering nor content-based recommendations are strong enough on their own. Your custom recommendation engine needs to combine the power of both.
- Real-time results: Your recommendation engine must run in real time, not overnight. You don’t read yesterday’s news anymore. (Did you ever?) Don’t give your users yesterday’s recommendations.
- Beyond the blank search box: Guiding your users with timely recommendations is better than letting them needlessly search when you know just what they need.
- Graph database model: Relational databases aren’t fast or efficient enough for your new recommendation engine. You need an engine powered by a graph database in order to stay competitive.