01.04.2015 Views

1FfUrl0

1FfUrl0

1FfUrl0

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Regression –<br />

Recommendations Improved<br />

At the end of the last chapter, we used a very simple method to build a<br />

recommendation engine: we used regression to guess a ratings value. In the<br />

first part of this chapter, we will continue this work and build a more advanced<br />

(and better) rating estimator. We start with a few ideas that are helpful and then<br />

combine all of them. When combining, we use regression again to learn the best<br />

way to combine them.<br />

In the second part of this chapter, we will look at a different way of learning called<br />

basket analysis, where we will learn how to make recommendations. Unlike the<br />

case in which we had numeric ratings, in the basket analysis setting, all we have is<br />

information about shopping baskets, that is, what items were bought together. The<br />

goal is to learn recommendations. You have probably already seen features of the<br />

form "people who bought X also bought Y" in online shopping. We will develop<br />

a similar feature of our own.<br />

Improved recommendations<br />

Remember where we stopped in the previous chapter: with a very basic, but not<br />

very good, recommendation system that gave better than random predictions. We<br />

are now going to start improving it. First, we will go through a couple of ideas that<br />

will capture some part of the problem. Then, what we will do is combine multiple<br />

approaches rather than using a single approach in order to be able to achieve a better<br />

final performance.<br />

We will be using the same movie recommendation dataset that we started off with in<br />

the last chapter; it consists of a matrix with users on one axis and movies on the other.<br />

It is a sparse matrix, as each user has only reviewed a small fraction of the movies.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!