pan class="va">maintask</span> <span class="op">&lt;-</span> <span class="fu">mlr3</span><span class="fu">::</span><span class="va"><a href="https://mlr3.mlr-org.com/reference/TaskClassif.html" class="external-link">TaskClassif</a></span><span class="op">$</span><span class="fu">new</span><span class="op">(</span></span></span>
<span class="r-in"><span>  id <span class="op">=</span> <span class="st">"my_classification_task"</span>,</span></span>
<span class="r-in"><span>  backend <span class="op">=</span>