Question: what is the difference between gbm and random forest?
Answer: Random forests overfit a sample of the training data and then reduces the overfit by simple averaging the predictors. But GBM repeatedly train trees or the residuals of the previous predictors.