We show how to encode factor levels for the xgboost learner with mlr3pipelines.
Post moved to mlr-org.com/gallery/2020-01-31-encode-factors-for-xgboost/.
For attribution, please cite this work as
Lang (2020, Jan. 31). mlr3gallery: Encode Factor Levels for xgboost. Retrieved from https://mlr3gallery.mlr-org.com/posts/2020-01-31-encode-factors-for-xgboost/
BibTeX citation
@misc{lang2020encode, author = {Lang, Michel}, title = {mlr3gallery: Encode Factor Levels for xgboost}, url = {https://mlr3gallery.mlr-org.com/posts/2020-01-31-encode-factors-for-xgboost/}, year = {2020} }