Mastering gradient boosting machines