Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Information Retrieval begin{tabular}{||l|l|l|l||} hline & Doc1 & Doc2 & Doc3 hline cancer & 27 & 4 & 24 hline diagnosis & 3 &

Information Retrieval image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
\begin{tabular}{||l|l|l|l||} \hline & Doc1 & Doc2 & Doc3 \\ \hline cancer & 27 & 4 & 24 \\ \hline diagnosis & 3 & 33 & 0 \\ \hline insurance & 0 & 33 & 29 \\ \hline doctor & 14 & 0 & 17 \\ \hline \end{tabular} \begin{tabular}{||l|l||} \hline & idft \\ \hline cancer & 1.65 \\ \hline diagnosis & 2.08 \\ \hline insurance & 1.62 \\ \hline doctor & 1.5 \\ \hline \end{tabular} Rank the documents according to the computed tf-idf scores for the following three queries: 20310,10325,101040. Normalize the vectors above and use cosine similarity to rank the documents for the given queries accordingly. d) Was there a difference in ranking between parts (b) and (c)? If yes or no, explain why

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

How Do I Use A Database Research Tools You Can Use

Authors: Laura La Bella

1st Edition

1622753763, 978-1622753765

More Books

Students also viewed these Databases questions

Question

Please make it fast 4 7 1 .

Answered: 1 week ago