Chapter 8 - How to get predictions from collab_learner?

Went through the Chapter 8 for Collaborative Filtering and have been trying to figure out how to get predictions out the the learner.

I’ve tried variations of learner.get_preds and learner.predict but many online helps are using fastai v1 which haven’t translated to using fastai v2.

How can I answer the question “for user X in the dataset, what are the top recommended movies that they haven’t seen yet”? That seems like the main purpose of the collab_learner model.

2 Likes