The website features runtime and memory benchmarks of the mlr3tuning package now.

Learners

To keep the dependencies on other packages reasonable, the base package mlr3 only ships with with regression and classification trees from the rpart package and some learners for debugging. A subjective selection of implementations for essential ML algorithms can be found in mlr3learners package. Survival learners are provided by mlr3proba, cluster learners via mlr3cluster. Additional learners, including some learners which are not yet to be considered stable or which are not available on CRAN, are connected via the mlr3extralearners package. For neural networks, see the mlr3torch extension.

Key
Label
Feature Types
Packages
Properties
Predict Types
Base Package
Adaptive Boosting
  • integer
  • numeric
  • factor
  • ordered
  • multiclass
  • twoclass
  • response
  • prob
Tree-based Model
  • numeric
  • factor
  • ordered
  • missings
  • multiclass
  • twoclass
  • weights
  • response
  • prob
Nearest Neighbour
  • integer
  • numeric
  • factor
  • ordered
  • multiclass
  • twoclass
  • response
  • prob
Tree-based Model
  • integer
  • numeric
  • factor
  • ordered
  • missings
  • multiclass
  • twoclass
  • response
  • prob
Propositional Rule Learner.
  • integer
  • numeric
  • factor
  • ordered
  • multiclass
  • twoclass
  • response
  • prob
Tree-based Model
  • integer
  • numeric
  • factor
  • ordered
  • multiclass
  • twoclass
  • response
  • prob
One Rule
  • integer
  • numeric
  • factor
  • ordered
  • multiclass
  • twoclass
  • response
  • prob
Tree-based Model
  • integer
  • numeric
  • factor
  • ordered
  • missings
  • multiclass
  • twoclass
  • response
  • prob
Fast Best Subset Selection for Classification
  • integer
  • numeric
  • multiclass
  • selected_features
  • twoclass
  • weights
  • response
  • prob
AlexNet
  • lazy_tensor
  • internal_tuning
  • marshal
  • multiclass
  • twoclass
  • validation
  • response
  • prob
Oblique Random Forest Classifier
  • integer
  • numeric
  • factor
  • ordered
  • importance
  • multiclass
  • oob_error
  • twoclass
  • weights
  • response
  • prob
Bayesian Additive Regression Trees
  • integer
  • numeric
  • factor
  • ordered
  • twoclass
  • weights
  • response
  • prob
Bayes Network
  • logical
  • integer
  • numeric
  • factor
  • ordered
  • missings
  • multiclass
  • twoclass
  • response
  • prob
Gradient Boosting
  • numeric
  • factor
  • ordered
  • importance
  • internal_tuning
  • missings
  • multiclass
  • twoclass
  • validation
  • weights
  • response
  • prob
Conditional Random Forest
  • integer
  • numeric
  • factor
  • ordered
  • multiclass
  • oob_error
  • twoclass
  • weights
  • response
  • prob
Conditional Inference Tree
  • integer
  • numeric
  • factor
  • ordered
  • multiclass
  • twoclass
  • weights
  • response
  • prob
GLM with Elastic Net Regularization
  • logical
  • integer
  • numeric
  • multiclass
  • offset
  • selected_features
  • twoclass
  • weights
  • response
  • prob
Debug Learner for Classification
  • logical
  • integer
  • numeric
  • character
  • factor
  • ordered
  • hotstart_forward
  • internal_tuning
  • marshal
  • missings
  • multiclass
  • twoclass
  • validation
  • weights
  • response
  • prob
Decision Stump
  • logical
  • integer
  • numeric
  • factor
  • ordered
  • missings
  • multiclass
  • twoclass
  • response
  • prob
Decision Table
  • logical
  • integer
  • numeric
  • factor
  • ordered
  • missings
  • multiclass
  • twoclass
  • response
  • prob
Multivariate Adaptive Splines
  • integer
  • numeric
  • factor
  • twoclass
  • weights
  • response
  • prob
Featureless Classification Learner
  • logical
  • integer
  • numeric
  • character
  • factor
  • ordered
  • POSIXct
  • Date
  • lazy_tensor
  • featureless
  • importance
  • missings
  • multiclass
  • selected_features
  • twoclass
  • weights
  • response
  • prob
Fast Nearest Neighbour
  • integer
  • numeric
  • multiclass
  • twoclass
  • response
  • prob
FT-Transformer
  • logical
  • integer
  • numeric
  • factor
  • ordered
  • lazy_tensor
  • internal_tuning
  • marshal
  • multiclass
  • twoclass
  • validation
  • response
  • prob
Generalized Additive Model
  • logical
  • integer
  • numeric
  • factor
  • offset
  • twoclass
  • weights
  • response
  • prob
Boosted Generalized Additive Model
  • integer
  • numeric
  • factor
  • ordered
  • offset
  • twoclass
  • weights
  • response
  • prob
Gaussian Process
  • logical
  • integer
  • numeric
  • character
  • factor
  • ordered
  • multiclass
  • twoclass
  • response
  • prob
Gradient Boosting
  • integer
  • numeric
  • factor
  • ordered
  • importance
  • missings
  • twoclass
  • weights
  • response
  • prob
Boosted Generalized Linear Model
  • integer
  • numeric
  • factor
  • ordered
  • offset
  • twoclass
  • weights
  • response
  • prob
Generalized Linear Mixed Effect Classifier
  • logical
  • integer
  • numeric
  • factor
  • offset
  • twoclass
  • weights
  • response
  • prob
GLM with Elastic Net Regularization
  • logical
  • integer
  • numeric
  • multiclass
  • offset
  • twoclass
  • weights
  • response
  • prob
Imbalanced Random Forest
  • logical
  • integer
  • numeric
  • factor
  • ordered
  • importance
  • missings
  • oob_error
  • twoclass
  • weights
  • response
  • prob
k-Nearest-Neighbor
  • logical
  • integer
  • numeric
  • factor
  • ordered
  • multiclass
  • twoclass
  • response
  • prob
KStar
  • logical
  • integer
  • numeric
  • factor
  • ordered
  • missings
  • multiclass
  • twoclass
  • response
  • prob
Support Vector Machine
  • logical
  • integer
  • numeric
  • character
  • factor
  • ordered
  • multiclass
  • twoclass
  • weights
  • response
  • prob
Linear Discriminant Analysis
  • logical
  • integer
  • numeric
  • factor
  • ordered
  • multiclass
  • twoclass
  • response
  • prob
Support Vector Machine
  • numeric
  • multiclass
  • twoclass
  • response
  • prob
Gradient Boosting
  • logical
  • integer
  • numeric
  • factor
  • hotstart_forward
  • importance
  • internal_tuning
  • missings
  • multiclass
  • twoclass
  • validation
  • weights
  • response
  • prob
Logistic Regression
  • logical
  • integer
  • numeric
  • character
  • factor
  • ordered
  • stats
  • offset
  • twoclass
  • weights
  • response
  • prob
Multinomial Logistic Regression
  • logical
  • integer
  • numeric
  • factor
  • ordered
  • missings
  • multiclass
  • twoclass
  • response
  • prob
Support Vector Machine
  • integer
  • numeric
  • multiclass
  • twoclass
  • response
Multi Layer Perceptron
  • integer
  • numeric
  • lazy_tensor
  • internal_tuning
  • marshal
  • multiclass
  • twoclass
  • validation
  • response
  • prob
Recursive Partitioning
  • logical
  • integer
  • numeric
  • character
  • factor
  • ordered
  • multiclass
  • twoclass
  • weights
  • response
  • prob
Mobilenet V2
  • lazy_tensor
  • internal_tuning
  • marshal
  • multiclass
  • twoclass
  • validation
  • response
  • prob
Custom Module
  • logical
  • integer
  • numeric
  • character
  • factor
  • ordered
  • POSIXct
  • Date
  • lazy_tensor
  • featureless
  • hotstart_backward
  • hotstart_forward
  • importance
  • internal_tuning
  • marshal
  • missings
  • multiclass
  • offset
  • oob_error
  • selected_features
  • twoclass
  • validation
  • weights
  • response
  • prob
MultilayerPerceptron
  • logical
  • integer
  • numeric
  • factor
  • ordered
  • missings
  • multiclass
  • twoclass
  • response
  • prob
Multinomial Log-Linear Model
  • logical
  • integer
  • numeric
  • factor
  • multiclass
  • twoclass
  • weights
  • response
  • prob
Naive Bayes
  • logical
  • integer
  • numeric
  • factor
  • multiclass
  • twoclass
  • response
  • prob
Multinomial Naive Bayes
  • integer
  • numeric
  • multiclass
  • twoclass
  • response
  • prob
Naive Bayes
  • logical
  • integer
  • numeric
  • factor
  • ordered
  • missings
  • multiclass
  • twoclass
  • response
  • prob
Single Layer Neural Network
  • logical
  • integer
  • numeric
  • factor
  • ordered
  • multiclass
  • twoclass
  • weights
  • response
  • prob
Priority Lasso
  • logical
  • integer
  • numeric
  • selected_features
  • twoclass
  • weights
  • response
  • prob
Quadratic Discriminant Analysis
  • logical
  • integer
  • numeric
  • factor
  • ordered
  • multiclass
  • twoclass
  • response
  • prob
Random Forest
  • logical
  • integer
  • numeric
  • factor
  • ordered
  • importance
  • multiclass
  • oob_error
  • twoclass
  • weights
  • response
  • prob
Random Forest
  • logical
  • integer
  • numeric
  • factor
  • ordered
  • missings
  • multiclass
  • twoclass
  • response
  • prob
Random Tree
  • logical
  • integer
  • numeric
  • factor
  • ordered
  • missings
  • multiclass
  • twoclass
  • response
  • prob
Random Forest
  • logical
  • integer
  • numeric
  • character
  • factor
  • ordered
  • hotstart_backward
  • importance
  • missings
  • multiclass
  • oob_error
  • selected_features
  • twoclass
  • weights
  • response
  • prob
Regularized Discriminant Analysis
  • logical
  • integer
  • numeric
  • factor
  • ordered
  • multiclass
  • twoclass
  • response
  • prob
Decision Tree Learner
  • logical
  • integer
  • numeric
  • factor
  • ordered
  • missings
  • multiclass
  • twoclass
  • response
  • prob
ResNet-101
  • lazy_tensor
  • internal_tuning
  • marshal
  • multiclass
  • twoclass
  • validation
  • response
  • prob
ResNet-152
  • lazy_tensor
  • internal_tuning
  • marshal
  • multiclass
  • twoclass
  • validation
  • response
  • prob
ResNet-18
  • lazy_tensor
  • internal_tuning
  • marshal
  • multiclass
  • twoclass
  • validation
  • response
  • prob
ResNet-34
  • lazy_tensor
  • internal_tuning
  • marshal
  • multiclass
  • twoclass
  • validation
  • response
  • prob
ResNet-50
  • lazy_tensor
  • internal_tuning
  • marshal
  • multiclass
  • twoclass
  • validation
  • response
  • prob
ResNeXt-101 32x8d
  • lazy_tensor
  • internal_tuning
  • marshal
  • multiclass
  • twoclass
  • validation
  • response
  • prob
ResNeXt-50 32x4d
  • lazy_tensor
  • internal_tuning
  • marshal
  • multiclass
  • twoclass
  • validation
  • response
  • prob
Random Forest
  • logical
  • integer
  • numeric
  • factor
  • importance
  • missings
  • multiclass
  • oob_error
  • twoclass
  • weights
  • response
  • prob
Classification Tree
  • logical
  • integer
  • numeric
  • factor
  • ordered
  • importance
  • missings
  • multiclass
  • selected_features
  • twoclass
  • weights
  • response
  • prob
Random Planted Forest
  • logical
  • integer
  • numeric
  • factor
  • ordered
  • multiclass
  • twoclass
  • response
  • prob
Shrinkage Discriminant Analysis
  • integer
  • numeric
  • multiclass
  • twoclass
  • response
  • prob
Stochastic Gradient Descent
  • logical
  • integer
  • numeric
  • factor
  • ordered
  • missings
  • twoclass
  • response
  • prob
LogitBoost Based Logistic Regression
  • logical
  • integer
  • numeric
  • factor
  • ordered
  • missings
  • multiclass
  • twoclass
  • response
  • prob
Support Vector Machine
  • logical
  • integer
  • numeric
  • factor
  • ordered
  • missings
  • multiclass
  • twoclass
  • response
  • prob
Support Vector Machine
  • logical
  • integer
  • numeric
  • multiclass
  • twoclass
  • response
  • prob
Tabular ResNet
  • integer
  • numeric
  • lazy_tensor
  • internal_tuning
  • marshal
  • multiclass
  • twoclass
  • validation
  • response
  • prob
TabPFN Classifier
  • logical
  • integer
  • numeric
  • marshal
  • missings
  • multiclass
  • twoclass
  • response
  • prob
Featureless Torch Learner
  • logical
  • integer
  • numeric
  • character
  • factor
  • ordered
  • POSIXct
  • Date
  • lazy_tensor
  • featureless
  • internal_tuning
  • marshal
  • missings
  • multiclass
  • twoclass
  • validation
  • response
  • prob
Torch Model
  • logical
  • integer
  • numeric
  • character
  • factor
  • ordered
  • POSIXct
  • Date
  • lazy_tensor
  • featureless
  • hotstart_backward
  • hotstart_forward
  • importance
  • internal_tuning
  • marshal
  • missings
  • multiclass
  • offset
  • oob_error
  • selected_features
  • twoclass
  • validation
  • weights
  • response
  • prob
VGG 11
  • lazy_tensor
  • internal_tuning
  • marshal
  • multiclass
  • twoclass
  • validation
  • response
  • prob
VGG 11
  • lazy_tensor
  • internal_tuning
  • marshal
  • multiclass
  • twoclass
  • validation
  • response
  • prob
VGG 13
  • lazy_tensor
  • internal_tuning
  • marshal
  • multiclass
  • twoclass
  • validation
  • response
  • prob
VGG 13
  • lazy_tensor
  • internal_tuning
  • marshal
  • multiclass
  • twoclass
  • validation
  • response
  • prob
VGG 16
  • lazy_tensor
  • internal_tuning
  • marshal
  • multiclass
  • twoclass
  • validation
  • response
  • prob
VGG 16
  • lazy_tensor
  • internal_tuning
  • marshal
  • multiclass
  • twoclass
  • validation
  • response
  • prob
VGG 19
  • lazy_tensor
  • internal_tuning
  • marshal
  • multiclass
  • twoclass
  • validation
  • response
  • prob
VGG 19
  • lazy_tensor
  • internal_tuning
  • marshal
  • multiclass
  • twoclass
  • validation
  • response
  • prob
Voted Perceptron
  • logical
  • integer
  • numeric
  • factor
  • ordered
  • missings
  • twoclass
  • response
  • prob
Extreme Gradient Boosting
  • logical
  • integer
  • numeric
  • hotstart_forward
  • importance
  • internal_tuning
  • missings
  • multiclass
  • offset
  • twoclass
  • validation
  • weights
  • response
  • prob
Mini Batch K-Means
  • logical
  • integer
  • numeric
  • complete
  • exclusive
  • fuzzy
  • partitional
  • partition
  • prob
K-Means (Weka)
  • logical
  • integer
  • numeric
  • complete
  • exclusive
  • partitional
  • partition
Agglomerative Hierarchical Clustering
  • logical
  • integer
  • numeric
  • complete
  • exclusive
  • hierarchical
  • partition
Affinity Propagation Clustering
  • logical
  • integer
  • numeric
  • complete
  • exclusive
  • partitional
  • partition
BICO Clustering
  • integer
  • numeric
  • complete
  • exclusive
  • partitional
  • partition
BIRCH Clustering
  • integer
  • numeric
  • complete
  • exclusive
  • hierarchical
  • partition
Fuzzy C-Means Clustering Learner
  • logical
  • integer
  • numeric
  • complete
  • fuzzy
  • partitional
  • partition
  • prob
Cobweb Clustering
  • logical
  • integer
  • numeric
  • complete
  • exclusive
  • partitional
  • partition
Density-Based Clustering
  • logical
  • integer
  • numeric
  • complete
  • density
  • exclusive
  • partition
Density-Based Clustering with fpc
  • logical
  • integer
  • numeric
  • complete
  • density
  • exclusive
  • partition
Divisive Hierarchical Clustering
  • logical
  • integer
  • numeric
  • complete
  • exclusive
  • hierarchical
  • partition
Expectation-Maximization Clustering
  • logical
  • integer
  • numeric
  • complete
  • exclusive
  • partitional
  • partition
Fuzzy Analysis Clustering
  • logical
  • integer
  • numeric
  • complete
  • fuzzy
  • partitional
  • partition
  • prob
Featureless Clustering
  • logical
  • integer
  • numeric
  • complete
  • exclusive
  • missings
  • partitional
  • partition
  • prob
Farthest First Clustering
  • logical
  • integer
  • numeric
  • complete
  • exclusive
  • partitional
  • partition
Agglomerative Hierarchical Clustering
  • logical
  • integer
  • numeric
  • stats
  • complete
  • exclusive
  • hierarchical
  • partition
HDBSCAN Clustering
  • logical
  • integer
  • numeric
  • complete
  • density
  • exclusive
  • partition
Kernel K-Means
  • logical
  • integer
  • numeric
  • complete
  • exclusive
  • partitional
  • partition
K-Means
  • logical
  • integer
  • numeric
  • complete
  • exclusive
  • partitional
  • partition
Gaussian Mixture Models Clustering
  • logical
  • integer
  • numeric
  • complete
  • fuzzy
  • partitional
  • partition
  • prob
Mean Shift Clustering
  • logical
  • integer
  • numeric
  • complete
  • exclusive
  • partitional
  • partition
OPTICS Clustering
  • logical
  • integer
  • numeric
  • complete
  • density
  • exclusive
  • partition
Partitioning Around Medoids
  • logical
  • integer
  • numeric
  • complete
  • exclusive
  • partitional
  • partition
X-means
  • logical
  • integer
  • numeric
  • complete
  • exclusive
  • partitional
  • partition
Aalen Johansen Estimator
  • logical
  • integer
  • numeric
  • factor
  • weights
  • cif
Histogram Density Estimator
  • integer
  • numeric
  • pdf
  • cdf
  • distr
Kernel Density Estimator
  • integer
  • numeric
  • missings
  • pdf
  • distr
Kernel Density Estimator
  • integer
  • numeric
  • pdf
Local Density Estimation
  • integer
  • numeric
  • pdf
Logspline Density Estimation
  • integer
  • numeric
  • pdf
  • cdf
Kernel Density Estimator
  • integer
  • numeric
  • pdf
Nonparametric Density Estimation
  • integer
  • numeric
  • weights
  • pdf
Penalized Density Estimation
  • integer
  • numeric
  • pdf
  • cdf
Kernel Density Estimator
  • numeric
  • missings
  • pdf
Density Smoothing Splines
  • integer
  • numeric
  • missings
  • pdf
  • cdf
K-nearest neighbour
  • integer
  • numeric
  • factor
  • ordered
  • response
Rule-based Algorithm
  • integer
  • numeric
  • factor
  • ordered
  • response
Fast Best Subset Selection for Regression
  • integer
  • numeric
  • selected_features
  • weights
  • response
Oblique Random Forest Regressor
  • logical
  • integer
  • numeric
  • factor
  • ordered
  • importance
  • oob_error
  • weights
  • response
Bayesian Additive Regression Trees
  • integer
  • numeric
  • factor
  • ordered
  • weights
  • response
Gradient Boosting
  • numeric
  • factor
  • ordered
  • importance
  • internal_tuning
  • missings
  • validation
  • weights
  • response
Conditional Random Forest
  • integer
  • numeric
  • factor
  • ordered
  • oob_error
  • weights
  • response
Conditional Inference Tree
  • integer
  • numeric
  • factor
  • ordered
  • weights
  • response
Rule-based model
  • integer
  • numeric
  • character
  • factor
  • ordered
  • weights
  • response
GLM with Elastic Net Regularization
  • logical
  • integer
  • numeric
  • offset
  • selected_features
  • weights
  • response
Debug Learner for Regression
  • logical
  • integer
  • numeric
  • character
  • factor
  • ordered
  • stats
  • missings
  • weights
  • response
  • se
  • quantiles
Decision Stump
  • logical
  • integer
  • numeric
  • factor
  • ordered
  • missings
  • response
Decision Table
  • logical
  • integer
  • numeric
  • factor
  • ordered
  • response
Multivariate Adaptive Regression Splines
  • integer
  • numeric
  • factor
  • weights
  • response
  • se
Featureless Regression Learner
  • logical
  • integer
  • numeric
  • character
  • factor
  • ordered
  • POSIXct
  • Date
  • lazy_tensor
  • stats
  • featureless
  • importance
  • missings
  • selected_features
  • weights
  • response
  • se
  • quantiles
Fast Nearest Neighbour
  • integer
  • numeric
  • response
FT-Transformer
  • logical
  • integer
  • numeric
  • factor
  • ordered
  • lazy_tensor
  • internal_tuning
  • marshal
  • validation
  • response
Generalized Additive Regression Model
  • logical
  • integer
  • numeric
  • factor
  • offset
  • weights
  • response
  • se
Boosted Generalized Additive Model
  • integer
  • numeric
  • factor
  • ordered
  • offset
  • weights
  • response
Gaussian Processes
  • logical
  • integer
  • numeric
  • factor
  • ordered
  • missings
  • response
Gaussian Process
  • logical
  • integer
  • numeric
  • character
  • factor
  • ordered
  • response
Gradient Boosting
  • integer
  • numeric
  • factor
  • ordered
  • importance
  • missings
  • weights
  • response
  • quantiles
Generalized Linear Regression
  • logical
  • integer
  • numeric
  • character
  • factor
  • ordered
  • stats
  • offset
  • weights
  • response
  • se
Boosted Generalized Linear Model
  • integer
  • numeric
  • factor
  • ordered
  • offset
  • weights
  • response
GLM with Elastic Net Regularization
  • logical
  • integer
  • numeric
  • offset
  • weights
  • response
k-Nearest-Neighbor
  • logical
  • integer
  • numeric
  • factor
  • ordered
  • response
Kriging
  • logical
  • integer
  • numeric
  • response
  • se
KStar
  • logical
  • integer
  • numeric
  • factor
  • ordered
  • response
Support Vector Machine
  • logical
  • integer
  • numeric
  • character
  • factor
  • ordered
  • weights
  • response
Support Vector Machine
  • integer
  • numeric
  • response
Gradient Boosting
  • logical
  • integer
  • numeric
  • factor
  • hotstart_forward
  • importance
  • internal_tuning
  • missings
  • validation
  • weights
  • response
Linear Regression
  • logical
  • integer
  • numeric
  • factor
  • ordered
  • missings
  • response
Linear Model
  • logical
  • integer
  • numeric
  • character
  • factor
  • stats
  • offset
  • weights
  • response
  • se
Linear Mixed Effects
  • logical
  • integer
  • numeric
  • factor
  • offset
  • weights
  • response
M5P
  • logical
  • integer
  • numeric
  • factor
  • ordered
  • response
Multivariate Adaptive Regression Splines
  • integer
  • numeric
  • response
Multi Layer Perceptron
  • integer
  • numeric
  • lazy_tensor
  • internal_tuning
  • marshal
  • validation
  • response
Model-based Recursive Partitioning
  • logical
  • integer
  • numeric
  • character
  • factor
  • ordered
  • weights
  • response
  • se
Custom Module
  • logical
  • integer
  • numeric
  • character
  • factor
  • ordered
  • POSIXct
  • Date
  • lazy_tensor
  • featureless
  • hotstart_backward
  • hotstart_forward
  • importance
  • internal_tuning
  • marshal
  • missings
  • offset
  • oob_error
  • selected_features
  • validation
  • weights
  • response
Regression Quantile Generalized Additive Model Learner
  • logical
  • integer
  • numeric
  • factor
  • weights
  • response
  • se
  • quantiles
MultilayerPerceptron
  • logical
  • integer
  • numeric
  • factor
  • ordered
  • missings
  • response
Single Layer Neural Network
  • logical
  • integer
  • numeric
  • factor
  • ordered
  • weights
  • response
Priority Lasso
  • logical
  • integer
  • numeric
  • selected_features
  • weights
  • response
Regression Quantile Generalized Additive Model Learner
  • logical
  • integer
  • numeric
  • factor
  • weights
  • response
  • se
  • quantiles
Random Forest
  • logical
  • integer
  • numeric
  • factor
  • ordered
  • importance
  • oob_error
  • weights
  • response
Random Forest
  • logical
  • integer
  • numeric
  • factor
  • ordered
  • response
Random Tree
  • logical
  • integer
  • numeric
  • factor
  • ordered
  • missings
  • response
Random Forest
  • logical
  • integer
  • numeric
  • character
  • factor
  • ordered
  • hotstart_backward
  • importance
  • missings
  • oob_error
  • selected_features
  • weights
  • response
  • se
  • quantiles
Decision Tree Learner
  • logical
  • integer
  • numeric
  • factor
  • ordered
  • response
Random Forest
  • logical
  • integer
  • numeric
  • factor
  • importance
  • missings
  • oob_error
  • weights
  • response
Regression Tree
  • logical
  • integer
  • numeric
  • factor
  • ordered
  • importance
  • missings
  • selected_features
  • weights
  • response
Random Planted Forest
  • logical
  • integer
  • numeric
  • factor
  • ordered
  • response
Response Surface Model
  • integer
  • numeric
  • factor
  • ordered
  • response
Relevance Vector Machine
  • logical
  • integer
  • numeric
  • character
  • factor
  • ordered
  • response
Stochastic Gradient Descent
  • logical
  • integer
  • numeric
  • factor
  • ordered
  • response
Simple Linear Regression
  • integer
  • numeric
  • missings
  • response
Support Vector Machine
  • logical
  • integer
  • numeric
  • factor
  • ordered
  • missings
  • response
Support Vector Machine
  • logical
  • integer
  • numeric
  • response
Tabular ResNet
  • integer
  • numeric
  • lazy_tensor
  • internal_tuning
  • marshal
  • validation
  • response
TabPFN Regressor
  • logical
  • integer
  • numeric
  • marshal
  • missings
  • response
  • quantiles
Featureless Torch Learner
  • logical
  • integer
  • numeric
  • character
  • factor
  • ordered
  • POSIXct
  • Date
  • lazy_tensor
  • featureless
  • internal_tuning
  • marshal
  • missings
  • validation
  • response
Torch Model
  • logical
  • integer
  • numeric
  • character
  • factor
  • ordered
  • POSIXct
  • Date
  • lazy_tensor
  • featureless
  • hotstart_backward
  • hotstart_forward
  • importance
  • internal_tuning
  • marshal
  • missings
  • offset
  • oob_error
  • selected_features
  • validation
  • weights
  • response
Extreme Gradient Boosting
  • logical
  • integer
  • numeric
  • hotstart_forward
  • importance
  • internal_tuning
  • missings
  • offset
  • validation
  • weights
  • response
Akritas Estimator
  • logical
  • integer
  • numeric
  • character
  • factor
  • crank
  • distr
Oblique Random Forest
  • integer
  • numeric
  • factor
  • ordered
  • importance
  • missings
  • oob_error
  • weights
  • crank
  • distr
  • response
Bayesian Additive Regression Trees
  • logical
  • integer
  • numeric
  • importance
  • missings
  • crank
  • distr
Gradient Boosting
  • integer
  • numeric
  • factor
  • offset
  • weights
  • crank
  • distr
  • lp
Random Forests for Block-wise Data
  • logical
  • integer
  • numeric
  • factor
  • ordered
  • importance
  • weights
  • crank
  • distr
Conditional Random Forest
  • integer
  • numeric
  • factor
  • ordered
  • weights
  • crank
  • distr
Likelihood-based Boosting
  • integer
  • numeric
  • selected_features
  • weights
  • crank
  • distr
  • lp
Cox Proportional Hazards
  • logical
  • integer
  • numeric
  • factor
  • weights
  • crank
  • distr
  • lp
Conditional Inference Tree
  • integer
  • numeric
  • factor
  • ordered
  • weights
  • crank
  • distr
Likelihood-based Boosting
  • integer
  • numeric
  • selected_features
  • weights
  • crank
  • distr
  • lp
Regularized Generalized Linear Model
  • logical
  • integer
  • numeric
  • offset
  • selected_features
  • weights
  • crank
  • distr
  • lp
Flexible Parametric Splines
  • logical
  • integer
  • numeric
  • factor
  • weights
  • crank
  • distr
  • lp
Boosted Generalized Additive Model
  • logical
  • integer
  • numeric
  • factor
  • importance
  • offset
  • selected_features
  • weights
  • crank
  • distr
  • lp
Gradient Boosting
  • integer
  • numeric
  • factor
  • ordered
  • importance
  • missings
  • weights
  • crank
  • lp
Boosted Generalized Linear Model
  • logical
  • integer
  • numeric
  • factor
  • importance
  • offset
  • selected_features
  • weights
  • crank
  • distr
  • lp
Regularized Generalized Linear Model
  • logical
  • integer
  • numeric
  • offset
  • selected_features
  • weights
  • crank
  • distr
  • lp
Kaplan-Meier Estimator
  • logical
  • integer
  • numeric
  • character
  • factor
  • ordered
  • missings
  • crank
  • distr
Logistic-Hazard Learner
  • integer
  • numeric
  • crank
  • distr
Boosted Generalized Additive Model
  • logical
  • integer
  • numeric
  • factor
  • importance
  • offset
  • selected_features
  • weights
  • crank
  • distr
  • lp
Nelson-Aalen Estimator
  • logical
  • integer
  • numeric
  • character
  • factor
  • ordered
  • missings
  • crank
  • distr
Fully Parametric Learner
  • logical
  • integer
  • numeric
  • factor
  • weights
  • crank
  • distr
  • lp
Penalized Regression
  • logical
  • integer
  • numeric
  • factor
  • crank
  • distr
Priority Lasso
  • logical
  • integer
  • numeric
  • selected_features
  • weights
  • crank
  • distr
  • lp
Random Forest
  • logical
  • integer
  • numeric
  • character
  • factor
  • ordered
  • importance
  • oob_error
  • weights
  • crank
  • distr
Random Forest
  • logical
  • integer
  • numeric
  • factor
  • importance
  • missings
  • oob_error
  • weights
  • crank
  • distr
Survival Tree
  • logical
  • integer
  • numeric
  • character
  • factor
  • ordered
  • importance
  • missings
  • selected_features
  • weights
  • crank
Survival Support Vector Machine
  • logical
  • integer
  • numeric
  • character
  • factor
  • crank
  • response
Extreme Gradient Boosting AFT
  • integer
  • numeric
  • importance
  • internal_tuning
  • missings
  • validation
  • weights
  • crank
  • lp
  • response
Extreme Gradient Boosting Cox
  • integer
  • numeric
  • importance
  • internal_tuning
  • marshal
  • missings
  • validation
  • weights
  • crank
  • distr
  • lp

Example Usage

Fit a classification tree on the Wisconsin Breast Cancer Data Set and predict on left-out observations.

library("mlr3verse")

# retrieve the task
task = tsk("breast_cancer")

# split into two partitions
split = partition(task)

# retrieve a learner
learner = lrn("classif.rpart", keep_model = TRUE, predict_type = "prob")

# fit decision tree
learner$train(task, split$train)

# access learned model
learner$model
n= 458 

node), split, n, loss, yval, (yprob)
      * denotes terminal node

1) root 458 159 benign (0.34716157 0.65283843)  
  2) cell_size=4,5,6,7,8,9,10 143   6 malignant (0.95804196 0.04195804) *
  3) cell_size=1,2,3 315  22 benign (0.06984127 0.93015873)  
    6) cl_thickness=7,8,9,10 18   3 malignant (0.83333333 0.16666667) *
    7) cl_thickness=1,2,3,4,5,6 297   7 benign (0.02356902 0.97643098) *
# predict on data frame with new data
predictions = learner$predict_newdata(task$data(split$test))

# predict on subset of the task
predictions = learner$predict(task, split$test)

# inspect predictions
predictions

── <PredictionClassif> for 225 observations: ───────────────────────────────────
 row_ids     truth  response prob.malignant prob.benign
       7    benign    benign     0.02356902  0.97643098
       9    benign    benign     0.02356902  0.97643098
      11    benign    benign     0.02356902  0.97643098
     ---       ---       ---            ---         ---
     679    benign    benign     0.02356902  0.97643098
     680    benign    benign     0.02356902  0.97643098
     682 malignant malignant     0.95804196  0.04195804
predictions$score(msr("classif.auc"))
classif.auc 
  0.9071121 
autoplot(predictions, type = "roc")