Closed hududed closed 5 months ago
@hududed In v0.2.1 the $model
field was changed to the $learner
field to be more consistent (see https://github.com/mlr-org/mlr3mbo/blob/main/NEWS.md)
acq_function$surrogate$learner
will return a list of learners for each of the objectives you are modeling in your multi-objective scenario.
Then, acq_function$surrogate$learner$y1$model
allows for accessing the actual trained model for your first objective y1
.
@sumny How to access the model when trained this way?
Usually for single-objective, I can the extract the model via
model <- acq_function$surrogate$model$model
but that returns null in this case.