<h4 dir="auto">Describe the workflow you want to enable</h4>
<p dir="auto">I have been searching around for a Scikit-learn package which calculates the specificity score for multiclass problems but I can't seem to find one.</p>
<p dir="auto">Would be helpful to have a package which calculates the specificity score, in particular for multiclass problems.</p>
<p dir="auto">Would be helpful to also have a scorer call for the specificity score so that the scorer call could be used in other functions like <code class="notranslate">cross_val_score()</code> or <code class="notranslate">GridSearchCV()</code>. See here: <a href="https://scikit-learn.org/stable/modules/model_evaluation.html" rel="nofollow">https://scikit-learn.org/stable/modules/model_evaluation.html</a></p>
<h4 dir="auto">Additional context</h4>
<p dir="auto">If Scikit-learn decided not to have a package to calculate the specificity score for multiclass problems, is there a reason why this was omitted?</p>
<p dir="auto">Alternatively, if I really need to calculate the specificity score for multiclass problems at this point in time, what is the best way in doing so, in particular calculating the specificity score (for multiclass problems) together using <code class="notranslate">GridSearchCV()</code>.</p>
<p dir="auto">It would be nice if these rates would be included in the metrics module:</p>
<ul dir="auto">
<li>False positive rate (Fall-out)</li>
<li>False negative rate (Miss rate)</li>
<li>True negative rate (specificity)</li>
</ul>