3 Machine learning for classification
This chapter covers
- Performing exploratory data analysis for identifying important features
- Encoding categorical variables to use them in machine learning models
- Using logistic regression for classification
In this chapter, we are going to use machine learning to predict churn.
Churn is when customers stop using the services of a company. Thus, churn prediction is about identifying customers who are likely to cancel their contracts soon. If the company can do that, it can offer discounts on these services in an effort to keep the users.
Naturally, we can use machine learning for that: we can use past data about customers who churned and, based on that, create a model for identifying present customers who ...
Get Machine Learning Bookcamp now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.