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

Information Retrieval  Information Retrieval \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 \\

\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

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!