.com/reference/TaskRegr.html" class="external-link">TaskRegr</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_regression_task"</span>,</span></span>
<span class="r-in"><span>  backend <span class="op">=</span> <span class="va">mydata</span>,</span></span>
<span class="r-in"><span>  target <span class="op">=</span> <span class="va">target_col</span></span></span>
<span class="r-in