Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

( 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)
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Processing Fundamentals, Design, and Implementation

Authors: David M. Kroenke, David J. Auer

14th edition

133876705, 9781292107639, 1292107634, 978-0133876703

More Books

Students also viewed these Databases questions