Lab 4 : Metrics Given a system that predicts if text is a Person or Not. Answer the questions that follow. System A prediction (Person predictions are in Blue) Tom and Jerry was the best cartoon on...

1 answer below »
NLP _ Natural Language Processing Techniques


Lab 4 : Metrics Given a system that predicts if text is a Person or Not. Answer the questions that follow.   System A prediction (Person predictions are in Blue) Tom and Jerry was the best cartoon on in Paris. No one watched more than Joe and Bob   Correct Answer Tom and Jerry was the best cartoon on in Paris. No one watched more than Joe and Bob Part A 1. What is the accuracy of System A? 2. What is the precision of System A? 3. What is the recall of System A? 4. What is the F1-Measure of System A? 5. Which measure do you think represents the true value of the system, and why? Part B program a function that calculates and displays all 4 metrics (accuracy,precision, recall, f1-measure) . The functions should accept TP,TN,FP,FN  as parameters and print out the results  for all 4 metrics
Answered Same DayJun 21, 2021

Answer To: Lab 4 : Metrics Given a system that predicts if text is a Person or Not. Answer the questions that...

Shreyan answered on Jun 22 2021
147 Votes
Lab 4 : Metrics
Given a system that predicts if text is a Person or Not. Answer the questions that
follow.
 
System A prediction (Person predictions are in Blue)
Tom and Jerry was the best cartoon on in Paris. No one watched more than Joe and Bob
 
Correct Answer
Tom and Jerry was the best cartoon on in Paris. No one watched more than Joe and Bob
Part A
TP = 3, TN = 12, FP = 2, FN = 1
1. What is the accuracy of System A?
Accuracy = 0.83333 = 83.33%
2. What is the precision of System A?
Precision = 0.6 = 60%
3. What is the recall...
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here