-
This project involves building a binary classification model for predicting telecom churn, a well-known and fundamental classification problem.
-
The notebook includes an overall machine learning process, including Data cleaning and visualization, new features and feature selection, baseline model, model selection and evaluation, feature importance, hyperparameter tuning, model interpretation and final model.
-
Specifically, the major tools included:
- violin plot to check the numerical data vs label
- countplot to check the catagorical data vs label
- check features correlation
- split train and test data
- apply onehotencoder and standardscaler to fit and transform on train set
- apply smote to address the imbalanced data
- define baseline model
- fit and predict model
- output classification report
- check the confusion matrix
- build in pipeline
- Test in different models
- find the best for corss validation and hyperparameter tuning
- plot ROC curves
- check the feature importance using permutation importance
- Run the final model and predict on the holdout set
-
Notifications
You must be signed in to change notification settings - Fork 1
MaggieUBC/Telecom-Churn
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
This project provide a template of the traditional binary classification model. Feel free to check the detailed steps of the whole process machine learning modelling.
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published