ranking-agent / aragorn-ranker

Exposes TRAPI functions to add literature co-occurrence edges, convert publications to edge weights, and provide scores for answers.
MIT License
0 stars 1 forks source link

Bugfixes to weighting #53

Closed cbizon closed 2 years ago

cbizon commented 2 years ago
  1. Updating the biolink predicate being used. This is a bit tricky b/c the current predicate in 2.2.7 is actually biolink:co-occurs_in_literature_with which fails to trapi validate. The predicate being used here is a future one (2.2.8) but it's not going to cause any trouble.
  2. Omnicorp was returning both a num_publications and a publications: [] attribute. The empty publications was causing trouble in weighting.
  3. Getting the normalization values was completely wrong.