Question: ( 4 marks ) ( c ) Convert the following TDIM to a Frequency Normalised TF - IDF matrix and use the Vector Space Model

(4 marks)
(c) 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
\table[[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]]
(15 marks)
Total (25 marks)
 (4 marks) (c) Convert the following TDIM to a Frequency Normalised

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!