-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
What are the scores in the search results and how are they calculated? #10
Comments
I was curious myself, so I checked the source code: mreid-resolver/src/routes/Search.svelte Line 125 in 346748d
It's the natural log (log base e or ln) of the A negative natural log means that the original You can't really infer anything from it other than "bigger is better." |
Hi, @iancappelletti and @tfmorris , sorry for slow response, As you correctly noticed, I don't calculate score fully on client side. Also I don't know the exact algorithm on GKG side, but I encountered few patents, related to this topic, From https://patentimages.storage.googleapis.com/7e/d3/17/fb60b3a8f7c0a2/US9672251.pdf There is also https://image-ppubs.uspto.gov/dirsearch-public/print/downloadPdf/10331706 which describes "human evaluator", trust coefficients and so on, so I expect that some values are multiplied by hidden coefficients. Regarding search results, consider search space as concatenation of all titles + descriptions + identifiers, indexed with full-text-search algorithm. Overall score looks like a mix of score from number of extractions and similarity with description (BM25-like algorithm). Overall score returned from knowledge graph api looks like an additive score, which sometimes contains huge numbers, so I apply log function to make it easier to read. |
Can you explain the score that appears next to each result on any given search results page? The highest value I've seen so far was a 10.1, and one time the values even came back as negative!
Thanks, fantastic tool BTW.
The text was updated successfully, but these errors were encountered: