Thanks to visit codestin.com
Credit goes to github.com

Skip to content

autoplot(prediction,type = "roc") #168

@panjunchang

Description

@panjunchang

`
tsk_german = tsk("german_credit")
lrn_ranger = lrn("classif.ranger", predict_type = "prob")
splits = partition(tsk_german, ratio = 0.8)

lrn_ranger$train(tsk_german, splits$train)
prediction = lrn_ranger$predict(tsk_german, splits$test)
autoplot(prediction, type = "roc")
`

Warning in ggplot2::fortify(object, raw_curves = raw_curves, reduce_points = reduce_points) :
Arguments in ... must be used.
✖ Problematic argument:
• raw_curves = raw_curves
ℹ Did you misspell an argument name?

autoplot(prediction, type = "prc")

Warning in ggplot2::fortify(object, raw_curves = raw_curves, reduce_points = reduce_points) :
Arguments in ... must be used.
✖ Problematic argument:
• raw_curves = raw_curves
ℹ Did you misspell an argument name?

My env:
R 4.5.1
mlr3 1.2
mlr3learners 0.13.0
mlr3viz 0.10.1
ggplot2 4.0.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions