AI and ML (CS2227) Previous Year Question Papers

4 RV University previous year question papers for AI and ML (CS2227), a semester 3 course: End-sem, CIE 1, Midterm exams from 2025 to 2026. Read every question with its diagrams, or open the original scans. Also known as ML, AIML.

2026 question papers

2025 question papers

Questions asked more than once

Questions that appeared in more than one AI and ML exam, most repeated first.

  1. A. Consider a simple linear regression model with the cost function: Consider a simple linear regression model with the cost function J(theta0,theta1) = frac{1}{2m} sum{i=1}^{m} left(htheta(x^{(i)})-y^{(i)}right)^2 Asked 3 times: Midterm Apr 2025 Q8, End-sem Dec 2025 Q2a, End-sem Jul 2026 Q2
  2. A. A model is trained to classify data into three classes: X, Y, and Z. The following confusion matrix is obtained on the test data: X (Predicted) Y (Predicted) Z (Predicted) X (Actual) 40 5 5 Y (Actual) 4 30 6 Z (Actual) 3 2 35 Asked 2 times: End-sem Dec 2025 Q3a, End-sem Jul 2026 Q3
  3. Identify which class the model performs best on and justify your answer. Asked 2 times: End-sem Dec 2025 Q3c, End-sem Jul 2026 Q3c

Browse more RVU papers

RVU 3rd semester previous year question papers · RVU End-sem previous year question papers · RVU CIE previous year question papers · RVU Midterm previous year question papers · RVU School of Computer Science and Engineering (SoCSE) question papers