You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<spanclass="sd"> :param results_per_sample: Whether to store results per sample or not, defaults to False. If True, predictions_outdir must be provided.</span>
@@ -1432,6 +1432,8 @@ <h2>Submodules<a class="headerlink" href="#submodules" title="Link to this headi
1432
1432
<li><p><strong>translation_direction</strong> (<em>str</em><em>, </em><em>optional</em>) – Direction of the ontology translation, either ‘dataset_to_model’ or ‘model_to_dataset’, defaults to “dataset_to_model”</p></li>
1433
1433
<li><p><strong>predictions_outdir</strong> (<em>Optional</em><em>[</em><em>str</em><em>]</em><em>, </em><em>optional</em>) – Directory to save predictions per sample, defaults to None. If None, predictions are not saved.</p></li>
1434
1434
<li><p><strong>results_per_sample</strong> (<em>bool</em><em>, </em><em>optional</em>) – Whether to store results per sample or not, defaults to False. If True, predictions_outdir must be provided.</p></li>
1435
+
<li><p><strong>progress_callback</strong> (<em>Optional</em><em>[</em><em>Callable</em><em>]</em><em>, </em><em>optional</em>) – Optional callback called as progress_callback(processed, total), defaults to None</p></li>
1436
+
<li><p><strong>metrics_callback</strong> (<em>Optional</em><em>[</em><em>Callable</em><em>]</em><em>, </em><em>optional</em>) – Optional callback called as metrics_callback(metrics_df, processed, total), defaults to None</p></li>
0 commit comments