andrewcarlberg/Two-Pick-Too-Drunk — pull request #7 by mlotx (2012-12-03 17:27:30+00:00)
Title: Recommender, with limits!

Now to call the recommender:

def recommender(self, user_ratings, reviews, clusters, db, first, limit)

so will return all ratings [first, limit]
right now set to 0, 15 so the first 15 ratings, but if you want to get the next 15 could then set it to 16, 30.
And if runs out of things in its recommend list or too big of parameters will just return nothing.