"><span><span class="op">)</span></span></span>
<span class="r-in"><span><span class="va">splits</span> <span class="op">&lt;-</span> <span class="fu">mlr3</span><span class="fu">::</span><span class="fu"><a href="https://mlr3.mlr-org.com/reference/partition.html" class="external-link">partition</a></span><span class="op">(</span><span class="va">maintask</span><span class="op">)</span></span></span>
<span class="r-in"><span><span class="va">mylrn</span> <span class="op">&lt;-</span> <span class="fu">mlr3</