mlr3: Machine Learning in R
An open-source collection of R packages providing a unified interface for machine learning in the R language. Successor of mlr.
Get Started
Install the full mlr3 universe at once.
install.packages("mlr3verse")
Read our book or start with a gallery post.
Examples
Basic Machine Learning
Get to know the basic building blocks of machine learning in mlr3. Train your first learner and estimate its performance with resampling. Compare the performance of learners with benchmarking.
Optimization
Optimize the hyperparameters of a classification tree on the Palmer Penguins data set. Become familiar with search spaces and transformations. Fit a final model with optimized hyperparameters for predicting new data.