script for tuning a gbm model on the train data