This function shows GBM's usage with caret's train() method for hyper-parameter tuning