welcome to the co u rse
play

Welcome to the co u rse MAR K E TIN G AN ALYTIC S : P R E D IC TIN G - PowerPoint PPT Presentation

Welcome to the co u rse MAR K E TIN G AN ALYTIC S : P R E D IC TIN G C U STOME R C H U R N IN P YTH ON Mark Peterson Senior Data Scientist , Alliance Data Ch u rn Anal y tics MARKETING ANALYTICS : PREDICTING CUSTOMER CHURN IN PYTHON MARKETING


  1. Welcome to the co u rse MAR K E TIN G AN ALYTIC S : P R E D IC TIN G C U STOME R C H U R N IN P YTH ON Mark Peterson Senior Data Scientist , Alliance Data

  2. Ch u rn Anal y tics MARKETING ANALYTICS : PREDICTING CUSTOMER CHURN IN PYTHON

  3. MARKETING ANALYTICS : PREDICTING CUSTOMER CHURN IN PYTHON

  4. C u stomer ch u rn When an e x isting c u stomer stops doing b u siness w ith a compan y MARKETING ANALYTICS : PREDICTING CUSTOMER CHURN IN PYTHON

  5. Contract u al ch u rn MARKETING ANALYTICS : PREDICTING CUSTOMER CHURN IN PYTHON

  6. Vol u ntar y ch u rn MARKETING ANALYTICS : PREDICTING CUSTOMER CHURN IN PYTHON

  7. Non - contract u al ch u rn MARKETING ANALYTICS : PREDICTING CUSTOMER CHURN IN PYTHON

  8. In v ol u ntar y ch u rn : Credit card e x piration MARKETING ANALYTICS : PREDICTING CUSTOMER CHURN IN PYTHON

  9. In v ol u ntar y ch u rn : Utilities t u rned off MARKETING ANALYTICS : PREDICTING CUSTOMER CHURN IN PYTHON

  10. Utili z ing y o u r e x perience C u stomer Lack of u sage Poor Ser v ice Be � er Price Domain / ind u str y kno w ledge MARKETING ANALYTICS : PREDICTING CUSTOMER CHURN IN PYTHON

  11. Telco Ch u rn Dataset Description Val u e Records 3333 Feat u res 21 Contino u s 15 Categorical 6 MARKETING ANALYTICS : PREDICTING CUSTOMER CHURN IN PYTHON

  12. Feat u res of interest Voice mail International calling Cost for the ser v ice C u stomer u sage C u stomer ch u rn MARKETING ANALYTICS : PREDICTING CUSTOMER CHURN IN PYTHON

  13. Ho w ch u rn is defined here C u stomer cancelling their cell u lar plan at a gi v en point in time "no" "yes" MARKETING ANALYTICS : PREDICTING CUSTOMER CHURN IN PYTHON

  14. E x plorator y data anal y sis u sing pandas Understand the feat u res of the dataset Comp u te s u mmar y statistics MARKETING ANALYTICS : PREDICTING CUSTOMER CHURN IN PYTHON

  15. E x plorator y data anal y sis u sing pandas pandas Fo u ndations df.head() df.describe() df.mean() MARKETING ANALYTICS : PREDICTING CUSTOMER CHURN IN PYTHON

  16. Let ' s e x plore the data ! MAR K E TIN G AN ALYTIC S : P R E D IC TIN G C U STOME R C H U R N IN P YTH ON

  17. Gro u ping and s u mmari z ing data MAR K E TIN G AN ALYTIC S : P R E D IC TIN G C U STOME R C H U R N IN P YTH ON Mark Peterson Senior Data Scientist , Alliance Data

  18. Ch u rners and non - ch u rners print(telco['Churn'].value_counts()) no 2850 yes 483 Name: Churn, dtype: int64 MARKETING ANALYTICS : PREDICTING CUSTOMER CHURN IN PYTHON

  19. Model o u tcomes T w o classes : 'yes' : C u stomer w ill ch u rn 'no' : C u stomer w ill not ch u rn MARKETING ANALYTICS : PREDICTING CUSTOMER CHURN IN PYTHON

  20. Differences bet w een ch u rners and non - ch u rners Do ch u rners call c u stomer ser v ice more o � en ? Does one state ha v e more ch u rners compared to another ? MARKETING ANALYTICS : PREDICTING CUSTOMER CHURN IN PYTHON

  21. Gro u ping and s u mmari z ing data .groupby() MARKETING ANALYTICS : PREDICTING CUSTOMER CHURN IN PYTHON

  22. Let ' s gro u p and s u mmari z e ! MAR K E TIN G AN ALYTIC S : P R E D IC TIN G C U STOME R C H U R N IN P YTH ON

  23. E x ploring y o u r data u sing v is u ali z ations MAR K E TIN G AN ALYTIC S : P R E D IC TIN G C U STOME R C H U R N IN P YTH ON Mark Peterson Senior Data Scientist , Alliance Data

  24. Vis u ali z ing data in P y thon seaborn librar y allo w s y o u to easil y create informati v e and a � racti v e plots B u ilds on top of matplotlib MARKETING ANALYTICS : PREDICTING CUSTOMER CHURN IN PYTHON

  25. Vis u ali z ing the distrib u tion of acco u nt lengths Important to u nderstand ho w y o u r v ariables are distrib u ted import matplotlib.pyplot as plt import seaborn as sns sns.distplot(telco['Account_Length']) plt.show() MARKETING ANALYTICS : PREDICTING CUSTOMER CHURN IN PYTHON

  26. MARKETING ANALYTICS : PREDICTING CUSTOMER CHURN IN PYTHON

  27. Differences in acco u nt length Bo x plot sns.boxplot(x = 'Churn', y = 'Account_Length', data = telco) plt.show() MARKETING ANALYTICS : PREDICTING CUSTOMER CHURN IN PYTHON

  28. Differences in acco u nt lengths Bo x plot sns.boxplot(x = 'Churn', y = 'Account_Length', data = telco) plt.show() MARKETING ANALYTICS : PREDICTING CUSTOMER CHURN IN PYTHON

  29. Differences in acco u nt lengths Bo x plot sns.boxplot(x = 'Churn', y = 'Account_Length', data = telco) plt.show() MARKETING ANALYTICS : PREDICTING CUSTOMER CHURN IN PYTHON

  30. Differences in acco u nt lengths Bo x plot sns.boxplot(x = 'Churn', y = 'Account_Length', data = telco) plt.show() MARKETING ANALYTICS : PREDICTING CUSTOMER CHURN IN PYTHON

  31. Differences in acco u nt lengths Bo x plot sns.boxplot(x = 'Churn', y = 'Account_Length', data = telco) plt.show() MARKETING ANALYTICS : PREDICTING CUSTOMER CHURN IN PYTHON

  32. Differences in acco u nt lengths Bo x plot sns.boxplot(x = 'Churn', y = 'Account_Length', data = telco) plt.show() MARKETING ANALYTICS : PREDICTING CUSTOMER CHURN IN PYTHON

  33. Differences in acco u nt length Bo x plot sns.boxplot(x = 'Churn', y = 'Account_Length', data = telco) plt.show() MARKETING ANALYTICS : PREDICTING CUSTOMER CHURN IN PYTHON

  34. Differences in acco u nt length Bo x plot sns.boxplot(x = 'Churn', y = 'Account_Length', data = telco, sym="") plt.show() MARKETING ANALYTICS : PREDICTING CUSTOMER CHURN IN PYTHON

  35. Adding a third v ariable sns.boxplot(x = 'Churn', y = 'Account_Length', data = telco, hue = 'Intl_Plan') plt.show() MARKETING ANALYTICS : PREDICTING CUSTOMER CHURN IN PYTHON

  36. Let ' s make some plots ! MAR K E TIN G AN ALYTIC S : P R E D IC TIN G C U STOME R C H U R N IN P YTH ON

Recommend


More recommend