mlr-org / mlr3verse

Meta-package for installing/updating mlr3* packages.
https://mlr3verse.mlr-org.com
GNU Lesser General Public License v3.0
49 stars 6 forks source link

autoplot or other methods can plot ROC curve for multiclass? #31

Closed hugs314 closed 1 week ago

hugs314 commented 1 year ago

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")

sebffischer commented 1 week ago

roc curves are only for binary classifciation