This section will show you how to evaluate the performance of our recommender. Starting from the evaluation, we can try some parameter configurations and choose the one performing the best. For more details, see Chapter 4, Evaluating the Recommender Systems.
The following are the steps to evaluate and optimize the model:
Build a function that evaluates the model given a parameter configuration
Use the function to test different parameter configurations and pick the best one
Let's go through these steps in detail.