Skip to content

kkairu/classification

Repository files navigation

Classification Machine Learning Models

Feature Selection - RFE with Cross-Validation RFECV

Select the predictors based on the importance rankings.

Data - Kaggle Titanic Dataset

Takeaway:

  • Optimal number of features identified based on accuracy using a Random Forest Estimator

https://github.com/kkairu/classification/blob/master/Feature%20Selection%20-%20RFE%20with%20Cross-Validation%20RFECV.ipynb

Telecom Churn Prediction Using Random Forest vs Neural Networks (Keras)

Statistically 59% of customers don’t return after a bad customer service experience.

Data - Kaggle Telco Dataset

Churn: Whether the customer churned or not (Yes or No)

Takeaway:

  • Random Forests requires less preprocessing and the training process is also much simpler.
  • Hyper-parameter tuning is easier with random forest when compared to neural networks

https://github.com/kkairu/classification/blob/master/RF%20and%20NN%20-%20Telecom%20Churn%20Prediction.ipynb

Telemarketing - Classification Model Comparison

Predictive Model to help telemarketing team concentrate resources on more promising clients first.

Model Comparison:

  • Linear Regression
  • KNeighbors
  • SVM: Support Vector Machines
  • Decision Trees
  • Random Forest Classifier

Data Source - 41,118 Bank Data between 2008 and 2013 and contains the results of a telemarketing campaign including customer’s response to the bank’s offer of a deposit contract.

https://github.com/kkairu/classification/blob/master/ML%20Classification%20-%20Telemarketing%20Data.ipynb

Breast Cancer Classification Using Random Forest

Classification Model for breast cancer Using Random Forest, PCA & Hyperparameter Tuning (RandomizedSearchCV, GridSearchCV)

Model Comparison:

  • Baseline RF
  • Baseline RF with PCA
  • Baseline RF with PCA and Hyperparameter Tuning

Data Source - Dataset = Scikit-learn “breast cancer” dataset. https://scikit-learn.org/stable/modules/generated/sklearn.datasets.load_breast_cancer.html

https://github.com/kkairu/classification/blob/master/RF%20-%20Breast%20Cancer%20Classification.ipynb

About

Machine Learning Classification Models

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published