Install the last release from CRAN:
Install the development version from GitHub:
library(mlr3) library(mlr3viz) task = tsk("pima")$select(c("age", "glucose", "insulin")) learner = lrn("classif.rpart", predict_type = "prob") rr = resample(task, learner, rsmp("cv", folds = 10)) # Default plot for task autoplot(task)
# Pairs plot from GGally autoplot(task, type = "pairs")
# ROC curve for the ResampleResult autoplot(rr, type = "roc")
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.