Import required modules
Load a dataset
Load data from a table into a dataframe (df). The table needs to contains customer data, including an indication if these customers churned (historical data).Using Streamlit to build an app
We use the Streamlit module (st), built into Peliqan.io, to build a UI and show data.Explore and prepare the data
Always look for missing values and try to handle them.Model Training & Evaluation
We will use Random Forest Classifier to do the prediction. To learn more visit SKlearn.Next Steps
- Using Peliqan you can create an app for business users to consume the model you have made in a simple and intuitive UI. Learn more about creating apps for users to consume your ML model.
- You can make predictions on real-time incoming data using the saved model. Learn more about making real-time predictions on new incoming data.
- You can make real-time predictions on new incoming data and send alerts to slack if the model makes a prediction above a certain threshold.
