Gallery
In the gallery, you find case studies and demos. The posts are mostly about specific features and cover advanced topics. If you are completely new to mlr3 or machine learning, you should start with the book. Pick a post from one of the four categories or browse all posts sorted by date.
Latest
-
Time constraints in the mlr3 ecosystem
Set time limits for learners, tuning and nested resampling.
-
Analyzing the Runtime Performance of tidymodels and mlr3
Compare the runtime performance of tidymodels and mlr3.
-
Survival modeling in mlr3 using Bayesian Additive Regression Trees (BART)
Demonstrate use of survival BART on the lung dataset via mlr3proba and distr6.
-
Spatial Data in the mlr3 Ecosystem
Run a land cover classification of the city of Leipzig.
-
Recursive Feature Elimination on the Sonar Data Set
Utilize the built-in feature importance of models.
Train and Evaluate Models
-
Basic Machine Learning on Iris data set
Learn the basic operations train, predict, score, resample, and benchmark.
-
Imbalanced Data Handling
Handle imbalanced data with oversampling, undersampling, and SMOTE imbalance correction.
-
Resampling - Stratified, Blocked and Predefined
Apply stratified, block and custom resampling.
-
Factor Encoding
Encode factor variables in a task.
-
German Credit Series
Train, tune and pipeline different machine learning algorithms.
Optimize Models
-
Hyperparameter Optimization on the Palmer Penguins Data Set
Optimize the hyperparameters of a classification tree with a few lines of code.
-
Introduction to the mlr3tuningspaces Package
Apply predefined search spaces from scientific articles.
-
Early Stopping with XGBoost
Simultaneously optimize hyperparameters and use early stopping.
-
Recursive Feature Elimination on the Sonar Data Set
Utilize the built-in feature importance of models.
-
Hyperband Series
Use the Hyperband optimizer with different budget parameters.
-
Practical Tuning Series
Start with a tuned SVM and finish with a AutoML model.
Build Pipelines
-
A Pipeline for the Titanic Data Set
Create new features and impute missing values with a pipeline.
-
Pipelines, Selectors, Branches
Build a preprocessing pipeline with branching.
-
Target Transformations via Pipelines
Transform the target variable.
-
Tuning a Complex Graph
Tune a preprocessing pipeline and multiple tuners at once.
Apply Technical Tools and Run Special Tasks
-
Time constraints in the mlr3 ecosystem
Set time limits for learners, tuning and nested resampling.
-
Production Example Using Plumber and Docker
Write a REST API using plumber and deploy it using Docker.
-
Visualization in mlr3
Quickly plot objects of the mlr3 ecosystem.
-
Spatial Data in the mlr3 Ecosystem
Run a land cover classification of the city of Leipzig.