diff --git a/R/LearnerRegr.R b/R/LearnerRegr.R index 6fe2e6c6e..d1c4fa2ec 100644 --- a/R/LearnerRegr.R +++ b/R/LearnerRegr.R @@ -41,8 +41,8 @@ LearnerRegr = R6Class("LearnerRegr", inherit = Learner, public = list( #' @description #' Creates a new instance of this [R6][R6::R6Class] class. - initialize = function(id, param_set = ps(), predict_types = "response", feature_types = character(), properties = character(), data_formats, packages = character(), label = NA_character_, man = NA_character_) { - super$initialize(id = id, task_type = "regr", param_set = param_set, feature_types = feature_types, + initialize = function(id, task_type = "regr", param_set = ps(), predict_types = "response", feature_types = character(), properties = character(), data_formats, packages = character(), label = NA_character_, man = NA_character_) { + super$initialize(id = id, task_type = task_type, param_set = param_set, feature_types = feature_types, predict_types = predict_types, properties = properties, data_formats, packages = packages, label = label, man = man) }