title: Where does mlr3 save the final model?
body: <p>Where does <code>mlr3</code> save the final model, after training a learner --- <code>learner$train(data)</code>? By &quot;final model&quot;, I mean something like a list produced by the following code:</p>
  <pre><code>model &lt;- xgboost::xgb.train(data = data_train, 
                                     max.depth = 8, nthread = 2, nrounds = 15,
                                     verbose = 0)  
  </code></pre>
  <p>Is there a way to extract this list/object?</p>
  <hr />
  <pre><code>task &lt;- TaskRegr$new(&quot;data&quot;, data, &quot;y&quot;)
  learner &lt;- lrn(&quot;regr.xgboost&quot;)
  preprocess &lt;- po(&quot;scale&quot;, param_vals = list(center = TRUE, scale = TRUE))
  pp &lt;- preprocess %&gt;&gt;% learner
  gg&lt;- GraphLearner$new(pp)
  gg$train(task)
  </code></pre>