Skip to content

This is a machine learning project to model bank's customer churn with Random Forest from scratch

Notifications You must be signed in to change notification settings

aifakhri/customer-churn-model

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Random Forest Algorithm from Scratch

Introduction

This is a project to develop random forest classifier from scratch without scikit-learn. However, for Decision Tree Classifier, we still need the scikit-learn due to some issues. Model asides, I also develop the GridSearchCV from scratch, altough some features such as selecting best parameters automatically has not yet added.

Objective

The objectives are:

  • Develop Random Forest Classifier from scratch
  • Tuning the hyperparameter of the classifier with precision metrics
  • Testing the model against a dataset

The dataset that is used for this project is from Kaggle

Easy Report

For the report and explanation about the code please visit my medium

Reference

The code and the report are based on the following sources:

  1. Dietterich, T. G. (2000). Ensemble methods in machine learning. In J. Kittler & F. Roli (Eds.), First International Workshop on Multiple Classifier Systems (pp. 1-15). Springer Verlag.
  2. Biau, G., & Scornet, E. (2016). A random forest guided tour. Test, 25, 197-227.
  3. James, G., Witten, D., Hastie, T., Tibshirani, R., & Taylor, J. (2023). An introduction to statistical learning with applications in Python. Springer.
  4. Hastie, T., Tibshirani, R., & Friedman, J. (2008). The elements of statistical learning: Data mining, inference, and prediction. Springer.
  5. L. Breiman. Random forests. Machine Learning, 45:5 - 32, 2001
  6. Zhou, Z. H., & Zhou, Z. H. (2021). Ensemble learning (pp. 181-210). Springer Singapore.

About

This is a machine learning project to model bank's customer churn with Random Forest from scratch

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published