Skip to content

Commit aab2812

Browse files
committed
fix typos in fariness user guide
1 parent 2ad3eaa commit aab2812

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/_build/html/_sources/guides/testing/fairness.rst.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,15 @@ PIML supports various fairness metrics, as shown below. In specific, we use the
1919
.. math::
2020
2121
\begin{align}
22-
AIR = \frac{(TP_{p}+FN_{p}) / n_{r}}{(TP_{r}+FN_{r}) / n_{p}}.
22+
AIR = \frac{(TP_{p}+FP_{p}) / n_{r}}{(TP_{r}+FP_{r}) / n_{p}}.
2323
\end{align}
2424
2525
- **Precision**: Positive predictive value disparity ratio.
2626

2727
.. math::
2828
2929
\begin{align}
30-
Precision Ratio = \frac{(TP_{p}) / (TP_{p}+FP_{p})}{(TP_{r}) / (FP_{r}+FN_{r})}.
30+
Precision Ratio = \frac{(TP_{p}) / (TP_{p}+FP_{p})}{(TP_{r}) / (TP_{r}+FN_{r})}.
3131
\end{align}
3232
3333
- **Recall**: True positive rate disparity ratio.

docs/_build/html/guides/testing/fairness.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -257,14 +257,14 @@ <h2><span class="section-number">6.7.1. </span>Fairness Metrics<a class="headerl
257257
</ul>
258258
<div class="math notranslate nohighlight">
259259
\[\begin{align}
260-
AIR = \frac{(TP_{p}+FN_{p}) / n_{r}}{(TP_{r}+FN_{r}) / n_{p}}.
260+
AIR = \frac{(TP_{p}+FP_{p}) / n_{r}}{(TP_{r}+FP_{r}) / n_{p}}.
261261
\end{align}\]</div>
262262
<ul class="simple">
263263
<li><p><strong>Precision</strong>: Positive predictive value disparity ratio.</p></li>
264264
</ul>
265265
<div class="math notranslate nohighlight">
266266
\[\begin{align}
267-
Precision Ratio = \frac{(TP_{p}) / (TP_{p}+FP_{p})}{(TP_{r}) / (FP_{r}+FN_{r})}.
267+
Precision Ratio = \frac{(TP_{p}) / (TP_{p}+FP_{p})}{(TP_{r}) / (TP_{r}+FP_{r})}.
268268
\end{align}\]</div>
269269
<ul class="simple">
270270
<li><p><strong>Recall</strong>: True positive rate disparity ratio.</p></li>

0 commit comments

Comments
 (0)