Skip to content

Setting threshold to 1.0 leads to precision > 1.0

nerval -a full_annot.bio -p full_predict_pylaia.bio -v -t 1.0
2024-05-16 11:20:16,077 INFO/nerval.evaluate: Parsing file @ full_annot.bio
2024-05-16 11:20:16,176 INFO/nerval.evaluate: Parsing file @ full_predict_pylaia.bio

| tag                                     | predicted | matched | Precision | Recall |    F1 | Support |
|:----------------------------------------|----------:|--------:|----------:|-------:|------:|--------:|
| None                                    |         1 |       0 |       0.0 |   None |  None |    None |
| acte                                    |      1114 |    1111 |     0.997 |    1.0 | 0.999 |    1111 |
| age_ou_delai___naissance                |       556 |     547 |     0.984 |  0.993 | 0.988 |     551 |
| date                                    |      1107 |    1106 |     0.999 |    1.0 |   1.0 |    1106 |
| em                                      |       376 |     376 |       1.0 |    1.0 |   1.0 |     376 |
| etat_matrimonial                        |       304 |     305 |     1.003 |    1.0 | 1.002 |     305 |
| general                                 |       241 |     235 |     0.975 |  0.992 | 0.983 |     237 |
| leg                                     |       519 |     522 |     1.006 |    1.0 | 1.003 |     522 |
| nom_de_l_epoux_se                       |       103 |     108 |     1.049 |    1.0 | 1.024 |     108 |
| nom_de_la_mere                          |       861 |     851 |     0.988 |    1.0 | 0.994 |     851 |
| nom_du_pere                             |      1165 |    1154 |     0.991 |    1.0 | 0.995 |    1154 |
| origine                                 |       528 |     527 |     0.998 |    1.0 | 0.999 |     527 |
| prenom_de_l_epoux_se                    |       121 |     120 |     0.992 |  0.992 | 0.992 |     121 |
| prenom_de_la_mere                       |       896 |     905 |      1.01 |  0.995 | 1.002 |     910 |
| prenom_du_pere                          |       916 |     913 |     0.997 |  0.998 | 0.997 |     915 |
| prenom_enfant__ou_du_marie_ou_du_decede |      1156 |    1157 |     1.001 |  0.999 |   1.0 |    1158 |
| profession                              |        89 |     103 |     1.157 |  0.981 | 1.062 |     105 |
| residence                               |       232 |     226 |     0.974 |  0.996 | 0.985 |     227 |
| sexe                                    |      1070 |    1069 |     0.999 |  0.999 | 0.999 |    1070 |
| ALL                                     |     11355 |   11335 |     0.998 |  0.998 | 0.998 |   11354 |