Note
: Use nbviewer (recommended) or google colab in order to view interactive plotly graphs. You can see all the codes and the outputs in nbviwer without running the whole code again.
Kaggle link: Telco Customer Churn
Github link: Telco Customer Churn
In this project, these questions will be answered:
- What's the % of Customers Churn and customers that keep in with the active services?
- Is there any patterns in Customers Churn based on the gender?
- Is there any patterns/preference in Customers Churn based on the type of service provided?
- What's the most profitable service types?
- Which features and services are most profitable?
- Which features have the most impact on predicting customers churn?
- Which model is the best for predicting churn?
Click to expand!
- Problem statement
- Import Libraries and Data
- Handling Missing Values
- Data Analysis and Visualization
- Outlier Detection
- Check for Rare Categories
- Categorical Variables Encoding
- Balance Data
- Dataset Splitting
- Feature Scaling
- Modeling and Parameter Optimization
- Feature Importance
- Results
application | libraries |
---|---|
handle table-like data and matrices | pandas, numpy |
visualisation | plotly, seaborn, missingno |
classification models | sklearn, xgboost, mlens |
balance data | imblearn |