Living-with-machines / TargetedSenseDisambiguation

Repository for the work on Targeted Sense Disambiguation
MIT License
1 stars 0 forks source link

Fix bug in centroid methods #129

Closed kasparvonbeelen closed 3 years ago

kasparvonbeelen commented 3 years ago

They seem to return values > 1.

kasparvonbeelen commented 3 years ago

Found the bug, had to reset the index after concatenating training and validation set. When using ts_method='nearest' some indices would reappear within one label, creating more than two centroid vectors.