Fast implementation of Gradient Boosting Machine (GBM) training algorithm.