For the query Q = "Beijing duck recipe", find the two top ranked documents according to the tf-idf rank. Assume the cosine similarity measure and the

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question
2. There are 5 different documents in the collection:
D1 = "If it walks like a duck and quacks like a duck, it must be a duck."
D2 = "Beijing Duck is mostly prized for the thin, crispy duck skin."
D3 = "Bugs' ascension to stardom also prompted the Warner animators to
recast Daffy Duck as the rabbit's rival, intensely jealous and determined to
steal back the spotlight while Bugs remained indifferent to the duck's
jealousy, or used it to his advantage. This turned out to be the recipe for the
success of the duo."
D4 = "6:25 PM 1/7/2018 blog entry: I found this great recipe for Rabbit
Braised in Wine on cookingforengineers.com."
D5 = "Last week Li has shown you how to make the Sichuan duck. Today we'll
be making Chinese dumplings (Jiaozi), a popular dish that I had a chance to
try last summer in Beijing. There are many recipies for Jiaozi."
(a) For the query Q = "Beijing duck recipe", find the two top ranked documents
%3D
according to the tf-idf rank. Assume the cosine similarity measure and the
culinary term set T = {Beijing, dish, duck, rabbit, recipe, roast} (i.e. other terms
are not indexed and thus not represented in the document vectors). Are the
top ranked documents relevant to the query?
Transcribed Image Text:2. There are 5 different documents in the collection: D1 = "If it walks like a duck and quacks like a duck, it must be a duck." D2 = "Beijing Duck is mostly prized for the thin, crispy duck skin." D3 = "Bugs' ascension to stardom also prompted the Warner animators to recast Daffy Duck as the rabbit's rival, intensely jealous and determined to steal back the spotlight while Bugs remained indifferent to the duck's jealousy, or used it to his advantage. This turned out to be the recipe for the success of the duo." D4 = "6:25 PM 1/7/2018 blog entry: I found this great recipe for Rabbit Braised in Wine on cookingforengineers.com." D5 = "Last week Li has shown you how to make the Sichuan duck. Today we'll be making Chinese dumplings (Jiaozi), a popular dish that I had a chance to try last summer in Beijing. There are many recipies for Jiaozi." (a) For the query Q = "Beijing duck recipe", find the two top ranked documents %3D according to the tf-idf rank. Assume the cosine similarity measure and the culinary term set T = {Beijing, dish, duck, rabbit, recipe, roast} (i.e. other terms are not indexed and thus not represented in the document vectors). Are the top ranked documents relevant to the query?
Expert Solution
steps

Step by step

Solved in 5 steps

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY