In the dynamic and ever-evolving landscape of the telecommunications industry, customer churn has become a critical challenge for service providers. The ability to predict and understand customer churn can significantly impact business success, customer retention strategies and increase customer service satisfaction.
In the dynamic and ever-evolving landscape of the telecommunications industry, customer churn has become a critical challenge for service providers. The ability to predict and understand customer churn can significantly impact business success, customer retention strategies, and ultimately, the bottom line.
In this project, we embark on an exciting journey to explore and analyze customer churn within the Vodafone network service using the CRISP-DM (Cross-Industry Standard Process for Data Mining) framework. Our aim is to leverage data-driven insights to identify key factors influencing churn, build predictive models, and develop actionable recommendations that can help Vodafone proactively retain valuable customers and enhance their overall service offerings.
This project follows the CRISP-DM (Cross-Industry Standard Process for Data Mining) framework to explore and analyze customer churn within the Vodafone network service. The aim is to leverage data-driven insights to identify key factors influencing churn, build predictive models, and develop actionable recommendations that can help Vodafone proactively retain valuable customers and enhance their overall service offerings.
- Project Overview
- Project Structure
- Data Dictionary
- Project Highlights
- Summary
- Hypothesis Investigated
- Exploratory Data Analysis (EDA)
- Model Selection
- Model Evaluation (Confusion Matrix)
- Classification Metrics Score
- Recommendations
- Getting Started
- License
- Author
code/
: Contains the dataset used for analysis and the Jupyter notebook detailing the data exploration, preprocessing, and model building steps.article/
: Holds project-related article.customer churn analysis dashboard.pbix
: The file for the deployed Power BI dashboard.LICENSE
: Project license.README.md
: Project overview, links, highlights, and information.
Feature | Description |
---|---|
Gender | Whether the customer is a male or a female |
SeniorCitizen | Whether a customer is a senior citizen or not |
Partner | Whether the customer has a partner or not (Yes, No) |
Dependents | Whether the customer has dependents or not (Yes, No) |
Tenure | Number of months the customer has stayed with the company |
Phone Service | Whether the customer has a phone service or not (Yes, No) |
MultipleLines | Whether the customer has multiple lines or not |
InternetService | Customer's internet service provider (DSL, Fiber Optic, No) |
OnlineSecurity | Whether the customer has online security or not (Yes, No, No Internet) |
OnlineBackup | Whether the customer has online backup or not (Yes, No, No Internet) |
DeviceProtection | Whether the customer has device protection or not (Yes, No, No internet service) |
TechSupport | Whether the customer has tech support or not (Yes, No, No internet) |
StreamingTV | Whether the customer has streaming TV or not (Yes, No, No internet service) |
StreamingMovies | Whether the customer has streaming movies or not (Yes, No, No Internet service) |
Contract | The contract term of the customer (Month-to-Month, One year, Two year) |
PaperlessBilling | Whether the customer has paperless billing or not (Yes, No) |
Payment Method | The customer's payment method (Electronic check, mailed check, Bank transfer(automatic), Credit card(automatic)) |
MonthlyCharges | The amount charged to the customer monthly |
TotalCharges | The total amount charged to the customer |
Churn | Whether the customer churned or not (Yes or No) |
- Utilized the CRISP-DM framework to thoroughly analyze customer churn in the Vodafone network service.
- Conducted exploratory data analysis to uncover insights and patterns within the dataset.
- Built predictive models using machine learning algorithms like Random Forest Classifier.
- Implemented hyperparameter tuning to optimize model performance.
- Developed a Power BI dashboard for interactive visualization of key findings.
- Published an insightful article detailing the project and its results.
Code | Name | Published Article | Deployed Dashboard |
---|---|---|---|
LP 2 | Customer Churn Classification Prediction | Read Article | View Dashboard |
Null Hypothesis (H0) :The monthly subscription cost (MonthlyCharges) has no significant effect on customer churn (Churn) from the Vodafone network service.
Alternate Hypothesis (H1) : The monthly subscription cost (MonthlyCharges) has a significant effect on customer churn (Churn) from the Vodafone network service.
Test Conducted | T-Statistic | P-Value |
---|---|---|
Independent Samples T - Test | 14.650610568422312 | 1.2575465113545793e-47 |
The statistical analysis yielded a calculated statistic of 14.65
, accompanied by a remarkably low p-value of approximately 1.26e-47
. With this statistical outcome, we confidently reject the null hypothesis and conclude that Monthly Charges exert a substantial influence on customer churn. The p-value indicates that the observed relationship between Monthly Charges and churn is highly unlikely to occur by chance, reinforcing the robustness of our findings.
A snapshot of the conducted exploratory data analysis, aimed at addressing pivotal business inquiries during the analysis process.
Confusion Matrix | Metrics |
---|---|
Accuracy: 87.39% |
- Utilized the CRISP-DM framework to thoroughly analyze customer churn in the Vodafone network service.
- Conducted exploratory data analysis to uncover insights and patterns within the dataset.
- Built predictive models using machine learning algorithms like Random Forest Classifier.
- Implemented hyperparameter tuning to optimize model performance.
- Developed a Power BI dashboard for interactive visualization of key findings.
- Published an insightful article detailing the project and its results.
code/
: Contains the dataset used for analysis and the Jupyter notebook detailing the data exploration, preprocessing, and model building steps.article/
: Holds project-related article.LICENSE
: Project license.README.md
: Project overview, links, highlights, and information.
The Random Forest Classifier
stands out as the best-performing model due to its highest accuracy among the evaluated models (85.48%)
. As accuracy is a key performance metric for our project, selecting the Random Forest Classifier ensures that we prioritize correctly predicting customer churn in our future predictions on the test dataset.
Before Hyperparameter Tunning | After Hyperparameter Tunning |
---|---|
Metric | Score |
---|---|
Accuracy | 87.39% |
Precision | 86.8% |
Recall | 87.8% |
F1 | 93.5% |
-
Tailor Pricing Strategies: The analysis reveals that higher monthly charges are associated with an increased likelihood of customer churn. To enhance customer retention, Vodafone can explore competitive pricing strategies that balance revenue generation with customer satisfaction, ensuring that the cost aligns with the value perceived by customers.
-
Enhance Early Customer Experience: Early months of customer tenure exhibit a higher churn rate, suggesting that customer experience in the initial stages is vital. Focusing on improving onboarding processes, service quality, and addressing customer concerns during this crucial period can enhance customer satisfaction and loyalty.
-
Promote Long-Term Contracts: The analysis indicates that customers with month-to-month contracts have a significantly higher churn rate compared to those with one-year or two-year contracts. Encouraging customers to opt for longer-term contracts through incentives and benefits can potentially reduce churn rates and foster customer commitment.
-
Leverage Additional Services: The presence of Online Security and Online Backup services has shown to impact churn rates. Strategically promoting and enhancing these services can play a role in reducing churn rates by providing value-added features that address customer needs and concerns.
-
Monitor and Adjust Fiber Optic Offering: Given the higher monthly charges and elevated churn rate among Fiber Optic customers, closely monitor customer satisfaction and service quality for this group. Continuously fine-tune offerings and support to ensure that the premium cost of Fiber Optic service aligns with customer expectations.
-
Personalized Customer Engagement: Utilize customer insights from the churn analysis to develop personalized engagement strategies. Tailored communication, offers, and targeted marketing campaigns based on customer tenure, contract type, and service preferences can enhance customer loyalty and mitigate churn.
- Clone this repository:
git clone https://github.com/fantastic-rambo/LP2-Customer-Churn-Machine-Learning-Predictions.git
- Navigate to the project directory:
LP2-Customer-Churn-Machine-Learning-Predictions
- Explore the Jupyter notebooks for detailed steps and code execution.
- Check out the Power BI dashboard for interactive visualizations.
- Read the published article for a comprehensive understanding of the project.
This project is licensed under the MIT License.
Isaac Rambo
Connect with me on LinkedIn: LinkedIn Profile
Connect with me on Instagram: Instagram Profile
Feel free to star ⭐ this repository if you find it helpful!