Code | Name | Published Article | Deployed App |
---|---|---|---|
LP4 | Customer Churn Prediction App with Gradio | Building a Customer Churn Prediction App with Gradio | Customer Churn App |
This project involves building a customer churn prediction app with Gradio. The app uses a trained machine learning model to predict the likelihood of a customer churning based on their input data.
How the app works
The app takes custoner data from users
The app then prepare and preprocess the data using functions and pipelines
The app then predict the liklihood of a customer churning by assigning probabilities to Yes and No.
The app uses the streamlit metric property to display the sale.
Setup To set up the project locally, follow these steps:
Clone the repository using:
git clone https://github.com/Bright136/Customer-Churn-Prediction-App-with-Gradio.git
OR
You can download the code
At the root repository
root :: Churn-Prediction-App-with-Gradio> ...
Do:
Windows:
python -m venv venv; venv\Scripts\activate; python -m pip install -q --upgrade pip; python -m pip install -qr requirements.txt
Linux & MacOs:
python3 -m venv venv; source venv/bin/activate; python -m pip install -q --upgrade pip; python -m pip install -qr requirements.txt
To execute the app, follow these steps: After all requirement have been install
At the root of your repository in your terminal
run the command: gradio .src\app\app.py'
Photos of the Gradio App
Name | GitHub | Hugging Face | ||
---|---|---|---|---|
Bright Eshun | @bright_eshun_ | @brighteshun | @bright136 | @bright1 |