rics,
        verbose=verbose,
    )</code></pre>
</details>
</section>
<section>
</section>
<section>
</section>
<section>
<h2 class="section-title" id="header-functions">Functions</h2>
<dl>
<dt id="ktrain.text.models.calc_pr"><code class="name flex">
<span>def <span class="ident">calc_pr</span></span>(<span>y_i, x, y, b)</span>
</code></dt>
<dd>
<div class="desc"></div>
<details class="source">
<summary>
<span>Expand source code</span>
</summary>
<pre><code class="python">def calc_pr(y_i, x, y, b):
    id