Question: (h ) The table below shows a binary term-document incidence matrix for a sample data collection: D5 D6 D1 0 D4 0 0 Gel Animal
(h ) The table below shows a binary term-document incidence matrix for a sample data collection: D5 D6 D1 0 D4 0 0 Gel Animal Spring Car Window Flower D2 1 0 1 0 1 1 D3 1 1 0 1 0 1 0 0 1 H - Answer the following questions, clearly showing your working: (0) Determine, using the above matrix, the documents that are relevant to the query "Spring" AND "Flower". Write down the steps to arrive at your answer. [3 marks] Determine, using the above matrix, the documents that are relevant to the query "Gel" AND NOT "Window". Write down the steps to arrive at your answer. [2 marks] Briefly explain why using the Cosine similarity is not well-suited to identify the most relevant documents based on binary term-document incidence matrices. [2 marks] (iv) Would the number of zero elements in the table increase or decrease if synonyms would be accounted for? Justify your answer. [2 marks)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
