AI and ML (CS2227) End Semester Jul 2026 Question Paper

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

Questions

  1. 1a. Explain the concepts of Overfitting and Underfitting in Machine Learning. Describe how each affects a model's training and testing performance with a suitable example.
  2. 1b. Discuss how Regularization techniques (L1 and L2) help to overcome these issues. Explain their mathematical intuition and how they influence the model parameters.
  3. 2. 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
  4. 2a. Find the initial value of J(theta)
  5. 2b. Find the updated values of theta0 and theta1
  6. 2c. Find the updated value of J(theta)
  7. 3. 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
  8. 3a. Compute the F1-score for each class.
  9. 3b. Compute the overall accuracy of the model.
  10. 3c. Identify which class the model performs best on and justify your answer.
  11. 4. A. An airport’s control system needs to predict whether a flight should take off based on the weather conditions. The dataset below shows recorded decisions: Weather Visibility Take off Clear Good Yes Clear Poor Yes Rainy Good No Foggy Poor No Clear Good Yes
  12. 4a. Compute the entropy of the target attribute Take-Off.
  13. 4b. Compute the information gain for Weather and Visibility and Identify the root node for the Decision Tree.
  14. 4B. B. Given the following dataset with two variables X and Y (four observations): (2, 4), (0, 0), (3, 6) and (4, 8).
  15. 4a. Compute the covariance matrix of the given data.
  16. 4b. Compute the eigenvalues of the covariance matrix.
  17. 5. Consider a small feedforward neural network with two inputs, two hidden neurons (one in each of two hidden layers), and one output neuron. Use the sigmoid activation. The network and parameters are Target: t = 1, Loss: Mean squared error L = frac{1}{2}(t - Y^5)^2 Learning rate: a
  18. 5a. Perform the forward propagation and compute the loss (MSE).
  19. 5b. Using Learning rate alpha = 0.1, Compute the updated weights after one gradient-descent step: Find the Updated w21

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