concept customer in category jupyter

This is an excerpt from Manning's book Machine Learning for Business: Using Amazon SageMaker and Jupyter.
For our purposes, automation is the use of software to perform a repetitive task. In the business world, repetitive tasks are everywhere. A typical retail business, for example, places orders with suppliers, sends marketing material to customers, manages products in inventory, creates entries in their accounting system, makes payments to their staff, and hundreds of other things.
Why is it so hard to automate these processes? From a higher level, these processes look pretty simple. Sending marketing material is just preparing content and emailing it to customers. Placing orders is simply selecting product from a catalog, getting it approved, and sending the order to a supplier. How hard can it be?
Carlos takes it personally when a customer stops ordering from his company. He’s the Head of Operations for a commercial bakery that sells high-quality bread and other baked goods to restaurants and hotels. Most of his customers have used his bakery for a long time, but he still regularly loses customers to his competitors. To help retain customers, Carlos calls those who have stopped using his bakery. He hears a similar story from each of these customers: they like his bread, but it’s expensive and cuts into their desired profit margins, so they try bread from another, less expensive bakery. After this trial, his customers conclude that the quality of their meals would still be acceptable even if they served a lower quality bread.
Churn is the term used when you lose a customer. It’s a good word for Carlos’s situation because it indicates that a customer probably hasn’t stopped ordering bread; they’re just ordering it from someone else.
Carlos comes to you for help in identifying those customers who are in the process of trying another bakery. Once he’s identified the customer, he can call them to determine if there’s something he can do to keep them. In Carlos’s conversations with his lost customers, he sees a common pattern:
Customers place orders in a regular pattern, typically daily. A customer tries another bakery, thus reducing the number of orders from Carlos’s bakery. The customer negotiates an agreement with the other bakery, which may or may not result in a temporary resurgence in orders placed with Carlos’s bakery. Customers stop ordering from his bakery altogether. In this chapter, you are going to help Carlos understand which customers are at risk of churning so he can call them to determine whether there is some way to address their move to another supplier. To help Carlos, you’ll look at the business process in a similar way that you looked at Karen’s process in chapter 2.
For Karen’s process, you looked at how orders moved from requester to approver, and the features that Karen used to make a decision about whether to send the order to a technical approver or not. You then built a SageMaker XGBoost application that automated the decision. Similarly, with Carlos’s decision about whether to call a customer because they are at risk of churning, you’ll build a SageMaker XGBoost application that looks at Carlos’s customers each week and makes a decision about whether Carlos should call them.