Hands-On Recommendation Systems with Python
Read it now on the O’Reilly learning platform with a 10-day free trial.
O’Reilly members get unlimited access to books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.
Book description
With Hands-On Recommendation Systems with Python, learn the tools and techniques required in building various kinds of powerful recommendation systems (collaborative, knowledge and content based) and deploying them to the web
Key Features
- Build industry-standard recommender systems
- Only familiarity with Python is required
- No need to wade through complicated machine learning theory to use this book
Book Description
Recommendation systems are at the heart of almost every internet business today; from Facebook to Net?ix to Amazon. Providing good recommendations, whether it's friends, movies, or groceries, goes a long way in defining user experience and enticing your customers to use your platform.
This book shows you how to do just that. You will learn about the different kinds of recommenders used in the industry and see how to build them from scratch using Python. No need to wade through tons of machine learning theory - you'll get started with building and learning about recommenders as quickly as possible..
In this book, you will build an IMDB Top 250 clone, a content-based engine that works on movie metadata. You'll use collaborative filters to make use of customer behavior data, and a Hybrid Recommender that incorporates content based and collaborative filtering techniques
With this book, all you need to get started with building recommendation systems is a familiarity with Python, and by the time you're fnished, you will have a great grasp of how recommenders work and be in a strong position to apply the techniques that you will learn to your own problem domains.
What you will learn
- Get to grips with the different kinds of recommender systems
- Master data-wrangling techniques using the pandas library
- Building an IMDB Top 250 Clone
- Build a content based engine to recommend movies based on movie metadata
- Employ data-mining techniques used in building recommenders
- Build industry-standard collaborative filters using powerful algorithms
- Building Hybrid Recommenders that incorporate content based and collaborative fltering
Who this book is for
If you are a Python developer and want to develop applications for social networking, news personalization or smart advertising, this is the book for you. Basic knowledge of machine learning techniques will be helpful, but not mandatory.
Show and hide more
Table of contents Product information
Table of contents
- Title Page
- Copyright and Credits
- Hands-On Recommendation Systems with Python
- Why subscribe?
- PacktPub.com
- About the author
- About the reviewer
- Image credits
- Packt is searching for authors like you
- Who this book is for
- What this book covers
- To get the most out of this book
- Download the example code files
- Download the color images
- Code in action
- Conventions used
- Reviews
- Technical requirements
- What is a recommender system?
- The prediction problem
- The ranking problem
- Collaborative filtering
- User-based filtering
- Item-based filtering
- Shortcomings
- Technical requirements
- Setting up the environment
- The Pandas library
- The Pandas DataFrame
- The Pandas Series
- Summary
- Technical requirements
- The simple recommender
- The metric
- The prerequisties
- Calculating the score
- Sorting and output
- Genres
- The build_chart function
- Technical requirements
- Exporting the clean DataFrame
- Document vectors
- CountVectorizer
- TF-IDFVectorizer
- Preparing the data
- Creating the TF-IDF matrix
- Computing the cosine similarity score
- Building the recommender function
- Preparing the data
- The keywords and credits datasets
- Wrangling keywords, cast, and crew
- Creating the metadata soup
- Problem statement
- Similarity measures
- Euclidean distance
- Pearson correlation
- Cosine similarity
- k-means clustering
- Choosing k
- Other clustering algorithms
- Principal component analysis
- Other dimensionality reduction techniques
- Linear-discriminant analysis
- Singular value decomposition
- k-nearest neighbors
- Classification
- Regression
- Bagging and random forests
- Boosting
- Accuracy
- Root mean square error
- Binary classification metrics
- Precision
- Recall
- F1 score
- Technical requirements
- The framework
- The MovieLens dataset
- Downloading the dataset
- Mean
- Weighted mean
- User demographics
- Clustering
- Supervised learning and dimensionality reduction
- Singular-value decomposition
- Technical requirements
- Introduction
- Case study – Building a hybrid model
- Summary
- Leave a review - let other readers know what you think
Show and hide more
Product information
- Title: Hands-On Recommendation Systems with Python
- Author(s): Rounak Banik
- Release date: July 2018
- Publisher(s): Packt Publishing
- ISBN: 9781788993753
You might also like
Check it out now on O’Reilly
Dive in for free with a 10-day trial of the O’Reilly learning platform—then explore all the other resources our members count on to build skills and solve problems every day.