-
Notifications
You must be signed in to change notification settings - Fork 1
Example for running an induvidual model for cross validaion values
Jayu8 edited this page Dec 21, 2017
·
1 revision
If you want to check the results for each model, them follow the steps below:
Let's say you want to run Random Forests model on the data, then:
cd Otto/model/model_02_random_forest/
In this folder, if you open random_forest.py code, you can see the following line
MODE = 'submission'
You can change MODE to three values
- cv - Cross-Validation is done on the model and the probabilities of each class is stored in an excel sheet and later used as weights for ensembling
- submission - Model is run and probabilities of each class is stored in an excel sheet for ensembling.
- holdout - Immediate Log loss value for the model is determined over here. You can run the code now: (Make sure you are using the correct python version)
python3 random_forest.py
NYU INTRO_TO_ML COURSE_PROJECT