Building Blocks

Task

Task Class

Learner

Learner Class

Measure

Measure Class

Resampling

Resampling Class

Prediction

Abstract Prediction Object

Data Backends

DataBackend

DataBackend

DataBackendDataTable

DataBackend for data.table

DataBackendMatrix

DataBackend for Matrix

as_data_backend()

Create a Data Backend

Classification

TaskClassif

Classification Task

LearnerClassif

Classification Learner

MeasureClassif

Classification Measure

PredictionClassif

Prediction Object for Classification

Regression

TaskRegr

Regression Task

LearnerRegr

Regression Learner

MeasureRegr

Regression Measure

PredictionRegr

Prediction Object for Regression

Tasks

mlr_tasks

Dictionary of Tasks

mlr_tasks_boston_housing

Boston Housing Regression Task

mlr_tasks_german_credit

German Credit Classification Task

mlr_tasks_iris

Iris Classification Task

mlr_tasks_mtcars

"Motor Trend" Car Road Tests Task

mlr_tasks_pima

Pima Indian Diabetes Classification Task

mlr_tasks_sonar

Sonar Classification Task

mlr_tasks_spam

Spam Classification Task

mlr_tasks_wine

Wine Classification Task

mlr_tasks_zoo

Zoo Classification Task

Task Generators

TaskGenerator

TaskGenerator Class

TaskGenerator2DNormals

2d Normals Classification Task Generator

TaskGeneratorFriedman1

Friedman1 Regression Task Generator

TaskGeneratorSmiley

Smiley Classification Task Generator

TaskGeneratorXor

XOR Classification Task Generator

mlr_task_generators

Dictionary of Task Generators

Learners

LearnerClassifDebug

Classification Learner for Debugging

LearnerClassifFeatureless

Featureless Classification Learner

LearnerClassifRpart

Classification Tree Learner

LearnerRegrFeatureless

Featureless Regression Learner

LearnerRegrRpart

Regression Tree Learner

mlr_learners

Dictionary of Learners

Measures

MeasureClassifCosts

Cost-sensitive Classification Measure

MeasureDebug

Debug Measure

MeasureElapsedTime

Elapsed Time Measure

MeasureOOBError

Out-of-bag Error Measure

MeasureSelectedFeatures

Selected Features Measure

MeasureSimple

Measures implemented in mlr3measures

mlr_measures

Dictionary of Performance Measures

default_measures()

Get a Default Measure

Resampling Strategies

ResamplingBootstrap

Bootstrap Resampling

ResamplingCV

Cross Validation Resampling

ResamplingCustom

Custom Resampling

ResamplingHoldout

Holdout Resampling

ResamplingRepeatedCV

Repeated Cross Validation Resampling

ResamplingSubsampling

Subsampling Resampling

mlr_resamplings

Dictionary of Resampling Strategies

Resample

resample()

Resample a Learner on a Task

ResampleResult

Container for Results of resample()

Benchmarking

benchmark()

Benchmark Multiple Learners on Multiple Tasks

benchmark_grid()

Generate a Benchmark Grid Design

BenchmarkResult

Container for Results of benchmark()

as_benchmark_result()

Convert to BenchmarkResult

Extending mlr3

assert_backend() assert_task() assert_tasks() assert_learner() assert_learners() assert_learnable() assert_measure() assert_measures() assert_resampling() assert_resamplings() assert_prediction() assert_resample_result() assert_benchmark_result() assert_row_ids()

Assertion for mlr3 Objects

as_task() as_tasks() as_learner() as_learners() as_resampling() as_resamplings() as_measure() as_measures()

Object Coercion

mlr_reflections

Reflections for mlr3

tsk() tsks() tgen() tgens() lrn() lrns() rsmp() rsmps() msr() msrs()

Syntactic Sugar for Object Construction

predict(<Learner>)

Predict Method for Learners