="truthnet.truthnet.truthnet.calibrate"><code class="name flex">
<span>def <span class="ident">calibrate</span></span>(<span>self, qsteps=1000, num_workers=11, calibration_num=10000)</span>
</code></dt>
<dd>
<div class="desc"><p>Calibrates the decision thresholds for the Veritas model using the distribution of scores
from the trained model. It involves sampling, revealing, and fitting distributions
to determine appropriate thresholds.</p>
<p>Parameters:
qsteps (int): Steps for q-sampling during calibration.