Skip to content

Script for evaluating DBpedia entity types using hierarchical f-measure, precision and recall

License

Notifications You must be signed in to change notification settings

kliegr/hierarchical_evaluation_measures

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hierarchical evaluation measures

Implementation of hierarchical F-measure (hF), hierarchical precision (hP) and hierarchical recall (hR) and exact precision. The script was developed for evaluation of type quality in DBpedia.

#Example execution

python computeHmeasures.py "en.lhd.core.2014.nt" "dbpedia_2014.owl" "gs3-toDBpedia2014.nt" "en.lhd.core.gs3.log"

Input files - Gold standard datasets

The datasets are described in our JWS paper

Additional details can be found here http://ner.vse.cz/datasets/linkedhypernyms/

Output

reading gs
reading predicted
finished reading input datasets
total instances in groundtruth:1033.0
total instances in intersection of groundtruth and prediction:402.0
hP:0.864357864358
hR:0.370553665326
hF:0.518726997186
Precision (exact):0.654228855721

About

Script for evaluating DBpedia entity types using hierarchical f-measure, precision and recall

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages