classweights adds a class weight column.
Sample weights are added to each sample according to the target class.
Only binary classification tasks are supported.
Then, how can we generate a classweights column with mlr3 if we have a multiclass outcome?
The documentation says
Then, how can we generate a classweights column with mlr3 if we have a multiclass outcome?