You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi all, I am using Python (2.7), numpy (1.13.3), scipy (0.19.1), sematch (1.0.4).
I've been trying to reproduce the semantic similarity of DBpedia entities results in the readme, I got the same results using similarity, but lower ones using relatedness:
The text was updated successfully, but these errors were encountered:
ibrahimsharaf
changed the title
DBpedia entites relatedness doesn't produce the same results
DBpedia entities relatedness doesn't produce the same results
Oct 3, 2017
ibrahimsharaf
changed the title
DBpedia entities relatedness doesn't produce the same results
DBpedia entities relatedness don't produce the same results
Oct 3, 2017
I believe the formula used here to compute relatedness, rel(a, b) =(math.log(max([a, b])) - math.log(ab)) / (math.log(self.entity_N) - math.log(min([a, b]))) is actually sort of a distance measure.
It should be rel(a, b) = 1. - ((math.log(max([a, b])) - math.log(ab)) / (math.log(self.entity_N) - math.log(min([a, b]))))
Hi all, I am using Python (2.7), numpy (1.13.3), scipy (0.19.1), sematch (1.0.4).
I've been trying to reproduce the semantic similarity of DBpedia entities results in the readme, I got the same results using similarity, but lower ones using relatedness:
Also I tried tinkering with some other entities, the results were not very logical, some of it were > 1.0 (is that even possible?) e.g:
The text was updated successfully, but these errors were encountered: