Every learner which is implemented in mlr and which supports binary classification can be converted to a wrapped stacking multilabel learner. Stacking trains a binary classifier for each label using predicted label information of all labels (including the target label) as additional features (by cross validation). During prediction these labels need are obtained by the binary relevance method using the same binary learner.

Models can easily be accessed via getLearnerModel.

makeMultilabelStackingWrapper(learner, cv.folds = 2)

## Arguments

learner (Learner | character(1)) The learner. If you pass a string the learner will be created via makeLearner. (integer(1)) The number of folds for the inner cross validation method to predict labels for the augmented feature space. Default is 2.

## References

Montanes, E. et al. (2013) Dependent binary relevance models for multi-label classification Artificial Intelligence Center, University of Oviedo at Gijon, Spain.

#> Error: Please use column names for x