Introduction to Machine Learning (CS2213) End Semester May 2025 Question Paper
RV University End Semester exam for Introduction to Machine Learning (CS2213), held May 2025, semester 4, with 4 questions. Also searched as ML, AIML. Last updated 2026-11-14.
Questions
1. What is the purpose of encoding categorical variables? Describe two methods used for encoding with an example in each case.
2. Build a simple classifier to predict whether a fruit is an Apple or an Orange based on its weight (in grams) and colour intensity (scale 1–10). The following labelled data is available: Fruit Weight (g) Colour Intensity Label F1 150 6 Apple F2 170 7 Apple F3 140 5 Apple F4 130 3
3. a) Given the following standardized dataset with two variables ( X1 ) and ( X2 ), compute the first principal component (PC1). Show all steps including calculating the covariance matrix, eigenvalues, eigenvectors, and finally projecting the data onto the direction of PC1. X1 4 8
4. a. Consider a Convolutional Neural Network which has i) a Conv2D layer with 32 filters, followed by MaxPooling2D. ii. another Conv2D layer with 64 filters, followed by MaxPooling2D. iii a Flatten layer, and two Dense layers (128 and 10 units).i. Consider the input image dimension