Thank you for your reply. As far as I can see xgboost package does not provide multilabel classification. The mlr package uses a wrapper for xgboost, so I have used the package xgboost. But I still have the problem with the hyperparameter tuning.
Did I understand you correctly? Do you have any other suggestion? Bye, Agnes ________________________________ Van: Bert Gunter <[email protected]> Verzonden: donderdag 27 mei 2021 16:44 Aan: Agnes g2g <[email protected]> CC: [email protected] <[email protected]> Onderwerp: Re: [R] multilabel classification XGBoost and hyperparameter tuning 1. A web search on "xgboost R" brought up R package "xgboost" which you did not mention. Did you not first try a web search or did you find that it did not meet your needs? 2. Have you looked here: https://cran.r-project.org/web/views/Cluster.html or here: https://cran.r-project.org/web/views/MachineLearning.html Cran's "task views" are a useful resource for such "does R have...?" questions. Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into it." -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip ) On Thu, May 27, 2021 at 7:29 AM Agnes g2g <[email protected]<mailto:[email protected]>> wrote: Hi all, I want to do multilabel classification with XGBoost and tune hyperparameters. With the mlr package this does not seem possible, see https://stackoverflow.com/questions/67640953/feature-names-stored-in-object-and-newdata-are-different-using-mlr-package?noredirect=1#comment119651508_67640953 Any ideas how to solve this? What other packages support multilabel classification for XGBoost and has the possibility to tune hyperparameters? Thanks in advance! Bye, Agnes [[alternative HTML version deleted]] ______________________________________________ [email protected]<mailto:[email protected]> mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. [[alternative HTML version deleted]] ______________________________________________ [email protected] mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.

