Skip to content

Commit d4555bd

Browse files
committed
Fix pesky math rendering issue caused by abbreviation in math
See Python-Markdown/markdown#1512
1 parent 078c1e5 commit d4555bd

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

docs/value/classwise-shapley.md

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -151,18 +151,21 @@ As a scalar summary of this curve, [@schoch_csshapley_2022] define **Weighted
151151
Accuracy Drop** (WAD) as:
152152

153153
$$
154-
\text{WAD} = \sum_{j=1}^{n} \left ( \frac{1}{j} \sum_{i=1}^{j}
155-
a_{T_{-\{1 \colon i-1 \}}}(D) - a_{T_{-\{1 \colon i \}}}(D) \right)
156-
= a_T(D) - \sum_{j=1}^{n} \frac{a_{T_{-\{1 \colon j \}}}(D)}{j} ,
154+
\begin{aligned}
155+
\text{wad} &= \sum_{j=1}^{n} \frac{1}{j} \sum_{i=1}^{j}
156+
\left( a_{T_{-\{1 : i-1 \}}}(D) - a_{T_{-\{1 : i \}}}(D) \right) \\
157+
&= a_T(D) - \sum_{j=1}^{n} \frac{a_{T_{-\{1 : j \}}}(D)}{j} ,
158+
\end{aligned}
157159
$$
158160

161+
159162
where $a_T(D)$ is the accuracy of the model (trained on $T$) evaluated on $D$
160-
and $T_{-\{1 \colon j \}}$ is the set $T$ without elements from $\{1, \dots , j
163+
and $T_{-\{1 : j \}}$ is the set $T$ without elements from $\{1, \dots , j
161164
\}$.
162165

163166
We run the point removal experiment for a logistic regression model five times
164-
and compute WAD for each run, then report the mean $\mu_\text{WAD}$ and standard
165-
deviation $\sigma_\text{WAD}$.
167+
and compute WAD for each run, then report the mean $\mu_\text{wad}$ and standard
168+
deviation $\sigma_\text{wad}$.
166169

167170
![Mean WAD for best-point removal on logistic regression. Values
168171
computed using LOO, CWS, Beta Shapley, and TMCS

0 commit comments

Comments
 (0)