Encode Factor Levels for xgboost

classification mlr3pipelines factor encoding german credit data set classification

We show how to encode factor levels for the xgboost learner with mlr3pipelines.

Michel Lang
01-31-2020

Post moved to mlr-org.com/gallery/2020-01-31-encode-factors-for-xgboost/.

Citation

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}
}