Apurv Kaushal
20-10-2018
This App is meant to help any person determine the chances of their mentally ill friend having received psychological treatment.
Just ask three basic questions to your friend & enter their response
Trained the mental health in tech survey data from Kaggle (https://www.kaggle.com/osmi/mental-health-in-tech-survey/home) using Random Forest Model. Shortlisted the three most important questions which explained maximum variability from the VarImp function.
readRDS(file="mentlhealth.rds")
Random Forest
730 samples
4 predictor
2 classes: 'No', 'Yes'
No pre-processing
Resampling: Bootstrapped (25 reps)
Summary of sample sizes: 730, 730, 730, 730, 730, 730, ...
Resampling results across tuning parameters:
mtry Accuracy Kappa
2 0.7803235 0.4804951
4 0.7657830 0.4621542
7 0.6959619 0.3364703
Accuracy was used to select the optimal model using the largest value.
The final value used for the model was mtry = 2.