Pastor Soto
Pastor Soto

Reputation: 386

Gradient boosting for multinomial clasification in R?

I am using gradient boosting for a multinomial classification problem. I have a warning message after I run my code. This is one example of documentation.

data(iris)
iris.mod <- gbm::gbm(Species ~ ., distribution="multinomial", data=iris,
                n.trees=2000, shrinkage=0.01, cv.folds=5,
                verbose=FALSE, n.cores=1)
Warning message:
Setting `distribution = "multinomial"` is ill-advised as it is currently broken. It exists only for backwards compatibility. Use at your own risk.

My question is using gbm for multinomial classification is inappropriate given that I get this warning message?

Upvotes: 0

Views: 1834

Answers (0)

Related Questions