/speed-dating

Final project for STAT 845 - Classification at University of Waterloo

Primary LanguageR

Speed Dating

Final project for STAT 841 - Classification at University of Waterloo

Steps to run R code

  • We have the whole code as a single file - code.Rmd. Open code.Rmd and update the path to the dataset file speeddating.csv by changing the path variable at line #295 of the code.Rmd file.
  • Make sure you have all the below mentioned packages installed
    • fmsb
    • dplyr
    • plyr
    • tibble
    • stringr
    • ggplot2
    • grid
    • gridBase
    • scales
    • ggplot2
    • gridExtra
    • grid
    • reshape2
    • glmnet
    • MASS
    • klaR
    • randomForest
    • e1071
    • nnet
    • xgboost (needs RTools which is only available for R version > 3.6)
    • sm
    • FNN
  • Now you can either run individual cells or knit the whole code.Rmd file to produce a pdf with the results.