Description Super class Methods Examples
This Learner specializes mlr3::Learner for Multioutputer problems:
task_type
is set to "Multioutput"
.
Creates Predictions of class PredictionMultioutput.
Possible values for predict_types
are all predict_types
available
for other supervised
Tasks.
Predefined learners can be found in the mlr3misc::Dictionary mlr3::mlr_learners.
mlr3::Learner
-> LearnerMultioutput
new()
Creates a new instance of this R6 class.
LearnerMultioutput$new( id, param_set = ParamSet$new(), predict_types = character(), feature_types = character(), properties = character(), packages = character() )
id
(character(1)
)
Identifier for the new instance.
param_set
(paradox::ParamSet)
Set of hyperparameters.
predict_types
(character()
)
Supported predict types. Must be a subset of mlr_reflections$learner_predict_types
.
feature_types
(character()
)
Feature types the learner operates on. Must be a subset of mlr_reflections$task_feature_types
.
properties
(character()
)
Set of properties of the Learner.
Must be a subset of mlr_reflections$learner_properties
.
The following properties are currently standardized and understood by learners in mlr3:
"missings"
: The learner can handle missing values in the data.
"weights"
: The learner supports observation weights.
"importance"
: The learner supports extraction of importance scores, i.e. comes with an $importance()
extractor function (see section on optional extractors in Learner).
"selected_features"
: The learner supports extraction of the set of selected features, i.e. comes with a $selected_features()
extractor function (see section on optional extractors in Learner).
"oob_error"
: The learner supports extraction of estimated out of bag error, i.e. comes with a oob_error()
extractor function (see section on optional extractors in Learner).
packages
(character()
)
Set of required packages.
A warning is signaled by the constructor if at least one of the packages is not installed,
but loaded (not attached) later on-demand via requireNamespace()
.
clone()
The objects of this class are cloneable with this method.
LearnerMultioutput$clone(deep = FALSE)
deep
Whether to make a deep clone.
1 2 3 4 5 | library(mlr3)
ids = mlr_learners$keys("^Multioutput")
ids
# get a specific learner from mlr_learners:
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.