This function available for Logistic Regression, SVM etc. (model.setThreshold()) but not for GBT. In comparison to "gbm" package in R, where we can specify the distribution and get predicted probabilities or classes. I understand that this algorithm works with "Classification" and "Regression" algo's. Is there any way where in GBT we can get predicted probabilities or provide thresholds to the model?