AI and ML (CS2227) End Semester Dec 2025 Question Paper

RV University End Semester exam for AI and ML (CS2227), held Dec 2025, semester 3, with 11 questions. Also searched as ML, AIML. Last updated 2026-11-24.

Questions

  1. 1a. (a) Define Supervised, Unsupervised, and Reinforcement Learning paradigms in Machine Learning. Discuss the type of data and tasks each paradigm is best suited for with one suitable example for each. [3 M].
  2. 1b. (b) Differentiate between Training, Validation, and Testing datasets. Explain their roles in the model development pipeline, and discuss how improper data splitting can affect model performance.[ 3 M ]
  3. 2a. 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} (htheta(x^{(i)}) - y^{(i)})^2 )Where ( hTheta(x) = theta0 + theta1 x ), If the initial values of ( th
  4. 2b. b) Find the updated values of ( theta0 ) and ( theta1 ) [3M]
  5. 2c. c) Find the updated value of J(θ) [1M]
  6. 3a. 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) 45 3 2 Y (Actual) 5 32 3 Z (Actual) 4 6 30 Compute the Precision and Recall-score for each cla
  7. 3b. Compute the overall accuracy of the model. [2M]
  8. 3c. Identify which class the model performs best on and justify your answer. [1M]
  9. 4a. A. A hospital monitoring system predicts whether a patient should be admitted based on their Fever condition and Blood Pressure status. The following records are available: Fever Blood Pressure Admit High High Yes Normal Normal No High Normal Yes Low Normal No Normal High No Comp
  10. 4b. Compute the information gain for Fever and Blood Pressure and identify the root node for the decision tree.[2 M] B. Consider the following dataset with two variables X and Y, containing four data points: (2,4),(0,0),(3,6),(4,8) (a) Apply the K-Means Clustering algorithm with K=3
  11. 5. A neural network is designed for binary classification with the following structure:Input layer: 2 neurons (x1, x2)Hidden layer: 2 neurons (h1,h2) using the sigmoid activation functionOutput layer: 1 neuron (y) using the sigmoid activation functionThe initial weights and biases a

More AI and ML papers

Browse more RVU papers

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