Question

This question is about NDCG. Suppose a 5-point scale is used in relevance judgements, and a...

This question is about NDCG. Suppose a 5-point scale is used in relevance judgements, and a ranking of answers to a query is: 4, 3, 1, 0, 3, 2, 1, 4, 0, 2. What is the value of NDCG @ 10?

Homework Answers

Answer #1

Step 1: Calculate the cumulative gain which is equal to sum of relevance score i.e ranking of answer

CG= 4+3+1+0+3+2+1+4+0+2= 20

Step 2: Calculate discounted cumulative gain.

DCG= where i = 1 to 10 and rel is relevance score

DCG= 4/log(2) + 3/log(3) + 1/log(4) + 0/log(5) + 3/log(6) + 2/log(7) + 1/log(8) + 4/log(9) + 0/log(10) + 2/log(11)

DCG= 4 + 1.89+ .5 + 0 + 1.16 + .712 + .33 + 1.26 + 0 + .578 = 10.43

Step 3: Arrange in descending order of their relevance score and Calculate Ideal discounted cumulative gain.

IDCG= 4/log(2) + 4/log(3) + 3/log(4) + 3/log(5) + 2/log(6) + 2/log(7) + 1/log(8) + 1/log(9) + 0/log(10) + 0/log(11)

IDCG= 4+ 2.52+ 1.5+ 1.29 + .77 + .712 + .33 + .315 + 0 + 0 = 11.437

Step 3: Calculate Normalised discounted cumulative gain(NDCG)

NDCG= DCG\IDCG = 10.43/11.437 = .912

NDCG@10 = .912 x 10 = 9.12

Thank You!

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
Suppose eight test viewers are asked about the new film. On a scale from 0 to...
Suppose eight test viewers are asked about the new film. On a scale from 0 to 25, these are the results:   TABLE 1 What is the 70th percentile? Group of answer choices 12 17 6 21 8 Flag this Question Question 710 pts If a person scored a 12 on X, what is their deviation from the mean? Group of answer choices +0.25 -0.25 +2.00 +0.75 +1.50 X f 6 4 12 2 21 2
Question 3 (1 point) Which of the following reasons is why SR latches are not used...
Question 3 (1 point) Which of the following reasons is why SR latches are not used to store modern memory? Question 3 options: Ability to store 1 bit. Immune to timing issues. Ability to be implemented with gates. Timing issues. Question 4 (1 point) Which of the following differentiates a latch and a flip flop? Question 4 options: Usage of a clock. Cannot toggle. Significantly less gates needed for implementation. Ability to store more than one bit. Question 5 (1...
The Decibel Scale (5 marks). The decibel scale is a logarithmic scale for measuring the sound...
The Decibel Scale . The decibel scale is a logarithmic scale for measuring the sound intensity level. Because the decibel scale is logarithmic, it changes by an additive constant when the intensity as measured in W/m2 changes by a multiplicative factor. The number of decibels increases by 10 for a factor of 10 increase in intensity. a. What is the sound intensity level ??, in decibels, of a sound wave whose intensity is 10 times the reference intensity (i.e., ??...
Question Fifty-three percent of employees make judgements about their co-workers based on the cleanliness of their...
Question Fifty-three percent of employees make judgements about their co-workers based on the cleanliness of their desk. You randomly select 8 employees and ask them if they judge co-workers based on this criterion. The random variable is the number of employees who judge their co-workers by cleanliness. Which outcomes of this binomial distribution would be considered unusual? Homework Help: 3VD. Finding unusual outcomes from a probability distribution (Links to an external site.) (2:32) Group of answer choices 0, 1, 2,...
*********I need question 6 answered which is from question 5 which is ********* Question 5 :...
*********I need question 6 answered which is from question 5 which is ********* Question 5 : Program Correctness I (1 point) Use the loop invariant (I) to show that the code below correctly computes n P−1 k=0 2k (this sum represents the sum of the first n even integers where n ≥ 1). Algorithm 1 evenSum(int n) 1: p = 2(n − 1) 2: i = n − 1 3: while i > 0 do 4: //(I) p = nP−1...
Calibrating a scale: Making sure that the scales used by businesses in the United States are...
Calibrating a scale: Making sure that the scales used by businesses in the United States are accurate is the responsibility of the National Institute for Standards and Technology (NIST) in Washington, D.C. Suppose that NIST technicians are testing a scale by using a weight known to weigh exactly 1000 grams. The standard deviation for scale reading is known to be σ=3.1. They weigh this weight on the scale 45 times and read the result each time. The 45 scale readings...
Question 10 (1 point) When students use the bus from their dorms, they have an average...
Question 10 (1 point) When students use the bus from their dorms, they have an average commute time of 10.288 minutes with standard deviation 3.9712 minutes. Approximately 82.66% of students reported a commute time greater than how many minutes? Assume the distribution is approximately normal. Question 10 options: 1) 25.13 2) We do not have enough information to calculate the value. 3) 4.55 4) 14.02 5) 6.55 Question 11 (1 point) Suppose that the probability of a baseball player getting...
Question 4 The norm for the Family Responsibility (FRE) scale of the California Psychological Inventory (CPI)...
Question 4 The norm for the Family Responsibility (FRE) scale of the California Psychological Inventory (CPI) is 32; those scoring higher than the norm are considered to be highly responsible. A researcher believes that the higher the number of children in the family (X), the higher the family responsibility (Y). To test this, the CPI/FRE was administered to a group of 10 adolescents from families of various sizes. They were found to have the following scores: Child 1 2 3...
Question 6 (1 point) Suppose that one-way commute times in a particular city are normally distributed...
Question 6 (1 point) Suppose that one-way commute times in a particular city are normally distributed with a mean of 26.75 minutes and a standard deviation of 2.216 minutes. Would it be unusual for a commute time to be below 37 minutes? Question 6 options: 1) It is impossible for this value to occur with this distribution of data. 2) The value is unusual. 3) The value is not unusual. 4) We do not have enough information to determine if...
Question Part Submissions Used 1 0/2 Suppose that one measures the magnitude of the total orbital...
Question Part Submissions Used 1 0/2 Suppose that one measures the magnitude of the total orbital angular momentum of the hydrogen atom and obtains the result 3.65 x 10-34 J-s. Suppose the z-component of the orbital angular momentum and the energy of the hydrogen atom were simultaneously measured. Which of the following measurement result possibilities would not have been obtained? 1. Lz=0 2.E=-1.5 eV 3. E=-0.85 eV 4. Lz=-3.17 x 10-34 J-s
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT