Edit model card
YAML Metadata Warning: empty or missing yaml metadata in repo card (https://huggingface.co/docs/hub/model-cards#model-card-metadata)

churn-prediction-with-gradio

This repository contains code and resources for building a churn prediction model using machine learning techniques, and deploying it with Gradio for a user-friendly interface. Gradio is used to create a web interface for the trained model, which allows users to input customer data and get predictions on their likelihood of churning.

Summary

Code Name Published Article Deployed App
LP4 Churn Prediction with Gradio - -

Project Description

Churn prediction is a critical task for businesses that want to retain their customers and optimize revenue. This repository contains code and resources for building a churn prediction model using machine learning techniques, and deploying it with Gradio for a user-friendly interface.

The code includes data preprocessing, feature engineering, model training, and evaluation using Python and popular machine learning libraries such as Scikit-learn and XGBoost. The trained model is then deployed using Gradio, which allows users to input customer data and get predictions on their likelihood of churning. The Gradio interface is intuitive and easy to use, even for non-technical users.

The repository includes a demo notebook that showcases how to use the trained model in the Gradio interface, as well as instructions for reproducing the project. This project can be useful for anyone interested in learning how to build a churn prediction model and deploy it with Gradio.

Setup

Installation

Download or Clone the repository and navigate to the project directory. Clone this repository to your local machine using the following command:

git clone -

Alternatively, you can visit:

-

Install the dependencies

Navigate to the cloned repository and run the command:

pip install -r requirements.txt

App Execution

Alt text

First step select the gender and the select whether he/she is a senior Citizen. The key is prpvided that indicates 0 is for NO and 1 is for a YES. Also choose if the customer has a partner.

Alt text

Select if the customer has any dependents.

Alt text

Next, input the length of the tenure in months, slect if the customer has the following; Phoneservice, multiple lines, Internetservice, Onlinesecurity and onlinebackup.

Alt text

Next, choose if the customer has the following; Deviceprotection, Techsupport, StreamingTV and streamingMovies.

Alt text

Select if the cutomer prefers paperlessbilling. Also select the Paymentmethod, and enter the Monthly charges together with the Total charges.

Alt text

Lastly submit the values and click on the predict button to the prediction.

Alt text

Author

Alberta Cofie Data Analyst

Downloads last month

-

Downloads are not tracked for this model. How to track
Inference API
Unable to determine this model's library. Check the docs .

Space using AlbieCofie/predict-customer-churn 1