mallet and gbm fitting scripts