tidymodels & xgboost

  tidymodels

  Emil Hvitfeldt

The xgboost library has recently gotten a big CRAN release. Jumping from version 1.7.11.1 to 3.1.2.1. We at the tidymodels team have been following the development and have done our best to ensure that your experience is unaffected by this release.

In addition to all the new features and improvements that are now available for users relying on CRAN versions of packages, there are also a few breaking changes. Specifically between version 1.x and 2.x of the xgboost library. The xgboost team has kindly provided a migration guide for how to update your code if you are upgrading from before version 2.x.

If you are using xgboost purely through tidymodels via functions like parsnip::boost_tree() and embed::step_discretize_xgb(), you should not need to change anything, as we have updated our packages to work with both the new and old versions of xgboost. If you are having any issues, please let us know by filing an issue for the affected package.

We look forward to integrating parsnip more deeply into these new changes, such as support for categorical predictors and quantile regression.

Here are the package that we’ve updated or helped the maintainers update