Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

please give me asnwer dont give me method i want solution homework , i need just g , h , i , j , k

please give me asnwer dont give me method i want solution homework , i need just g,h,i,j,k,i,i,ii,iii
(a) Compute P@5 and P@10.[10 points]
(b) Compute R@5 and R@10.[10 points]
(c) Provide an example ranking for this query that maximizes P@5[5 points
(f) Provide an example ranking for this query that maximizes R@10[5 point
(d) Provide an example ranking for this query that maximizes P@10[5 points]
) Provide an example ranking for this query that maximizes R@5[5 points]
(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

Advanced MySQL 8 Discover The Full Potential Of MySQL And Ensure High Performance Of Your Database

Authors: Eric Vanier ,Birju Shah ,Tejaswi Malepati

1st Edition

1788834445, 978-1788834445

More Books

Students also viewed these Databases questions

Question

7. What decisions would you make as the city manager?

Answered: 1 week ago

Question

8. How would you explain your decisions to the city council?

Answered: 1 week ago