How skarshad1928/teleco_customer_churn works
This repository is a Streamlit telecom-customer churn application. Users can explore customer data, train and evaluate Logistic Regression or Random Forest models, predict churn for an entered customer, view a Power BI analysis dashboard, and review churn-factor summaries. The main workflow runs through pages in one Python file: training reads cleaned data and saves model artifacts; prediction loads the Logistic Regression artifacts. Source excerpts show these paths, but do not expose every preprocessing detail or all artifact-writing logic.
Main entry points: Deployment_1.py Streamlit app · Telco_customer_churn.xlsx Customer churn data · Final_Complete_cleaned.xlsx Cleaned training data · best_logistic_model.pkl Logistic model
Components 13
Streamlit application
- Streamlit app
Deployment_1.py
Customer data
- Data exploration
Deployment_1.py - Customer churn data
Telco_customer_churn.xlsx - Cleaned training data
Final_Complete_cleaned.xlsx
Modeling and prediction
- Model training
Deployment_1.py - Model evaluation
Deployment_1.py - Logistic model
best_logistic_model.pkl - Feature scaler
scaler.pkl - Customer prediction
Deployment_1.py
Analysis and insights
- Churn dashboard
Deployment_1.py - Churn summary
Deployment_1.py
Other components
- User
- Power BI report
Connections 14
- User → Streamlit app: uses
Deployment_1.py - Streamlit app → Data exploration: routes to
Deployment_1.py - Data exploration → Customer churn data: reads
Deployment_1.py - Streamlit app → Model training: routes to
Deployment_1.py - Model training → Cleaned training data: reads
Deployment_1.py - Streamlit app → Model evaluation: routes to
Deployment_1.py - Model training → Model evaluation: evaluates
Deployment_1.py - Streamlit app → Customer prediction: routes to
Deployment_1.py - Customer prediction → Logistic model: loads
Deployment_1.py - Customer prediction → Feature scaler: loads
Deployment_1.py - Streamlit app → Churn dashboard: routes to
Deployment_1.py - Churn dashboard → Power BI report: embeds
Deployment_1.py - Streamlit app → Churn summary: routes to
Deployment_1.py - Churn summary → Customer churn data: reads
Deployment_1.py