Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

answer after part f i mean g , h , i , j , k , i , ii , iii ( f ) Provide

answer after part f i mean g,h,i,j,k,i,ii,iii(f) Provide an example ranking for this query that maximizes R@10[5 points]
(g) You have reason to believe that the users of this system will want to examine every
relevant document for a given query. In other words, you have reason to believe that
users want perfect recall. You want to evaluate based on P@K. Is there a query-specific
method for setting the value of K that would be particularly appropriate in this scenario?
What is it? Your answer should be related to R-Precision. [10 points]
(h) Compute average precision (AP).[10 points]
(i) Provide an example ranking for this query that maximizes average precision (AP).[5
points]
(j) Compute DCG5(i.e., the discounted cumulative gain at rank 5).[10 points]
(k) NDCG5 is given by NDCG5= DCG5/IDCG5, where IDCG5 is the DCG5
associated with the ideal top-5 ranking associated with this query. [10 points]
(i) What is the ideal top-5 ranking associated with this query (notice that the query has 1
perfect document, 1 excellent document, 3 good documents, 2 fair documents, and the
rest of the documents are bad)?[10 points]
(ii) IDCG5 is the DCG5 associated with the ideal ranking. Compute IDCG5.(Hint:
compute DCG5 for your ranking proposed in part (i).)[10 points]
(iii) Compute NDCG5 using the formula above. 2: Precision-Recall Curves [15 points]
A Precision-Recall (PR) curve expresses precision as a function of recall. Usually, a PR-
curve is computed for each query in the evaluation set and then averaged. For simplicity,
the goal in this question is to draw a PR-curve for a single query. Draw the PR-curve
associated with the ranking above (same query, same results). Hint: Your PR curve
should always go down with increasing levels of recall (interpolation).[20 points]
image text in transcribed

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_2

Step: 3

blur-text-image_3

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

Introduction To Constraint Databases

Authors: Peter Revesz

1st Edition

1441931554, 978-1441931559

More Books

Students also viewed these Databases questions

Question

Writing a Strong Introduction

Answered: 1 week ago