Book Image

Machine Learning Solutions

Book Image

Machine Learning Solutions

Overview of this book

Machine learning (ML) helps you find hidden insights from your data without the need for explicit programming. This book is your key to solving any kind of ML problem you might come across in your job. You’ll encounter a set of simple to complex problems while building ML models, and you'll not only resolve these problems, but you’ll also learn how to build projects based on each problem, with a practical approach and easy-to-follow examples. The book includes a wide range of applications: from analytics and NLP, to computer vision domains. Some of the applications you will be working on include stock price prediction, a recommendation engine, building a chat-bot, a facial expression recognition system, and many more. The problem examples we cover include identifying the right algorithm for your dataset and use cases, creating and labeling datasets, getting enough clean data to carry out processing, identifying outliers, overftting datasets, hyperparameter tuning, and more. Here, you'll also learn to make more timely and accurate predictions. In addition, you'll deal with more advanced use cases, such as building a gaming bot, building an extractive summarization tool for medical documents, and you'll also tackle the problems faced while building an ML model. By the end of this book, you'll be able to fine-tune your models as per your needs to deliver maximum productivity.
Table of Contents (19 chapters)
Machine Learning Solutions
Foreword
Contributors
Preface
Index

Chapter 4. Recommendation Systems for E-Commerce

In the previous three chapters, we have covered a lot of tips and tricks that can be used to build various types of analytics products. In this chapter, we are going to build a recommendation engine for the e-commerce domain. Let's go over some background of recommendation systems. Then, we will discuss the problem statement that we are trying to solve in this chapter.

Let's take a relatable example from real life. We surf videos on YouTube almost every day, right? Suppose you saw some videos related to rock music on YouTube last night. This morning, when you open your YouTube, you may find that there are a couple of suggested YouTube channels with good videos on rock music. YouTube actually changes its suggestions based on your watching habits. Do you want to know how that algorithm works? Let's take another example that might be useful to us in this chapter. Most of us buy stuff from various e-commerce sites. Suppose you are trying to purchase...