[R] multilabel classification XGBoost and hyperparameter tuning

Agnes g2g @gne@g2g @end|ng |rom hotm@||@com
Thu May 27 16:51:18 CEST 2021

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?


Van: Bert Gunter <bgunter.4567 using gmail.com>
Verzonden: donderdag 27 mei 2021 16:44
Aan: Agnes g2g <agnesg2g using hotmail.com>
CC: r-help using r-project.org <r-help using r-project.org>
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 <agnesg2g using hotmail.com<mailto:agnesg2g using hotmail.com>> 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!


        [[alternative HTML version deleted]]

R-help using r-project.org<mailto:R-help using r-project.org> mailing list -- To UNSUBSCRIBE and more, see
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]]

More information about the R-help mailing list