Convert the following TDIM to a Frequency Normalised TF-IDF matrix and use the Vector Space Model to calculate the two most relevant documents to each of the following queries: (i) UK prime minister meet officials in Ireland covid situation (ii) Covid vaccine effect on omicron in Ireland Term Occurrences D1 D2 D3 D4 D5 ireland 4 1 0 1 0 president 0 0 0 5 2 prime 1 0 2 0 0 minister 1 0 2 0 0 UK 1 0 2 2 3 covid 1 3 0 0 1 vaccine 0 1 0 0 0 health 1 1 0 0 2 omicron 0 2 0 0 2 US 0 0 0 1 2
Convert the following TDIM to a Frequency Normalised TF-IDF matrix and use the Vector Space Model to calculate the two most relevant documents to each of the following queries: (i) UK prime minister meet officials in Ireland covid situation (ii) Covid vaccine effect on omicron in Ireland Term Occurrences D1 D2 D3 D4 D5 ireland 4 1 0 1 0 president 0 0 0 5 2 prime 1 0 2 0 0 minister 1 0 2 0 0 UK 1 0 2 2 3 covid 1 3 0 0 1 vaccine 0 1 0 0 0 health 1 1 0 0 2 omicron 0 2 0 0 2 US 0 0 0 1 2
Related questions
Question
Convert the following TDIM to a Frequency Normalised TF-IDF matrix and use the
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 5 steps with 1 images