">3</span>, prob<span class="op">=</span><span class="cn">TRUE</span>, type<span class="op">=</span><span class="st">"class"</span><span class="op">)</span></span>
<span><span class="va">bst</span><span class="op">$</span><span class="fu">fit</span><span class="op">(</span><span class="va">xtrain</span>, <span class="va">xtest</span>, <span class="st">'Species'</span><span class="op">)</span></span>
<span><span class="va">pred</span> <span class="op">&lt;-</span> <span class="va">bst</span><span class="op">