mlr3gallery

Survival Networks with mlr3proba

mlr3proba
survival analysis
tuning
optimization
nested resampling

A demonstration of training, tuning, and comparing survival networks.

Practical Tuning Series - Tuning and Parallel Processing

mlr3tuning
tuning
optimization
nested resampling
parallelization
pima data set
classification
practical tuning series

We teach how to run various jobs in mlr3 in parallel.

Practical Tuning Series - Build an Automated Machine Learning System

mlr3tuning
tuning
optimization
nested resampling
mlr3pipelines
automl
pima data set
classification
practical tuning series

We implement a simple automated machine learning (AutoML) system which includes preprocessing, a switch between multiple learners and hyperparameter tuning.

Practical Tuning Series - Tune a Preprocessing Pipeline

mlr3tuning
tuning
optimization
nested resampling
mlr3pipelines
pima data set
classification
practical tuning series

We build a simple preprocessing pipeline and tune it.

Practical Tuning Series - Tune a Support Vector Machine

mlr3tuning
tuning
optimization
nested resampling
iris data set
classification
practical tuning series

We demonstrate how to optimize the hyperparameters of a support vector machine (SVM).

Tuning a Complex Graph

mlr3tuning
tuning
optimization
mlr3pipelines
classification
bst data set

We show how to tune a complex graph for a single task.

Integer Hyperparameters in Tuners for Real-valued Search Spaces

mlr3tuning
tuning
optimization
iris data set
classification

How to tune integer hyperparameters with tuners that can only propose real numbers.

Feature Selection on the Titanic Data Set

mlr3fselect
optimization
feature selection
nested resampling
titanic data set
classification

Short introduction to feature selection with mlr3fselect.

Threshold Tuning for Classification Tasks

mlr3tuning
tuning
optimization
nested resampling
mlr3pipelines
pima data set
german credit data set
iris data set
classification

Predicting probabilities in classification tasks allows us to adjust the probability thresholds required for assigning an observation to a certain class. This can lead to improved predictive performance.

Liver Patient Classification Based on Diagnostic Measures

tuning
oversampling
classification

This use case provides an example on tuning and benchmarking in mlr3verse using data from the Indian Liver Patient Dataset.

Introduction to mlr3keras - Boston Housing

tuning
neural networks
boston housing data set
regression

This use case provides an introduction to mlr3keras via the boston housing dataset.

Comparison of Decision Boundaries of Classification Learners

classification
visualization
mlr3viz

Visuzalizes the decision boundaries of multiple classification learners on some artificial data sets.

A Production Example Using Plumber and Docker

mlr3pipelines
production
boston housing data set
regression

We write a REST API using plumber and deploy it using Docker.

Bike Sharing Demand

mlr3tuning
tuning
optimization
nested resampling
benchmarking
filtering
branching
bike sharing data set
regression

This use case provides an example on tuning and benchmarking in mlr3verse using data from Capital Bikeshare.

Target Transformations via Pipelines

mlr3pipelines
target transformation
mtcars data set
classification

We show how to do various kinds of target transformations using pipelines.

Why R? Webinar - Pipelines and AutoML with mlr3

video
mlr3
mlr3pipelines

In-depth presentation of the mlr3 and mlr3pipelines packages for the Why R? 2020 Webinar Series.

mlr3 and OpenML - Moneyball Use Case

imputation
regression
feature importance
moneyball data set
mlr3pipelines

This use case shows how to make use of OpenML data and how to impute missing values in a ML problem.

Feature Engineering of Date-Time Variables

date features
feature engineering
mlr3pipelines
bike sharing data set
regression

We show how to engineer features using date-time variables.

A Pipeline for the Titanic Data Set - Advanced

imputation
classification
mlr3pipelines
feature engineering
titanic data set
classification

This post shows how to build a Graph using the mlr3pipelines package on the "titanic" dataset. Moreover, feature engineering, data imputation and benchmarking are covered.

Tuning a Stacked Learner

mlr3pipelines
mlr3tuning
tuning
optimization
nested resampling
stacking
sonar data set
classification

How to create and tune a multilevel stacking model using the mlr3pipelines package.

Pipelines, Selectors, Branches

mlr3pipelines
mlr3tuning
tuning
optimization
pima data set
classification

This tutorial explains how applying different preprocessing steps on different features and branching of preprocessing steps can be achieved using the mlr3pipelines package.

Regression Chains

regression
mlr3pipelines

We show how to use mlr3pipelines to do regression chains.

Imbalanced Data Handling with mlr3

classification
imbalanced data
mlr3tuning
tuning
optimization
nested resampling
optdigits data set
classification

This use case compares different approaches to handle class imbalance for the optdigits binary classification data set.

Resampling - Stratified, Blocked and Predefined

resampling
stratification
german credit data set
breast cancer data set
classification

When evaluating machine learning algorithms through resampling, it is preferable that each train/test partition will be a representative subset of the whole data set. This post covers three ways to achieve such reliable resampling procedures.

mlr3 Basics on "Iris" - Hello World!

mlr3
basics
iris data set
classification

Basic ML operations on iris: Train, predict, score, resample and benchmark. A simple, hands-on intro to mlr3.

A Pipeline for the Titanic Data Set - Basics

imputation
classification
mlr3pipelines
feature engineering
titanic data set
classification

This post shows how to build a Graph using the mlr3pipelines package on the "titanic" dataset.

mlr3 Basics - German Credit

visualization
classification
feature importance
german credit data set
classification

In this use case, we teach the basics of mlr3 by training different models on the German credit dataset.

mlr3pipelines Tutorial - German Credit

mlr3pipelines
imputation
filtering
stacking
german credit data set
classification

In this use case, we continue working with the German credit dataset. We already used different Learners on it in previous posts and tried to optimize their hyperparameters. To make things interesting, we artificially introduce missing values into the dataset, perform imputation and filtering and stack Learners.

mlr3tuning Tutorial - German Credit

mlr3tuning
tuning
optimization
nested resampling
german credit data set
classification

In this use case, we continue working with the German credit dataset. We work on hyperparameter tuning and apply nested resampling.

Select Uncorrelated Features

mlr3tuning
tuning
optimization
tuning
mlr3pipelines
filtering
iris data set
classification

The following example describes a situation where we aim to remove correlated features. This in essence means, that we drop features until no features have a correlation higher then a given `cutoff`. This is often useful when we for example want to use linear models.

Tuning Over Multiple Learners

mlr3tuning
tuning
optimization
nested resampling
sonar credit data set
classification

This use case shows how to tune over multiple learners for a single task.

Impute Missing Variables

classification
imputation
mlr3pipelines
pima data set
boston housing data set
classification

We show how to use mlr3pipelines to augment the ranger learner with automatic imputation.

Encode Factor Levels for xgboost

classification
mlr3pipelines
factor encoding
german credit data set
classification

We show how to encode factor levels for the xgboost learner with mlr3pipelines.

House Prices in King County

regression
visualization
feature engineering
mlr3tuning
tuning
optimization
king county housing data set
nested resampling

Use case illustrating data preprocessing and model fitting via mlr3 on the "King County House Prices" dataset.

XI Jornadas de Usuarios de R - mlr3

video
mlr3
mlr3pipelines

One hour presentation of the mlr3 ecosystem at the spanish speaking R user days.

useR! 2019 Presentation - mlr3

video
mlr3

Short presentation of the mlr3 package at the useR! 2019 in Toulouse.

useR! 2019 Presentation - mlr3pipelines

video
mlr3
mlr3pipelines

Short presentation of the mlr3pipelines package at the useR! 2019 in Toulouse.

More articles »

mlr3gallery