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.
Questions that appeared in more than one AI and ML exam, most repeated first.
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
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