Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Do you have an explanation for steps Jaccard's coefficient & Dice's coefficient? Consider the following document-term table with 10 documents and 8 terms (A through

image text in transcribed

Do you have an explanation for steps Jaccard's coefficient & Dice's coefficient?

Consider the following document-term table with 10 documents and 8 terms (A through H ) containing raw term frequencies. We also have a specified query, Q, with the indicated raw term weights (the bottom row in the table). Answer the following questions, and in each case give the formulas you used to perform the necessary computations. Note: do this using a spreadsheet program such as Microsoft Excel. Alternatively, you can write a program to perform the computations. Please include your worksheets or code in the assignment submission. (a) Compute the ranking score for each document based on each of the following query-document similarity measures (sort the documents in the decreasing order of the rank score): - Dot product - Cosine similarity - Jaccard's Coefficient - Dice's coefficient, formula of Dice (A,B)=2AB/(A+B) (b) Construct a similar table to above, but instead of raw term frequencies compute the tf-idf weights for the terms (not normalized). Then compute the ranking scores using cosine similarity. Explain any significant differences between the ranking you obtained here and the Cosine ranking from the previous part

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

Visualizing Health And Healthcare Data Creating Clear And Compelling Visualizations To See How Youre Doing

Authors: Katherine Rowell ,Lindsay Betzendahl ,Cambria Brown

1st Edition

1119680883, 978-1119680888

More Books

Students also viewed these Databases questions

Question

Which form of proof do you find least persuasive? Why?

Answered: 1 week ago