Rijin Baby & Angelina Khatiwada,
MSc Data Science and Economics, UNIMI
June, 2021
Dataset: In-vehicle coupon recommendation
Data was collected via a survey on Amazon Mechanical Turk. The survey describes different driving scenarios including the destination, current time, weather, passenger, etc., and then ask the person whether he will accept the coupon if he is the driver (Y is a binary response variable).
Project Kaggle Link: https://www.kaggle.com/rijinbaby/analysis-in-vehicle-coupon-recommendation
- Basic exploratory analysis
- Missing & unique values check
- Dropping irrelevant variables
- Creating new variables
- Missing imputation using KNN approach
- Plotting variables
- Logistic Regression with all the parameters
- Multicollinearity check
- Stepwise selection models (both directions, forward, backward)
- Train-test split and Cross-Validation
- Confusion matrix and Sensitivity/Specificity Trade-off
- Penalised models (Lasso and Elastic Net)
- Linear Discriminant Analysis
- Random Forest (parameters tuning, model evaluation)
- Boosting
- Gower distance for mixed type data
- K-medoids Clustering
- Agglomerative clustering (different linkages)
- Clustering Evaluation with Rand Index
- PCA
- Train-test split
- Neural Network using Keras for Binary Classification
- Network parameters: Sigmoid/Hard_sigmoid activation function, Binary Cross-Entropy loss function, etc.
- Cross-Validation on train set
- Accuracy on test set
skimr, readr, plyr, dplyr, purrr, VIM, ggplot2, plotly, caret, grid, gridExtra, pROC, MASS, class, gmodels, randomForest, car, ClusterR, cluster, gbm, Rtsne, glmnet, dendextend, fossil, leaps
tensorflow, keras, scikit-learn, numpy, pandas, matplotlib
To display html reports in a browser, please use the following links: