How can I export a gbm model in R?
问题 Is there a standard (or available) way to export a gbm model in R? PMML would work, but when I I try to use the pmml library, perhaps incorrectly, I get an error: For example, my code looks similar to this: library("gbm") library("pmml") model <- gbm( formula, data = my.data, distribution = "adaboost", n.trees = 450, n.minobsinnode = 10, interaction.depth = 4, shrinkage=0.05, verbose=TRUE) export <- pmml(model) # and then export to xml And the error I get is: Error in UseMethod("pmml") : no