e">Usage<a class="anchor" aria-label="anchor" href="#usage"></a></h4>
<p></p><div class="r"><div class="sourceCode"><pre><code><span><span class="va"><a href="../reference/KNNTrainer.html">KNNTrainer</a></span><span class="op">$</span><span class="fu">new</span><span class="op">(</span><span class="va">k</span>, <span class="va">prob</span>, <span class="va">algorithm</span>, <span class="va">type</span><span class="op">)</span></span></code></pre></div><p></p></div>
</div>

<div class="section">
<h4 id="ar