Summary
In this chapter, we explored the process of building and evaluating recommender systems in R using the recommenderlab
package. We focused primarily on the paradigm of collaborative filtering, which in a nutshell formalizes the idea of recommending items to users through word-of-mouth. As a general rule, we found that user-based collaborative filtering performs quite quickly but requires all the data to make predictions. Item-based collaborative filtering can be slow to train a model but makes predictions very quickly once the model is trained. It is useful in practice because it does not require us to store all the data. In some scenarios, the trade-off in accuracy between these two can be high, but in others the difference is acceptable.
The process of training recommendation systems is quite resource-intensive and a number of important parameters come into play in the design, such as the metrics used to quantify similarity and distance between items and users. Finally, we touched...