Open louise-davies opened 1 year ago
Discussing with Saiful, the related documents/data are given based on 'summary' and 'title'.
Thanks for confirming. I have just made a PR for the new suggestion UI on investigation landing pages, which uses the new "similar" API that suggests related investigations given the ID of an existing investigation.
When you chose the top documents, you need to rely on the 'score', which is a probability from 0 to 1.
This is already taken into account - the suggestions are sorted by score, and only the first 3 suggestions are shown.
Please find the attached design, which displays topics using chips. The score for each topic is colour-coded, with more saturated colours indicating a higher score (probability). Sort the documents based on score and show them in a table. Each page of the table displays five documents, and pagination is included to easily navigate to the next top five documents.
I hope this helps.
Thank you, this is very helpful.
Description: Saiful has been working on a ML reccomendation system for investigations based on their
summary
fields. We'd like to display a list of "similar" investigations when looking at an investigation (so on the investigation landing pages). See screenshot below for where the inspiration for this came from. Basic idea would be to query the API with the investigation id, and display the top 3/4/5? results in the form of a link with the Investigation title as the text and perhaps the DOI as the link address. However, some investigations don't have summaries so we should not display this for them (as otherwise it would just be nonsense recommendations)See Viktor for more info
Acceptance criteria:
summary
s)