Closed hugs314 closed 1 week ago
autoplot throw an error 'Error: Need a binary classification problem to plot a ROC curve', when I analyzed for multiclass task.
mlr3viz::autoplot(train_resample_obj, type = "roc")
roc curves are only for binary classifciation
Description
autoplot throw an error 'Error: Need a binary classification problem to plot a ROC curve', when I analyzed for multiclass task.
Reproducible example
mlr3viz::autoplot(train_resample_obj, type = "roc")