7

 

 

 

USER-BASED COLLABORATIVE FILTERING

 

A large part of recommender systems is deciphering whether a user will be receptive to a recommended item. Singular-value decomposition, as explored in the previous chapter, is a method that can be used to predict user preferences in the case of a sparse dataset. For situations where data is not sparse, we can use other algorithms including logistic regression and Naive Bayes.

The Naive Bayes Classifier—a classification method based on Bayes’ theorem—is often used in data science for predicting discrete classes such as spam filtering, A/B testing, sentiment analysis, text classification, and recommender systems.

 

Bayes’ Theorem

Devised in the middle of the 18th Century, Bayes' theorem is used ...

Get Machine Learning: Make Your Own Recommender System now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.