Why did we get bad results?
These results are pretty sketchy, so let's talk about what might be going on there. The first thing to mention is there are a couple of parameters to that ALS method there for Alternating Least Squares and the results are very sensitive to the parameters you choose. It actually takes a lot of work to find the optimal parameters to get good recommendations out a given dataset. Now, there are some techniques you can use in machine learning to try to arrive at the right parameters. There's a technique called "train/test," where you withhold a portion of the data as sort of a training dataset and another portion as a testing dataset, and you evaluate your ability to predict user ratings using your algorithm going forward. ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access