Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Can someone explain me this question 2 clearly in step by step process Question 2 (2 + 2 + 2 + 2 = 8 marks)

Can someone explain me this question 2 clearly in step by step process

image text in transcribed
Question 2 (2 + 2 + 2 + 2 = 8 marks) Tweets have started to appear from unknown sources, using an alien language. The three most recent tweets are: . do da da da do . di di di do do . da da da da da da (a) Should we perform stop word removal and/or stemming on these three tweets? (b) Construct the document term frequency matrix. (c) Construct the cosine similarity score of each document to the query "da di" by using term frequencies. (d) Which tweet is more similar to the query? Justify your answer. Answer: (a) Stop words and stemming is specific to the language. Since we are unfamiliar with the alien language, we should not remove stop words or stem. 2 (b) do da di LIXS 20 D1 2 3 0 5 16 16 D2 2 3 D3 0 6 0 6 2 9 9 31 16 (c) d,q = 3, d,q = 3, d,q = 6, Il d, 1/= 13, 1/ d2 1/= 13, 1/ d, 1/=6, 1/91= v2, 2 s(d,, q) = 3(13 2) =0.588, s(d2.9) = (132) =0.588, s( d,, 9) = = 0.707 2 (d) Document 3 is more similar to the query. Because cosine similarity score is the highest. CHECK ME - 8 marks Question 3 (2 + 2 + 2 + 2 = 8 marks) The following graph shows the relationships between a set of YouTube clips

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered 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

Leading Strategic Change In An Era Of Healthcare Transformation

Authors: Jim Austin ,Judith Bentkover ,Laurence Chait

1st Edition

3319808826, 978-3319808826

Students also viewed these Mathematics questions