Learn R Programming

⚠️There's a newer version (0.11.0) of this package.Take me there.

mlr3viz

Package website: release | dev

This R package provides visualizations for mlr3 objects such as tasks, predictions, resample results or benchmark results via the autoplot() generic of ggplot2.

Installation

Install the last release from CRAN:

install.packages("mlr3")

Install the development version from GitHub:

remotes::install_github("mlr-org/mlr3viz")

Short Demo

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

Copy Link

Version

Install

install.packages('mlr3viz')

Monthly Downloads

5,171

Version

0.5.3

License

LGPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Michel Lang

Last Published

March 15th, 2021

Functions in mlr3viz (0.5.3)

autoplot.PredictionSurv

Plot for PredictionSurv
autoplot.LearnerClassifRpart

Plot for LearnerClassifRpart / LearnerRegrRpart
autoplot.PredictionClassif

Plot for PredictionClassif
autoplot.Filter

Plot for Filter Scores
autoplot.LearnerClustHierarchical

Plot for Hierarchical Clustering Learners
autoplot.PredictionRegr

Plot for PredictionRegr
as_precrec

Convert to 'precrec' Format
autoplot.LearnerClassifCVGlmnet

Plot for LearnerClassifGlmnet / LearnerRegrGlmnet / LearnerClassifCVGlmnet / LearnerRegrCVGlmnet
autoplot.PredictionClust

Plot for PredictionClust
autoplot.BenchmarkResult

Plot for BenchmarkResult
autoplot.TaskRegr

Plot for Regression Tasks
autoplot.TaskClust

Plot for Clustering Tasks
mlr3viz-package

mlr3viz: Visualizations for 'mlr3'
autoplot.TuningInstanceSingleCrit

Plot for TuningInstanceSingleCrit
predict_grid

Generates a data.table of evenly distributed points.
plot_learner_prediction

Plot for Learner Predictions
reexports

Objects exported from other packages
autoplot.TaskSurv

Plot for Survival Tasks
autoplot.TaskClassif

Plot for Classification Tasks
autoplot.ResampleResult

Plot for ResampleResult
autoplot.TaskDens

Plot for Density Tasks