m/reference/mlr_sugar.html" class="external-link">lrn</a></span><span class="op">(</span><span class="st">"classif.ranger"</span>, predict_type <span class="op">=</span> <span class="st">"prob"</span><span class="op">)</span></span></span>
<span class="r-in"><span></span></span>
<span class="r-in"><span><span class="co"># Train the model</span></span></span>
<span class="r-in"><span><span class="va">mylrn</span><span class="op">$</span><span class="fu">train</span><span class="op">(</span><span class="va