Closed sumny closed 3 years ago
e.g. currently it is possible to do:
learner = lrn("regr.ranger") surrogate = SurrogateMultiCritLearners$new(learner = list(learner, learner))
During calling $update() both updates will be called but the first learner$model object now "points" to the second trained model because both learners are virtually the same object and not deep clones.
$update()
learner$model
e.g. currently it is possible to do:
During calling
$update()
both updates will be called but the firstlearner$model
object now "points" to the second trained model because both learners are virtually the same object and not deep clones.