If I am using parsnip::boost_tree() to run an xgboost, and I want to use a different objective function (e.g. objective=reg:tweedie), is there a way to do that?
I received an error when I tried to run the following:
I don't think this is possible currently from looking at this code. You could suggest it as a feature request in an issue in the repo to check first if they would approve of it as a good idea
Yes(ish). It should so long as it receives the right data in the right format. Poisson should be fine but we're not ready to accept Surv() object just yet (if it uses those). We are just passing objective along to xgb.train().