SlideShare a Scribd company logo
Customer Churn Prediction
In Telecom Industry
By : Soumit Kar
MBA in HRM and Marketing Management
Procedure
❖ Identify Problem Statements.
❖ Data Collection
❖ Exploratory Data Analysis
❖ Feature Engineering
❖ Feature Selection
❖ Handling Imbalance Data
❖ Model Selection
❖ Create and Deploy App
Churn prediction detecting customers who are likely to cancel a subscription to a service. Churn is a
problem for telecom companies because it is more expensive to acquire a new customer than to keep your
existing one from leaving.
● To predict Customer churn
● Factor Affecting Customer Churn
● what's the most profitable service types?
● What's the amount lose in revenue?
Problem Statement
Data Collection
Data collected from Kaggle.
● Customers who left within the last month – the column is called Churn
● Services that each customer has signed up for – phone, multiple lines, internet, online
security, online backup, device protection, tech support, and streaming TV and movies
● Customer account information – how long they’ve been a customer, contract, payment
method, paperless billing, monthly charges, and total charges
● Demographic info about customers – gender, age range, and if they have partners and
dependents
● pandas
● numpy
● matplotlib
● seaborn
● scipy
● statsmodels
● sklearn
● lifelines
● Sweet viz
● xgboost
● lightgbm
● catboost
● pickle
● Imblearn
● Collections
● Eli5
● Pdpbox
● sha
● joblib
Libraries
● Data Audit
● Drop 11 missing values in ‘Total Charges’ column as per no use
EDA
From KDE Plot
● Recent clients are more likely to churn.
● Clients with higher Monthly Charges are also more
likely to churn.
● Tenure and Monthly Charges are probably important
features.
From boxplot
● 75% of churners pay between 60 and 100 dollars a month
● One important mark we can see in this plots that 50% of Churners leave the
company before the first year goes by.
sudden drop in the starting which says that after one tenure only customers starts churning rapidly and after
that churning rate decreases.
Survival Analysis (Kaplan Meier Curve)
Count plot
● Gender - The churn percent is almost equal in case of Male and Females
● The percent of churn is higher in case of senior citizens
● Customers with Partners and Dependents have lower churn rate as compared to those
who don't have partners & Dependents.
● Churn rate is much higher in case of Fiber Optic Internet Services.
● Customers who do not have services like No OnlineSecurity , Online Backup and
TechSupport have left the platform in the past month.
● A larger percent of Customers with monthly subscription have left when compared to
Customers with one or two year contract.
● Churn percent is higher in case of customers having paperless billing option.
● Customers who have Electronic Check Payment Method tend to leave the platform
more when compared to other options.
Revenue analysis
● 31% of total revenue was "lost" by people who left.
● Optical fiber is responsible for 53% (168,99k) of the monthly revenue,
DSL 37% (118,14k)
● 87% of all monthly revenue lost are caused by customers with Month-to-
Month Contracts
Cheak Outliers
Checked outliers by IQR method no outliers detected.
Encoding
Convert tenure group to 5 groups
Categorical columns to dummy variables, as there
is yes / no values
❏ Drop customer ID column
❏ For feature selection used chi2 test
❏ Gender, Multiplelines, Phone Servies have greater p-value, so null- hypothesis
rejected also in survival curve there is no importance.
❏ Drop columns with 0.9 of correlation
1.DeviceProtection_No internet service
2.OnlineBackup_No internet service
3.OnlineSecurity_No internet service
4,StreamingMovies_No internet service
5.StreamingTV_No internet service
6.TechSupport_No internet service
Feature selection
Heat map
Feature Importance for chi2 test
● K-Nearest Neighbour and Support Vector Machine need Scaling data
● These distanced based algorithms finds the closer distance between data points and find
similarities
● Transfer the data range(1,0)
[SVM]
Transformation
Minmax Scaler
Oversampling
Tomek links to the over-sampling instead of removing only the majority class
examples that form Tomek links, examples from both classes are removed
The num of classes before fit Counter({Not Churn: 4125, Churn: 1500})
the num of classes after fit Counter({Not Churn: 3949, Churn: 2711})
Imbalance data Handling
Smote Tomek
Ensemble Learning
Select Random Forest classifier for model Building
Random Forest Classifier
AUC Score (ROC): 0.8343163055908016
F1 score: 0.5548387096774193
AUC Score (PR): 0.627076181352386
ALL Classifiers
Random Forest Classifier feature wt
PDPbox is a partial dependence plot toolbox written in Python. The goal is to visualize the impact
of certain features towards model prediction for any supervised learning algorithm. (now support
all scikit-learn algorithms)
partial dependence plot
SHAP (SHapley Additive exPlanations) is a game theoretic approach to explain the output of any
machine learning model.
Gauge chart use for indicating the performance as per churning probabilities.
Github - Link
Go to web App - Link
Medium - Link
● Use the App to predict churn probabilities
● Engage with your customers
● Define your most valuable customers
● Give better service
● Pay attention to complaints
● Make your best people deal with customers at risk
● Flaunt your competitive advantages
● Offer long term contracts
Reduce Telecom Customer Churn & Conclusion

More Related Content

What's hot

Churn Prediction in Practice
Churn Prediction in PracticeChurn Prediction in Practice
Churn Prediction in Practice
BigData Republic
 
Data analytics telecom churn final ppt
Data analytics telecom churn final ppt Data analytics telecom churn final ppt
Data analytics telecom churn final ppt
Gunvansh Khanna
 
Data mining and analysis of customer churn dataset
Data mining and analysis of customer churn datasetData mining and analysis of customer churn dataset
Data mining and analysis of customer churn dataset
Rohan Choksi
 
Churn in the Telecommunications Industry
Churn in the Telecommunications IndustryChurn in the Telecommunications Industry
Churn in the Telecommunications Industry
skewdlogix
 
Prediction of customer propensity to churn - Telecom Industry
Prediction of customer propensity to churn - Telecom IndustryPrediction of customer propensity to churn - Telecom Industry
Prediction of customer propensity to churn - Telecom Industry
Pranov Mishra
 
IRJET - Customer Churn Analysis in Telecom Industry
IRJET - Customer Churn Analysis in Telecom IndustryIRJET - Customer Churn Analysis in Telecom Industry
IRJET - Customer Churn Analysis in Telecom Industry
IRJET Journal
 
Customer Churn Prediction Using Machine Learning Techniques: the case of Lion...
Customer Churn Prediction Using Machine Learning Techniques: the case of Lion...Customer Churn Prediction Using Machine Learning Techniques: the case of Lion...
Customer Churn Prediction Using Machine Learning Techniques: the case of Lion...
IIJSRJournal
 
Churn customer analysis
Churn customer analysisChurn customer analysis
Churn customer analysis
Dr.Bechoo Lal
 
Customer Churn, A Data Science Use Case in Telecom
Customer Churn, A Data Science Use Case in TelecomCustomer Churn, A Data Science Use Case in Telecom
Customer Churn, A Data Science Use Case in Telecom
Chris Chen
 
Churn modelling
Churn modellingChurn modelling
Churn modelling
Yogesh Khandelwal
 
Telco churn presentation
Telco churn presentationTelco churn presentation
Telco churn presentation
Aditya Bahl
 
Ways to Reduce the Customer Churn Rate
Ways to Reduce the Customer Churn RateWays to Reduce the Customer Churn Rate
Ways to Reduce the Customer Churn Rate
FORMCEPT
 
Predicting the e-commerce churn
Predicting the e-commerce churnPredicting the e-commerce churn
Predicting the e-commerce churn
Lviv Data Science Summer School
 
Telcom churn .pptx
Telcom churn .pptxTelcom churn .pptx
Telcom churn .pptx
ResearchproGlobal
 
Customer Churn Prevention Powerpoint Presentation Slides
Customer Churn Prevention Powerpoint Presentation SlidesCustomer Churn Prevention Powerpoint Presentation Slides
Customer Churn Prevention Powerpoint Presentation Slides
SlideTeam
 
Telecommunication Analysis (3 use-cases) with IBM watson analytics
Telecommunication Analysis (3 use-cases) with IBM watson analyticsTelecommunication Analysis (3 use-cases) with IBM watson analytics
Telecommunication Analysis (3 use-cases) with IBM watson analytics
sheetal sharma
 
Customer attrition and churn modeling
Customer attrition and churn modelingCustomer attrition and churn modeling
Customer attrition and churn modeling
Mariya Korsakova
 
Customer Churn prediction in ECommerce Sector.pdf
Customer Churn prediction in ECommerce Sector.pdfCustomer Churn prediction in ECommerce Sector.pdf
Customer Churn prediction in ECommerce Sector.pdf
virajkhot5
 
Customer churn prediction in banking
Customer churn prediction in bankingCustomer churn prediction in banking
Customer churn prediction in banking
BU - PG Master Computing Conference
 
Churn Analysis in Telecom Industry
Churn Analysis in Telecom IndustryChurn Analysis in Telecom Industry
Churn Analysis in Telecom Industry
Satyam Barsaiyan
 

What's hot (20)

Churn Prediction in Practice
Churn Prediction in PracticeChurn Prediction in Practice
Churn Prediction in Practice
 
Data analytics telecom churn final ppt
Data analytics telecom churn final ppt Data analytics telecom churn final ppt
Data analytics telecom churn final ppt
 
Data mining and analysis of customer churn dataset
Data mining and analysis of customer churn datasetData mining and analysis of customer churn dataset
Data mining and analysis of customer churn dataset
 
Churn in the Telecommunications Industry
Churn in the Telecommunications IndustryChurn in the Telecommunications Industry
Churn in the Telecommunications Industry
 
Prediction of customer propensity to churn - Telecom Industry
Prediction of customer propensity to churn - Telecom IndustryPrediction of customer propensity to churn - Telecom Industry
Prediction of customer propensity to churn - Telecom Industry
 
IRJET - Customer Churn Analysis in Telecom Industry
IRJET - Customer Churn Analysis in Telecom IndustryIRJET - Customer Churn Analysis in Telecom Industry
IRJET - Customer Churn Analysis in Telecom Industry
 
Customer Churn Prediction Using Machine Learning Techniques: the case of Lion...
Customer Churn Prediction Using Machine Learning Techniques: the case of Lion...Customer Churn Prediction Using Machine Learning Techniques: the case of Lion...
Customer Churn Prediction Using Machine Learning Techniques: the case of Lion...
 
Churn customer analysis
Churn customer analysisChurn customer analysis
Churn customer analysis
 
Customer Churn, A Data Science Use Case in Telecom
Customer Churn, A Data Science Use Case in TelecomCustomer Churn, A Data Science Use Case in Telecom
Customer Churn, A Data Science Use Case in Telecom
 
Churn modelling
Churn modellingChurn modelling
Churn modelling
 
Telco churn presentation
Telco churn presentationTelco churn presentation
Telco churn presentation
 
Ways to Reduce the Customer Churn Rate
Ways to Reduce the Customer Churn RateWays to Reduce the Customer Churn Rate
Ways to Reduce the Customer Churn Rate
 
Predicting the e-commerce churn
Predicting the e-commerce churnPredicting the e-commerce churn
Predicting the e-commerce churn
 
Telcom churn .pptx
Telcom churn .pptxTelcom churn .pptx
Telcom churn .pptx
 
Customer Churn Prevention Powerpoint Presentation Slides
Customer Churn Prevention Powerpoint Presentation SlidesCustomer Churn Prevention Powerpoint Presentation Slides
Customer Churn Prevention Powerpoint Presentation Slides
 
Telecommunication Analysis (3 use-cases) with IBM watson analytics
Telecommunication Analysis (3 use-cases) with IBM watson analyticsTelecommunication Analysis (3 use-cases) with IBM watson analytics
Telecommunication Analysis (3 use-cases) with IBM watson analytics
 
Customer attrition and churn modeling
Customer attrition and churn modelingCustomer attrition and churn modeling
Customer attrition and churn modeling
 
Customer Churn prediction in ECommerce Sector.pdf
Customer Churn prediction in ECommerce Sector.pdfCustomer Churn prediction in ECommerce Sector.pdf
Customer Churn prediction in ECommerce Sector.pdf
 
Customer churn prediction in banking
Customer churn prediction in bankingCustomer churn prediction in banking
Customer churn prediction in banking
 
Churn Analysis in Telecom Industry
Churn Analysis in Telecom IndustryChurn Analysis in Telecom Industry
Churn Analysis in Telecom Industry
 

Similar to Customer Churn Analysis and Prediction

Customer_Churn_prediction.pptx
Customer_Churn_prediction.pptxCustomer_Churn_prediction.pptx
Customer_Churn_prediction.pptx
Aniket Patil
 
Customer_Churn_prediction.pptx
Customer_Churn_prediction.pptxCustomer_Churn_prediction.pptx
Customer_Churn_prediction.pptx
patilaniket2418
 
Customer churn classification using machine learning techniques
Customer churn classification using machine learning techniquesCustomer churn classification using machine learning techniques
Customer churn classification using machine learning techniques
SindhujanDhayalan
 
Data Mining to Classify Telco Churners
Data Mining to Classify Telco ChurnersData Mining to Classify Telco Churners
Data Mining to Classify Telco Churners
MohitMhapuskar
 
Data Mining on Customer Churn Classification
Data Mining on Customer Churn ClassificationData Mining on Customer Churn Classification
Data Mining on Customer Churn Classification
Kaushik Rajan
 
Machine Learning Approaches to Predict Customer Churn in Telecommunications I...
Machine Learning Approaches to Predict Customer Churn in Telecommunications I...Machine Learning Approaches to Predict Customer Churn in Telecommunications I...
Machine Learning Approaches to Predict Customer Churn in Telecommunications I...
IRJET Journal
 
EVALUTION OF CHURN PREDICTING PROCESS USING CUSTOMER BEHAVIOUR PATTERN
EVALUTION OF CHURN PREDICTING PROCESS USING CUSTOMER BEHAVIOUR PATTERNEVALUTION OF CHURN PREDICTING PROCESS USING CUSTOMER BEHAVIOUR PATTERN
EVALUTION OF CHURN PREDICTING PROCESS USING CUSTOMER BEHAVIOUR PATTERN
IRJET Journal
 
CRMS_Project-JF-edits
CRMS_Project-JF-editsCRMS_Project-JF-edits
Automated Feature Selection and Churn Prediction using Deep Learning Models
Automated Feature Selection and Churn Prediction using Deep Learning ModelsAutomated Feature Selection and Churn Prediction using Deep Learning Models
Automated Feature Selection and Churn Prediction using Deep Learning Models
IRJET Journal
 
Telecom Churn Prediction from Customer Usage Data (Igor Tymchuk)
Telecom Churn Prediction from Customer Usage Data (Igor Tymchuk)Telecom Churn Prediction from Customer Usage Data (Igor Tymchuk)
Telecom Churn Prediction from Customer Usage Data (Igor Tymchuk)
Lviv IT School
 
How to make a metering system work! and what still needs to be done canice emeka
How to make a metering system work! and what still needs to be done canice emekaHow to make a metering system work! and what still needs to be done canice emeka
How to make a metering system work! and what still needs to be done canice emeka
CANICE EMEKA
 
Comparative Analysis of Machine Learning Algorithms for their Effectiveness i...
Comparative Analysis of Machine Learning Algorithms for their Effectiveness i...Comparative Analysis of Machine Learning Algorithms for their Effectiveness i...
Comparative Analysis of Machine Learning Algorithms for their Effectiveness i...
IRJET Journal
 
Evolution of Lending Industry with AI
Evolution of Lending Industry with AIEvolution of Lending Industry with AI
Evolution of Lending Industry with AI
Ashutosh Kumar
 
!MPACT! Communication
!MPACT! Communication!MPACT! Communication
!MPACT! Communication
karenal69
 
RiskMngForum_MyPresentation_Istanbul_Summary
RiskMngForum_MyPresentation_Istanbul_SummaryRiskMngForum_MyPresentation_Istanbul_Summary
RiskMngForum_MyPresentation_Istanbul_Summary
Hasan Fehmi Gencer, MBA, PMP, ITIL4
 
The Era of Everyday Bank- Cards Innovation
The Era of Everyday Bank- Cards InnovationThe Era of Everyday Bank- Cards Innovation
The Era of Everyday Bank- Cards Innovation
WNS Global Services
 
Share Credit_Card_Fraud_Detection_ML_MP (1).pptx
Share Credit_Card_Fraud_Detection_ML_MP (1).pptxShare Credit_Card_Fraud_Detection_ML_MP (1).pptx
Share Credit_Card_Fraud_Detection_ML_MP (1).pptx
yatintaneja6
 
Capgemini ses - smart grid operational services- utility mobile it adoption...
Capgemini   ses - smart grid operational services- utility mobile it adoption...Capgemini   ses - smart grid operational services- utility mobile it adoption...
Capgemini ses - smart grid operational services- utility mobile it adoption...
Gord Reynolds
 
Challenges for Meter Shop Operations of the Future
Challenges for Meter Shop Operations of the FutureChallenges for Meter Shop Operations of the Future
Challenges for Meter Shop Operations of the Future
TESCO - The Eastern Specialty Company
 
CREDIT CARD FRAUD DETECTION
CREDIT CARD FRAUD DETECTION CREDIT CARD FRAUD DETECTION
CREDIT CARD FRAUD DETECTION
K Srinivas Rao
 

Similar to Customer Churn Analysis and Prediction (20)

Customer_Churn_prediction.pptx
Customer_Churn_prediction.pptxCustomer_Churn_prediction.pptx
Customer_Churn_prediction.pptx
 
Customer_Churn_prediction.pptx
Customer_Churn_prediction.pptxCustomer_Churn_prediction.pptx
Customer_Churn_prediction.pptx
 
Customer churn classification using machine learning techniques
Customer churn classification using machine learning techniquesCustomer churn classification using machine learning techniques
Customer churn classification using machine learning techniques
 
Data Mining to Classify Telco Churners
Data Mining to Classify Telco ChurnersData Mining to Classify Telco Churners
Data Mining to Classify Telco Churners
 
Data Mining on Customer Churn Classification
Data Mining on Customer Churn ClassificationData Mining on Customer Churn Classification
Data Mining on Customer Churn Classification
 
Machine Learning Approaches to Predict Customer Churn in Telecommunications I...
Machine Learning Approaches to Predict Customer Churn in Telecommunications I...Machine Learning Approaches to Predict Customer Churn in Telecommunications I...
Machine Learning Approaches to Predict Customer Churn in Telecommunications I...
 
EVALUTION OF CHURN PREDICTING PROCESS USING CUSTOMER BEHAVIOUR PATTERN
EVALUTION OF CHURN PREDICTING PROCESS USING CUSTOMER BEHAVIOUR PATTERNEVALUTION OF CHURN PREDICTING PROCESS USING CUSTOMER BEHAVIOUR PATTERN
EVALUTION OF CHURN PREDICTING PROCESS USING CUSTOMER BEHAVIOUR PATTERN
 
CRMS_Project-JF-edits
CRMS_Project-JF-editsCRMS_Project-JF-edits
CRMS_Project-JF-edits
 
Automated Feature Selection and Churn Prediction using Deep Learning Models
Automated Feature Selection and Churn Prediction using Deep Learning ModelsAutomated Feature Selection and Churn Prediction using Deep Learning Models
Automated Feature Selection and Churn Prediction using Deep Learning Models
 
Telecom Churn Prediction from Customer Usage Data (Igor Tymchuk)
Telecom Churn Prediction from Customer Usage Data (Igor Tymchuk)Telecom Churn Prediction from Customer Usage Data (Igor Tymchuk)
Telecom Churn Prediction from Customer Usage Data (Igor Tymchuk)
 
How to make a metering system work! and what still needs to be done canice emeka
How to make a metering system work! and what still needs to be done canice emekaHow to make a metering system work! and what still needs to be done canice emeka
How to make a metering system work! and what still needs to be done canice emeka
 
Comparative Analysis of Machine Learning Algorithms for their Effectiveness i...
Comparative Analysis of Machine Learning Algorithms for their Effectiveness i...Comparative Analysis of Machine Learning Algorithms for their Effectiveness i...
Comparative Analysis of Machine Learning Algorithms for their Effectiveness i...
 
Evolution of Lending Industry with AI
Evolution of Lending Industry with AIEvolution of Lending Industry with AI
Evolution of Lending Industry with AI
 
!MPACT! Communication
!MPACT! Communication!MPACT! Communication
!MPACT! Communication
 
RiskMngForum_MyPresentation_Istanbul_Summary
RiskMngForum_MyPresentation_Istanbul_SummaryRiskMngForum_MyPresentation_Istanbul_Summary
RiskMngForum_MyPresentation_Istanbul_Summary
 
The Era of Everyday Bank- Cards Innovation
The Era of Everyday Bank- Cards InnovationThe Era of Everyday Bank- Cards Innovation
The Era of Everyday Bank- Cards Innovation
 
Share Credit_Card_Fraud_Detection_ML_MP (1).pptx
Share Credit_Card_Fraud_Detection_ML_MP (1).pptxShare Credit_Card_Fraud_Detection_ML_MP (1).pptx
Share Credit_Card_Fraud_Detection_ML_MP (1).pptx
 
Capgemini ses - smart grid operational services- utility mobile it adoption...
Capgemini   ses - smart grid operational services- utility mobile it adoption...Capgemini   ses - smart grid operational services- utility mobile it adoption...
Capgemini ses - smart grid operational services- utility mobile it adoption...
 
Challenges for Meter Shop Operations of the Future
Challenges for Meter Shop Operations of the FutureChallenges for Meter Shop Operations of the Future
Challenges for Meter Shop Operations of the Future
 
CREDIT CARD FRAUD DETECTION
CREDIT CARD FRAUD DETECTION CREDIT CARD FRAUD DETECTION
CREDIT CARD FRAUD DETECTION
 

Recently uploaded

ViewShift: Hassle-free Dynamic Policy Enforcement for Every Data Lake
ViewShift: Hassle-free Dynamic Policy Enforcement for Every Data LakeViewShift: Hassle-free Dynamic Policy Enforcement for Every Data Lake
ViewShift: Hassle-free Dynamic Policy Enforcement for Every Data Lake
Walaa Eldin Moustafa
 
一比一原版(UCSB文凭证书)圣芭芭拉分校毕业证如何办理
一比一原版(UCSB文凭证书)圣芭芭拉分校毕业证如何办理一比一原版(UCSB文凭证书)圣芭芭拉分校毕业证如何办理
一比一原版(UCSB文凭证书)圣芭芭拉分校毕业证如何办理
nuttdpt
 
Palo Alto Cortex XDR presentation .......
Palo Alto Cortex XDR presentation .......Palo Alto Cortex XDR presentation .......
Palo Alto Cortex XDR presentation .......
Sachin Paul
 
一比一原版(Glasgow毕业证书)格拉斯哥大学毕业证如何办理
一比一原版(Glasgow毕业证书)格拉斯哥大学毕业证如何办理一比一原版(Glasgow毕业证书)格拉斯哥大学毕业证如何办理
一比一原版(Glasgow毕业证书)格拉斯哥大学毕业证如何办理
g4dpvqap0
 
06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...
06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...
06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...
Timothy Spann
 
Influence of Marketing Strategy and Market Competition on Business Plan
Influence of Marketing Strategy and Market Competition on Business PlanInfluence of Marketing Strategy and Market Competition on Business Plan
Influence of Marketing Strategy and Market Competition on Business Plan
jerlynmaetalle
 
Predictably Improve Your B2B Tech Company's Performance by Leveraging Data
Predictably Improve Your B2B Tech Company's Performance by Leveraging DataPredictably Improve Your B2B Tech Company's Performance by Leveraging Data
Predictably Improve Your B2B Tech Company's Performance by Leveraging Data
Kiwi Creative
 
Challenges of Nation Building-1.pptx with more important
Challenges of Nation Building-1.pptx with more importantChallenges of Nation Building-1.pptx with more important
Challenges of Nation Building-1.pptx with more important
Sm321
 
DSSML24_tspann_CodelessGenerativeAIPipelines
DSSML24_tspann_CodelessGenerativeAIPipelinesDSSML24_tspann_CodelessGenerativeAIPipelines
DSSML24_tspann_CodelessGenerativeAIPipelines
Timothy Spann
 
办(uts毕业证书)悉尼科技大学毕业证学历证书原版一模一样
办(uts毕业证书)悉尼科技大学毕业证学历证书原版一模一样办(uts毕业证书)悉尼科技大学毕业证学历证书原版一模一样
办(uts毕业证书)悉尼科技大学毕业证学历证书原版一模一样
apvysm8
 
一比一原版(牛布毕业证书)牛津布鲁克斯大学毕业证如何办理
一比一原版(牛布毕业证书)牛津布鲁克斯大学毕业证如何办理一比一原版(牛布毕业证书)牛津布鲁克斯大学毕业证如何办理
一比一原版(牛布毕业证书)牛津布鲁克斯大学毕业证如何办理
74nqk8xf
 
Experts live - Improving user adoption with AI
Experts live - Improving user adoption with AIExperts live - Improving user adoption with AI
Experts live - Improving user adoption with AI
jitskeb
 
一比一原版(UO毕业证)渥太华大学毕业证如何办理
一比一原版(UO毕业证)渥太华大学毕业证如何办理一比一原版(UO毕业证)渥太华大学毕业证如何办理
一比一原版(UO毕业证)渥太华大学毕业证如何办理
aqzctr7x
 
Global Situational Awareness of A.I. and where its headed
Global Situational Awareness of A.I. and where its headedGlobal Situational Awareness of A.I. and where its headed
Global Situational Awareness of A.I. and where its headed
vikram sood
 
一比一原版(爱大毕业证书)爱丁堡大学毕业证如何办理
一比一原版(爱大毕业证书)爱丁堡大学毕业证如何办理一比一原版(爱大毕业证书)爱丁堡大学毕业证如何办理
一比一原版(爱大毕业证书)爱丁堡大学毕业证如何办理
g4dpvqap0
 
Population Growth in Bataan: The effects of population growth around rural pl...
Population Growth in Bataan: The effects of population growth around rural pl...Population Growth in Bataan: The effects of population growth around rural pl...
Population Growth in Bataan: The effects of population growth around rural pl...
Bill641377
 
Intelligence supported media monitoring in veterinary medicine
Intelligence supported media monitoring in veterinary medicineIntelligence supported media monitoring in veterinary medicine
Intelligence supported media monitoring in veterinary medicine
AndrzejJarynowski
 
My burning issue is homelessness K.C.M.O.
My burning issue is homelessness K.C.M.O.My burning issue is homelessness K.C.M.O.
My burning issue is homelessness K.C.M.O.
rwarrenll
 
End-to-end pipeline agility - Berlin Buzzwords 2024
End-to-end pipeline agility - Berlin Buzzwords 2024End-to-end pipeline agility - Berlin Buzzwords 2024
End-to-end pipeline agility - Berlin Buzzwords 2024
Lars Albertsson
 
在线办理(英国UCA毕业证书)创意艺术大学毕业证在读证明一模一样
在线办理(英国UCA毕业证书)创意艺术大学毕业证在读证明一模一样在线办理(英国UCA毕业证书)创意艺术大学毕业证在读证明一模一样
在线办理(英国UCA毕业证书)创意艺术大学毕业证在读证明一模一样
v7oacc3l
 

Recently uploaded (20)

ViewShift: Hassle-free Dynamic Policy Enforcement for Every Data Lake
ViewShift: Hassle-free Dynamic Policy Enforcement for Every Data LakeViewShift: Hassle-free Dynamic Policy Enforcement for Every Data Lake
ViewShift: Hassle-free Dynamic Policy Enforcement for Every Data Lake
 
一比一原版(UCSB文凭证书)圣芭芭拉分校毕业证如何办理
一比一原版(UCSB文凭证书)圣芭芭拉分校毕业证如何办理一比一原版(UCSB文凭证书)圣芭芭拉分校毕业证如何办理
一比一原版(UCSB文凭证书)圣芭芭拉分校毕业证如何办理
 
Palo Alto Cortex XDR presentation .......
Palo Alto Cortex XDR presentation .......Palo Alto Cortex XDR presentation .......
Palo Alto Cortex XDR presentation .......
 
一比一原版(Glasgow毕业证书)格拉斯哥大学毕业证如何办理
一比一原版(Glasgow毕业证书)格拉斯哥大学毕业证如何办理一比一原版(Glasgow毕业证书)格拉斯哥大学毕业证如何办理
一比一原版(Glasgow毕业证书)格拉斯哥大学毕业证如何办理
 
06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...
06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...
06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...
 
Influence of Marketing Strategy and Market Competition on Business Plan
Influence of Marketing Strategy and Market Competition on Business PlanInfluence of Marketing Strategy and Market Competition on Business Plan
Influence of Marketing Strategy and Market Competition on Business Plan
 
Predictably Improve Your B2B Tech Company's Performance by Leveraging Data
Predictably Improve Your B2B Tech Company's Performance by Leveraging DataPredictably Improve Your B2B Tech Company's Performance by Leveraging Data
Predictably Improve Your B2B Tech Company's Performance by Leveraging Data
 
Challenges of Nation Building-1.pptx with more important
Challenges of Nation Building-1.pptx with more importantChallenges of Nation Building-1.pptx with more important
Challenges of Nation Building-1.pptx with more important
 
DSSML24_tspann_CodelessGenerativeAIPipelines
DSSML24_tspann_CodelessGenerativeAIPipelinesDSSML24_tspann_CodelessGenerativeAIPipelines
DSSML24_tspann_CodelessGenerativeAIPipelines
 
办(uts毕业证书)悉尼科技大学毕业证学历证书原版一模一样
办(uts毕业证书)悉尼科技大学毕业证学历证书原版一模一样办(uts毕业证书)悉尼科技大学毕业证学历证书原版一模一样
办(uts毕业证书)悉尼科技大学毕业证学历证书原版一模一样
 
一比一原版(牛布毕业证书)牛津布鲁克斯大学毕业证如何办理
一比一原版(牛布毕业证书)牛津布鲁克斯大学毕业证如何办理一比一原版(牛布毕业证书)牛津布鲁克斯大学毕业证如何办理
一比一原版(牛布毕业证书)牛津布鲁克斯大学毕业证如何办理
 
Experts live - Improving user adoption with AI
Experts live - Improving user adoption with AIExperts live - Improving user adoption with AI
Experts live - Improving user adoption with AI
 
一比一原版(UO毕业证)渥太华大学毕业证如何办理
一比一原版(UO毕业证)渥太华大学毕业证如何办理一比一原版(UO毕业证)渥太华大学毕业证如何办理
一比一原版(UO毕业证)渥太华大学毕业证如何办理
 
Global Situational Awareness of A.I. and where its headed
Global Situational Awareness of A.I. and where its headedGlobal Situational Awareness of A.I. and where its headed
Global Situational Awareness of A.I. and where its headed
 
一比一原版(爱大毕业证书)爱丁堡大学毕业证如何办理
一比一原版(爱大毕业证书)爱丁堡大学毕业证如何办理一比一原版(爱大毕业证书)爱丁堡大学毕业证如何办理
一比一原版(爱大毕业证书)爱丁堡大学毕业证如何办理
 
Population Growth in Bataan: The effects of population growth around rural pl...
Population Growth in Bataan: The effects of population growth around rural pl...Population Growth in Bataan: The effects of population growth around rural pl...
Population Growth in Bataan: The effects of population growth around rural pl...
 
Intelligence supported media monitoring in veterinary medicine
Intelligence supported media monitoring in veterinary medicineIntelligence supported media monitoring in veterinary medicine
Intelligence supported media monitoring in veterinary medicine
 
My burning issue is homelessness K.C.M.O.
My burning issue is homelessness K.C.M.O.My burning issue is homelessness K.C.M.O.
My burning issue is homelessness K.C.M.O.
 
End-to-end pipeline agility - Berlin Buzzwords 2024
End-to-end pipeline agility - Berlin Buzzwords 2024End-to-end pipeline agility - Berlin Buzzwords 2024
End-to-end pipeline agility - Berlin Buzzwords 2024
 
在线办理(英国UCA毕业证书)创意艺术大学毕业证在读证明一模一样
在线办理(英国UCA毕业证书)创意艺术大学毕业证在读证明一模一样在线办理(英国UCA毕业证书)创意艺术大学毕业证在读证明一模一样
在线办理(英国UCA毕业证书)创意艺术大学毕业证在读证明一模一样
 

Customer Churn Analysis and Prediction

  • 1. Customer Churn Prediction In Telecom Industry By : Soumit Kar MBA in HRM and Marketing Management
  • 2. Procedure ❖ Identify Problem Statements. ❖ Data Collection ❖ Exploratory Data Analysis ❖ Feature Engineering ❖ Feature Selection ❖ Handling Imbalance Data ❖ Model Selection ❖ Create and Deploy App Churn prediction detecting customers who are likely to cancel a subscription to a service. Churn is a problem for telecom companies because it is more expensive to acquire a new customer than to keep your existing one from leaving.
  • 3. ● To predict Customer churn ● Factor Affecting Customer Churn ● what's the most profitable service types? ● What's the amount lose in revenue? Problem Statement Data Collection Data collected from Kaggle. ● Customers who left within the last month – the column is called Churn ● Services that each customer has signed up for – phone, multiple lines, internet, online security, online backup, device protection, tech support, and streaming TV and movies ● Customer account information – how long they’ve been a customer, contract, payment method, paperless billing, monthly charges, and total charges ● Demographic info about customers – gender, age range, and if they have partners and dependents
  • 4. ● pandas ● numpy ● matplotlib ● seaborn ● scipy ● statsmodels ● sklearn ● lifelines ● Sweet viz ● xgboost ● lightgbm ● catboost ● pickle ● Imblearn ● Collections ● Eli5 ● Pdpbox ● sha ● joblib Libraries ● Data Audit ● Drop 11 missing values in ‘Total Charges’ column as per no use
  • 5. EDA From KDE Plot ● Recent clients are more likely to churn. ● Clients with higher Monthly Charges are also more likely to churn. ● Tenure and Monthly Charges are probably important features. From boxplot ● 75% of churners pay between 60 and 100 dollars a month ● One important mark we can see in this plots that 50% of Churners leave the company before the first year goes by.
  • 6. sudden drop in the starting which says that after one tenure only customers starts churning rapidly and after that churning rate decreases. Survival Analysis (Kaplan Meier Curve)
  • 7.
  • 9.
  • 10.
  • 11. ● Gender - The churn percent is almost equal in case of Male and Females ● The percent of churn is higher in case of senior citizens ● Customers with Partners and Dependents have lower churn rate as compared to those who don't have partners & Dependents. ● Churn rate is much higher in case of Fiber Optic Internet Services. ● Customers who do not have services like No OnlineSecurity , Online Backup and TechSupport have left the platform in the past month. ● A larger percent of Customers with monthly subscription have left when compared to Customers with one or two year contract. ● Churn percent is higher in case of customers having paperless billing option. ● Customers who have Electronic Check Payment Method tend to leave the platform more when compared to other options.
  • 12. Revenue analysis ● 31% of total revenue was "lost" by people who left. ● Optical fiber is responsible for 53% (168,99k) of the monthly revenue, DSL 37% (118,14k) ● 87% of all monthly revenue lost are caused by customers with Month-to- Month Contracts
  • 13. Cheak Outliers Checked outliers by IQR method no outliers detected. Encoding Convert tenure group to 5 groups Categorical columns to dummy variables, as there is yes / no values
  • 14. ❏ Drop customer ID column ❏ For feature selection used chi2 test ❏ Gender, Multiplelines, Phone Servies have greater p-value, so null- hypothesis rejected also in survival curve there is no importance. ❏ Drop columns with 0.9 of correlation 1.DeviceProtection_No internet service 2.OnlineBackup_No internet service 3.OnlineSecurity_No internet service 4,StreamingMovies_No internet service 5.StreamingTV_No internet service 6.TechSupport_No internet service Feature selection
  • 17. ● K-Nearest Neighbour and Support Vector Machine need Scaling data ● These distanced based algorithms finds the closer distance between data points and find similarities ● Transfer the data range(1,0) [SVM] Transformation Minmax Scaler
  • 18. Oversampling Tomek links to the over-sampling instead of removing only the majority class examples that form Tomek links, examples from both classes are removed The num of classes before fit Counter({Not Churn: 4125, Churn: 1500}) the num of classes after fit Counter({Not Churn: 3949, Churn: 2711}) Imbalance data Handling Smote Tomek
  • 20. Select Random Forest classifier for model Building Random Forest Classifier AUC Score (ROC): 0.8343163055908016 F1 score: 0.5548387096774193 AUC Score (PR): 0.627076181352386
  • 23. PDPbox is a partial dependence plot toolbox written in Python. The goal is to visualize the impact of certain features towards model prediction for any supervised learning algorithm. (now support all scikit-learn algorithms) partial dependence plot
  • 24. SHAP (SHapley Additive exPlanations) is a game theoretic approach to explain the output of any machine learning model. Gauge chart use for indicating the performance as per churning probabilities.
  • 25. Github - Link Go to web App - Link Medium - Link
  • 26. ● Use the App to predict churn probabilities ● Engage with your customers ● Define your most valuable customers ● Give better service ● Pay attention to complaints ● Make your best people deal with customers at risk ● Flaunt your competitive advantages ● Offer long term contracts Reduce Telecom Customer Churn & Conclusion