This topic describes how to use the user feature algorithm that is provided by Machine Learning Platform for AI (PAI) to create a model to monitor user churn.
Background information
How to increase the user base and retain existing users is key to business growth. You can use risk control models to identify likely-to-churn users and take measures to prevent these users from churning.
Mainstream solutions for monitoring user churn are based on rules and are not intelligent enough. These solutions cannot accurately mine likely-to-churn users.
Solution
PAI provides a comprehensive solution to implement feature encoding, classification
model training, and model evaluation based on labeled data. The following conditions
must be met before you can use this solution:
- You master basic modeling knowledge.
- You can be fully engaged in the development for one to two days.
- You have more than 1,000 labeled data records that show the characteristics of situations in which users churn.
Dataset
The experiment described in this topic is based on real data that is collected from
a telecommunications platform after data masking. The entire dataset contains 7,043
data records, including the basic information and churn status of each user. The following
figure shows the sample data that is used in the experiment.
The following table describes the fields in the dataset.
The following table describes the field in labeled data.

Parameter | Description |
---|---|
customerid | The ID of the user. |
gender | The gender of the user. |
SeniorCitizen | Indicate whether the user is a citizen. Valid values:
|
Partner | Indicates whether the user has a partner. |
Dependents | Indicates whether the user is affiliated. |
tenure | The duration for which the user is served by the service provider. |
PhoneService | Indicates whether the user subscribes to mobile phone services. |
MultipleLine | Indicates whether the user uses multiple lines of services. |
InternetService | The Internet service that the user subscribes to, for example, DSL or Fiber optic. |
OnlineSecurity | Indicates whether the user faces Internet security issues. |
OnlineBackup | Indicates whether the user has access to online support. |
DeviceProtection | Indicates whether the user has access to service protection. |
TechSupport | Indicates whether the user has applied for technical support. |
StreamingTV | Indicates whether the user has access to streaming TV programs. |
StreamingMovies | Indicates whether the user has access to streaming movies. |
Contract | The contract period, for example, Month-to-month or Two year. |
PaperlessBilling | Indicates whether the user receives electronic bills. |
PaymentMethod | The payment method used by the user. |
MonthlyCharges | The monthly expenses of the user. |
TotalCharges | The total expenses of the user. |
Parameter | Description |
---|---|
churn | Indicates whether the user churns. |
Procedure for monitoring user churn
- Go to the Machine Learning Studio console.
- Log on to the PAI console.
- In the left-side navigation pane, choose .
- On the PAI Visualization Modeling page, find the project in which you want to create an experiment and click Machine Learning in the Operation column.
- Create an experiment.
- Run the experiment and view the result.