📚 CBSE Grade-10 Study Guide Open in the Study Guide single page app →
HomeArtificial Intelligence

Artificial Intelligence — CBSE Class 10 board question

Q1. [4]
Confusion Matrix showing the results of a sentiment analysis model tested on 500 movie reviews.
A sentiment analysis model was built to classify movie reviews as either Positive or Negative. The model was tested on a dataset of 500 reviews, resulting in the following confusion matrix :
  1. (a) How many total cases are True Positive in the above scenario? [1]
  2. (b) Calculate Precision, Recall and F1-Score. [3]
Previously asked in CBSE board exam
2025 104/S Q21
Generated by claude-sonnet-4-6 · 2026-06-21 03:19 · grounding stimulus
Model Answer

(a) True Positives (TP) = 300
(Cases where the model correctly predicted a review as Positive, and it actually was Positive.)

---

(b)

Given: TP = 300, FP = 60, FN = 40, TN = 100

$$\text{Precision} = \frac{TP}{TP + FP} = \frac{300}{300 + 60} = \frac{300}{360} \approx 0.833$$

$$\text{Recall} = \frac{TP}{TP + FN} = \frac{300}{300 + 40} = \frac{300}{340} \approx 0.882$$

$$\text{F1-Score} = \frac{2 \times \text{Precision} \times \text{Recall}}{\text{Precision} + \text{Recall}} = \frac{2 \times 0.833 \times 0.882}{0.833 + 0.882} = \frac{1.469}{1.715} \approx \mathbf{0.857}$$

---

Explanation
If a question refers to an image, map, graph or diagram that is not shown here, open the Study Guide single page app, go to Library and find the actual CBSE question paper. The original papers are also available on the CBSE website: cbse.gov.in.
Previous-year CBSE Grade 10 board exam questions, organised by subject and chapter, each with a model answer — free to read and print.