Commit a193c74
committed
experiments: max_similarity IC sweep — jcn wins on SE2007
Completes the max_similarity results on SemEval-2007 (the only config
we ran the full 6-metric sweep on; the others would be 4x slower).
| metric | accuracy |
|---------|---------:|
| jcn | 52.55% | <- best max_similarity by 19+ pp
| path | 33.56% |
| lch | 33.56% |
| lin | 30.56% |
| wup | 30.56% |
| res | 26.62% |
Notable: jcn beats simple_lesk on SE2007 (52.55 % vs 47.70 %).
Information-content-based metrics (res/jcn/lin) depend on the
Wikipedia IC pywsd 1.3.0 ships, computed via pywsd._ic.build_ic
(Resnik-1995-correct; fixes the double-count bug in upstream
wn.ic.compute). The non-trivial res/jcn/lin scores validate the IC.
README has the full method x config table and per-metric reading
notes.
Runtime note: each max_similarity run is ~10-30 min on 455 rows,
quadratic in (candidate x context synsets). Running the full sweep
on the larger configs would take hours each.1 parent 34486ad commit a193c74
2 files changed
Lines changed: 40 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
91 | | - | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
92 | 106 | | |
93 | | - | |
94 | | - | |
95 | | - | |
| 107 | + | |
96 | 108 | | |
97 | | - | |
98 | | - | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
99 | 127 | | |
100 | 128 | | |
101 | 129 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
0 commit comments