Spaces:
Runtime error
Runtime error
Update single.py
Browse files
single.py
CHANGED
@@ -98,9 +98,9 @@ def body():
|
|
98 |
**Legend**
|
99 |
|
100 |
- **AOPC Comprehensiveness** (aopc_compr) measures *comprehensiveness*, i.e., if the
|
101 |
-
explanation captures
|
102 |
-
- **AOPC Sufficiency** (aopc_suff) measures *sufficiency*, i.e.,
|
103 |
-
- **Leave-On-Out TAU Correlation** (taucorr_loo) measures
|
104 |
|
105 |
See the paper for details.
|
106 |
"""
|
|
|
98 |
**Legend**
|
99 |
|
100 |
- **AOPC Comprehensiveness** (aopc_compr) measures *comprehensiveness*, i.e., if the
|
101 |
+
explanation captures all the tokens needed to make the prediction. It is computed as the drop in the model probability if the relevant tokens of the explanations are removed. The higher the comprehensiveness, the more faithful is the explanation.
|
102 |
+
- **AOPC Sufficiency** (aopc_suff) measures *sufficiency*, i.e., if the relevant tokens in the explanation are sufficient to make the prediction. It is computed as the drop in the model probability if only the relevant tokens of the explanations are considered. The lower the sufficiency, the more faithful is the explanation since there is less change in the model prediction.
|
103 |
+
- **Leave-On-Out TAU Correlation** (taucorr_loo) measures the Kendall rank correlation coefficient τ between the explanation and leave-one-out importances. The latter are computed by omittig individual input tokens and measuring the variation on the model prediction. The closer the τ correlation is to 1, the more faithful is the explanation.
|
104 |
|
105 |
See the paper for details.
|
106 |
"""
|