ML Study Hub

Home / Past papers / MLT End Term / this paper

IIT M DEGREE AN EXAM QDB3 31 Aug 2025 - 31 Aug 2025

MLT End Term17 questions50 marks7 MCQ · 6 SA · 4 MSQafternoon / QDB3
Elapsed 00:00
Q1MCQ3 marks
question figure
  1. Yes
  2. No
Q2MCQ3 marks
question figure
  1. question figure
  2. question figure
  3. question figure
  4. question figure
Q3MCQ2 marks
question figure
  1. question figure
  2. question figure
  3. question figure
  4. question figure
Q4MCQ2 marks
question figure
  1. Greedy initialization always achieves F = Foptimal by maximizing the distancebetween initial centers.
  2. Greedy initialization may achieve F = Foptimal or a larger value depending onthe dataset and the initial choice.
  3. Greedy initialization does not ensure convergence for K-means clustering.
  4. Greedy initialization ensures convergence to a unique solution for any dataset.
Q5MCQ4 marks
question figure
  1. question figure
  2. question figure
  3. question figure
  4. question figure
Q6MSQ3 marksselect all that apply
Which of the following statements are true about the decision tree algorithm?
  1. Decision trees are prone to overfitting if the maximum depth is set tooshallow.
  2. Decision trees are not affected by the order of features in the dataset.
  3. Decision trees are sensitive to small perturbations in the dataset and canresult in different tree structures.
  4. Decision trees can handle both numerical and categorical features.
Q7MSQ3 marksselect all that apply
question figure
  1. question figure
  2. question figure
  3. question figure
  4. question figure
Q8MSQ3 marksselect all that apply
question figure
  1. question figure
  2. question figure
  3. question figure
Q9MSQ4 marksselect all that apply
Given a two-dimensional data set where points from class 1 are: {(−2, 3), (−1, 1)} and points from class 0 are: {(1, 3), (1, 4)}. Which of the following statements are true?
  1. The given data points from classes 1 and 0 can be linearly separated using ahard-margin SVM.
  2. A perceptron model and a hard-margin SVM can give different decisionboundary for this dataset.
  3. A soft-margin SVM would be a more robust choice than a hard-margin SVM forthis dataset as the dataset is not linearly separable.
  4. The width of the separation between the two supporting hyperplanes is 4.
Q10SA3 marks
question figure
Q11SA3 marks
question figure
Q12SA3 marks
question figure
Q13SA4 marks
question figure
Comprehension passage - the questions below it refer to this
Based on the above data, answer the given subquestions. question figure
Q14MCQ4 marks
question figure
  1. question figure
  2. question figure
  3. question figure
  4. question figure
Q15MCQ2 marks
question figure
  1. The coefficients shrinks towards zero.
  2. The coefficients increases in magnitude.
  3. The coefficients remain unchanged.
Comprehension passage - the questions below it refer to this
Based on the above data, answer the given subquestions. question figure
Q16SA1 mark
question figure
Q17SA3 marks
question figure

Answer key

  1. Q1 (MCQ, 3 marks): B
  2. Q2 (MCQ, 3 marks): C
  3. Q3 (MCQ, 2 marks): B
  4. Q4 (MCQ, 2 marks): B
  5. Q5 (MCQ, 4 marks): D
  6. Q6 (MSQ, 3 marks): C, D
  7. Q7 (MSQ, 3 marks): A, D
  8. Q8 (MSQ, 3 marks): A, B
  9. Q9 (MSQ, 4 marks): A, B
  10. Q10 (SA, 3 marks): 6
  11. Q11 (SA, 3 marks): 1.10 to 1.14
  12. Q12 (SA, 3 marks): 1
  13. Q13 (SA, 4 marks): 0.28 to 0.34
  14. Q14 (MCQ, 4 marks): C
  15. Q15 (MCQ, 2 marks): B
  16. Q16 (SA, 1 marks): 7
  17. Q17 (SA, 3 marks): 0.0625

Concepts this paper tests

Auto-generated summary from the source site. Handy as a checklist; the lessons above explain each idea from scratch.

Here’s a structured summary of core topics, concepts, principles, and equations essential for the exam, followed by Mermaid knowledge graphs to visualize relationships.


Core Topics & Key Concepts

1. Perceptron Algorithm


2. Support Vector Machines (SVM)

Hard-Margin SVM

min⁡w12∥w∥2s.t.yi(wTxi+b)≥1∀i.\min_w \frac{1}{2} \|w\|^2 \quad \text{s.t.} \quad y_i(w^T x_i + b) \geq 1 \quad \forall i.
max⁡α∑iαi−12∑i,jαiαjyiyjxiTxjs.t.αi≥0,∑iαiyi=0.\max_\alpha \sum_i \alpha_i - \frac{1}{2} \sum_{i,j} \alpha_i \alpha_j y_i y_j x_i^T x_j \quad \text{s.t.} \quad \alpha_i \geq 0, \sum_i \alpha_i y_i = 0.

Soft-Margin SVM

min⁡w,b,ξ12∥w∥2+C∑iξis.t.yi(wTxi+b)≥1−ξi,ξi≥0.\min_{w,b,\xi} \frac{1}{2} \|w\|^2 + C \sum_i \xi_i \quad \text{s.t.} \quad y_i(w^T x_i + b) \geq 1 - \xi_i, \xi_i \geq 0.

Kernel SVM

k(x,y)=1+x1y1+x2y2+x12y12x2y2+x1y1x22y22.k(x, y) = 1 + x_1 y_1 + x_2 y_2 + x_1^2 y_1^2 x_2 y_2 + x_1 y_1 x_2^2 y_2^2.

Corresponding ϕ\phi:

ϕ(x)=[1,x1,x2,x1x2,x12x2,x1x22,x12x22].\phi(x) = [1, x_1, x_2, x_1 x_2, x_1^2 x_2, x_1 x_2^2, x_1^2 x_2^2].

3. K-Means Clustering

F=∑i=1n∥xi−μzi∥2,F = \sum_{i=1}^n \|x_i - \mu_{z_i}\|^2,

where ziz_i is the cluster assignment for xix_i, and μzi\mu_{z_i} is the cluster mean.


4. Neural Networks

W(1)=[2−111],W(out)=[12].W^{(1)} = \begin{bmatrix} 2 & -1 \\ 1 & 1 \end{bmatrix}, \quad W^{(out)} = \begin{bmatrix} 1 \\ 2 \end{bmatrix}.

5. Decision Trees


6. Logistic Regression

p^=11+e−(wTx+b).\hat{p} = \frac{1}{1 + e^{-(w^T x + b)}}.
0.7=11+e−(0.4x1+0.4)  ⟹  x1≈1.12.0.7 = \frac{1}{1 + e^{-(0.4 x_1 + 0.4)}} \implies x_1 \approx 1.12.

7. Random Forest


8. Bayesian Methods

Maximum A Posteriori (MAP) Estimation

θ^MAP=arg⁡max⁡θP(θ)⋅P(data∣θ).\hat{\theta}_{\text{MAP}} = \arg \max_\theta P(\theta) \cdot P(\text{data} | \theta).

Naive Bayes

P(y∣x)∝P(y)∏iP(xi∣y).P(y|x) \propto P(y) \prod_i P(x_i | y).

9. Linear Regression & Ridge Regression

w^ML=(XTX)−1XTY.\hat{w}_{ML} = (X^T X)^{-1} X^T Y.
w^Ridge=(XTX+λI)−1XTY.\hat{w}_{\text{Ridge}} = (X^T X + \lambda I)^{-1} X^T Y.

10. Principal Component Analysis (PCA)


Graph 2: Clustering & Dimensionality Reduction

Graph 3: Bayesian Methods

Graph 4: SVM Components

Graph 5: Neural Network Architecture (Q6)