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

Add weight source #65

Closed raynCovar closed 2 years ago

raynCovar commented 2 years ago

This adds the weight source into the weight value field. Previously the value field was a number, but is now a dictionary with the origin/primary source as the key. In the creation of the Laplacian matrix, it removes the duplicated sources and takes the max for each edge in the results graph.