
Answer-first summary for fast verification
Answer: Measure the model's performance using a combination of precision, recall, and F1-score metrics.
Measuring the model's performance using a combination of precision, recall, and F1-score metrics provides a more comprehensive evaluation of its accuracy. Precision measures the proportion of correct predictions among all positive predictions, recall measures the proportion of correct predictions among all actual positive samples, and F1-score is the harmonic mean of precision and recall. This approach allows you to identify the strengths and weaknesses of the model and make targeted improvements. Options A, B, and C do not provide a complete assessment of the model's performance.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
You have developed a language understanding model for a virtual assistant that can handle various intents such as 'book_flight', 'check_weather', and 'play_music'. You want to test the model's performance using a set of test data. Which of the following approaches should you use to evaluate the model's accuracy?
A
Manually review the model's predictions for each test sample and compare them to the expected results.
B
Use a simple majority voting system to determine the model's predictions for each test sample.
C
Calculate the percentage of test samples for which the model's predictions match the expected results.
D
Measure the model's performance using a combination of precision, recall, and F1-score metrics.
No comments yet.