NLP Assignment-11 Solution
NLP Assignment-11 Solution
Assignment 11
Type of Question: MCQ
Number of Questions: 8 [Question 4,5 carries two marks] Total Marks: 6*1+2*2=10
Question 1: Your teacher recommended you to read the book ’Deep Learning with
Python’. After reading the book, you want to summarize it. What kind of summarization
method would you use for this purpose?
1. Abstractive single document summarization
2. Abstractive multi document summarization
3. Extractive single document summarization
4. Extractive multi document summarization
a. 1, 2
b. 3, 4
c. 1, 3
d. 2, 4
Answer: c
Solution:
Answer: 1,3
Answer: 2,3,4
Question 4: It is estimated that 20% of GPT-4 generated texts are fake. Google built some
AI system to filter these fake contents. An AI system claims that it can detect 99% of fake
contents, and the probability for a false positive (a real content detected as fake) is 3%.
Now if a content is detected as fake, then what is the probability that it is in fact a real
content?
a. 0.084
b. 0.118
c. 0.108
d. None of the above
Answer: c
Solution:
Let, A = Event that a content is detected as fake
B = Event that a generated text is fake
P(B) = 0.2
P(B’′) = 0.8
P(A|B) = 0.98
P(A|B′) = 0.03
≈ 0.108
For question 5-8 follow the below Table . One classifier predicts the following. The
correct prediction is shown by the tick mark under Match column.
Question 5: What is the macro-averaged f1 score?
a. 0.54
b. 0.56
c. 0.58
d. 0.64
Answer: c
a. 0.58
b. 0.64
c. 0.50
d. 0.60
Answer: d
Answer: a
Answer: c
Solution:
Airplane :
Precision: 0.67, Recall: 0.67
Boat:
Precision: 0.25, Recall: 1.00
Car:
Precision: 1.00, Recall: 0.50
macro-f1: 0.58
micro-f1: 0.60
Accuracy: 6/10 = 0.60