O'Reilly logo

Clojure for Data Science by Henry Garner

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Slope One recommenders

Slope One recommenders are a part of a family of algorithms introduced in a 2005 paper by Daniel Lemire and Anna Maclachlan. In this chapter, we'll introduce the weighted Slope One recommender.

Note

You can read the paper introducing the Slope One recommender at http://lemire.me/fr/abstracts/SDM2005.html.

To illustrate how weighted Slope One recommendation works, let's consider the simple example of four users, labeled W, X, Y, and Z, who have rated three movies—Amadeus, Braveheart, and Casablanca. The ratings each user has provided are illustrated in the following diagram:

Slope One recommenders

As with any recommendation problem, we're looking to ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required