BlueConic provides several prebuilt AI notebooks you can use (without writing any code) to apply the power of AI to your customer order data, for example to predict and analyze a customer's churn propensity.
AI Workbench provides two notebooks relating to customer churn predictions: the Predict propensity to churn notebook to calculate customer churn predictions, and this notebook to compare churn rates for different segments of customers. Both notebooks assume you already have customer contract or subscription start and end dates data present in separate BlueConic profile properties.
Adding a churn modeling notebook in BlueConic
- Select AI Workbench from the BlueConic navigation bar.
- Click Add notebook.
- A pop-up window appears. Scroll down to the Analyze propensity to churn notebook and click it.
- The notebook opens to the Parameters window.
Note: If you have the Notebook editor permissions, the Notebook editor window is where you can view the notebook's Python code. It also contains detailed documentation about how the notebook works, and how the machine learning model uses customer transaction data for running and analyzing customer churn predictions.
Setting parameters for the Analyze customer churn propensity notebook
- Enter a name for the notebook and click Save.
- Select the Parameters tab in the left-hand panel of the churn prediction notebook window.
- For the segments to compare parameter, choose one or more customer segments for the notebook to predict churn probability.
The example shown here compares the churn risk for three customer segments: all customers, those with broadband contracts, and those with mobile phone contracts.
- Select profile properties that contain these profiles' start date contract and end data contract. These profile properties should be of date time format.
- (Optional) You can adjust the maximum number of profiles the model will examine. This defaults to 2500 profiles.
- (Optional) You can change the propensity to churn model used to display your results. See below to learn more about each of the propensity to churn models available for visualizing your results.
- Save your settings before running the model.
Selecting a propensity to churn model
By default, the AI notebook uses the Kaplan-Meier estimator to display your results. In the Parameters tab, you can choose from among several different models (and color schemes) to visualize your results.
- Kaplan-Meier estimator
- Weibull distribution
- Exponential distribution
- Log-normal distribution
- Log-logistic distribution
- Generalized Gamma distribution
Running an Analyze propensity to churn notebook
- Go to the Schedule and run history page.
- In the metadata section at the top of the page, you can request email notifications each time the notebook runs or only for failed runs. For details, see: setting up email notifications for AI Workbench.
- Click Run now to run the analysis manually.
To schedule the import and export for a future date, activate Enable scheduling. Click the Settings icon . Select how to schedule the import by choosing an option from the dropdown list:
- Every X minutes
- Number of times per day
- Days of the week
- Days of the month
- Weekday of the month
Set a time for the import. Click OK.
After running the notebook, you can view its output by clicking Preview. Scroll all the way to the bottom to see a graphical representation of the churn analysis. You can use the Notebook all cells insight to create a sharable dashboard with churn prediction graphics.
Companion AI notebook for predicting customer churn
You can use the companion AI notebook, Predict propensity to churn, to examine how churn risk compares among groups of customers within a single customer segment. The notebook also writes a churn prediction score to a profile property.