Skip to content

Commit 5d1305e

Browse files
authored
add heading, link issue
1 parent 057daba commit 5d1305e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,8 @@ Trust is based on the model's performance on a validation set. After training, w
103103
on a validation set for each class. If the `ensemble_type` is set to `wmv-f1`, the trust is calculated as 1 + the F1 score.
104104
If the `ensemble_type` is set to `mv` (the default), the trust is set to 1 for all models.
105105

106-
3. After a decision has been made for each class independently, the consistency of the predictions with regard to the ChEBI hierarchy
106+
### Inconsistency correction
107+
After a decision has been made for each class independently, the consistency of the predictions with regard to the ChEBI hierarchy
107108
and disjointness axioms is checked. This is
108109
done in 3 steps:
109110
- (1) First, the hierarchy is corrected. For each pair of classes $A$ and $B$ where $A$ is a subclass of $B$ (following
@@ -113,7 +114,7 @@ belongs to the direct and indirect superclasses (e.g., primary alcohol, aromatic
113114
- (2) Next, we check for disjointness. This is not specified directly in ChEBI, but in an additional ChEBI module ([chebi-disjoints.owl](https://ftp.ebi.ac.uk/pub/databases/chebi/ontology/)).
114115
We have extracted these disjointness axioms into a CSV file and added some more disjointness axioms ourselves (see
115116
`data>disjoint_chebi.csv` and `data>disjoint_additional.csv`). If two classes $A$ and $B$ are disjoint and we predict
116-
both, we select one of them randomly and set the other to 0.
117+
both, we select one of them randomly (https://github.com/ChEB-AI/python-chebifier/issues/6) and set the other to 0.
117118
- (3) Since the second step might have introduced new inconsistencies into the hierarchy, we repeat the first step, but
118119
with a small change. For a pair of classes $A \subseteq B$ with predictions $1$ and $0$, instead of setting $B$ to $1$,
119120
we now set $A$ to $0$. This has the advantage that we cannot introduce new disjointness-inconsistencies and don't have

0 commit comments

Comments
 (0)