Book Image

Python Machine Learning Blueprints: Intuitive data projects you can relate to

By : Alexander T. Combs
Book Image

Python Machine Learning Blueprints: Intuitive data projects you can relate to

By: Alexander T. Combs

Overview of this book

<p>Machine Learning is transforming the way we understand and interact with the world around us. But how much do you really understand it? How confident are you interacting with the tools and models that drive it?</p> <p>Python Machine Learning Blueprints puts your skills and knowledge to the test, guiding you through the development of some awesome machine learning applications and algorithms with real-world examples that demonstrate how to put concepts into practice.</p> <p>You’ll learn how to use cluster techniques to discover bargain air fares, and apply linear regression to find yourself a cheap apartment – and much more. Everything you learn is backed by a real-world example, whether its data manipulation or statistical modelling.</p> <p>That way you’re never left floundering in theory – you’ll be simply collecting and analyzing data in a way that makes a real impact.</p>
Table of Contents (16 chapters)
Python Machine Learning Blueprints
Credits
About the Author
About the Reviewer
www.PacktPub.com
Preface

Collaborative filtering


In early 2012, a story broke about a man who had come into a Target store wielding a fistful of coupons addressed to his high-school-aged daughter. He had come to berate the manager because this set of coupons were exclusively for things such as baby clothes, formula, and furniture.

On hearing the man's complaint, the manager apologized profusely. In fact, he felt so bad that he wanted to follow up several days later over the phone to explain how this had happened. Only this time, on the phone, the father was the one apologizing. It seems his daughter was, in fact, pregnant. Her shopping habits had given her away.

The algorithm that gave her away was most likely based, at least in part, on collaborative filtering.

So, what is collaborative filtering?

Collaborative filtering is based on the idea that out there somewhere you have a taste doppelganger. The assumption is that you have rated a certain set of items in a way that is very similar to the way this doppelganger...