ML Study Hub

Home / Past papers / MLT End Term / this paper

IIT M FOUNDATION AN EXAM QDF4 13 Apr - 13 Apr 2025

MLT End Term17 questions50 marks6 MCQ · 6 SA · 5 MSQFoundation / afternoon / QDF4
Elapsed 00:00
Q1MSQ2 marksselect all that apply
What is the role of the regularization term in ridge regression?
  1. It ensures that the dataset is normally distributed.
  2. It penalizes large coefficients to reduce overfitting.
  3. It forces more coefficients to be exactly zero, performing feature selection.
  4. It increases the variance of the model.
Q2MSQ2 marksselect all that apply
Which of the following conditions must be satisfied for a decision tree to be pure at a given node?
  1. The entropy of the node is maximum.
  2. The information gain at the node is negative.
  3. All samples at a node belong to the same class.
  4. The entropy of the node is 0.
Q3MCQ3 marks
question figure
  1. question figure
  2. question figure
  3. question figure
  4. question figure
Q4MCQ3 marks
question figure
  1. question figure
  2. question figure
  3. question figure
Q5MCQ2 marks
question figure
  1. Kernel PCA with a polynomial kernel of degree 2.
  2. Kernel PCA with a polynomial kernel of degree 3.
  3. Kernel PCA with a polynomial kernel of degree 4.
  4. Standard PCA
Q6MCQ1 mark
Weak learners used in the ensemble method typically perform slightly better than random guessing.
  1. TRUE
  2. FALSE
Q7MSQ3 marksselect all that apply
question figure
  1. Model 1 will have a higher bias than Model 2.
  2. Model 2 will have a lower variance than Model 1.
  3. Model 1 is more likely to underfit.
  4. Model 1 is more likely to overfit.
Q8MSQ3 marksselect all that apply
question figure
  1. question figure
  2. question figure
  3. question figure
  4. question figure
  5. question figure
Q9MSQ4 marksselect all that apply
question figure
  1. question figure
  2. question figure
  3. question figure
  4. question figure
  5. question figure
  6. question figure
Q10SA4 marks
question figure
Q11SA4 marks
question figure
Q12SA4 marks
question figure
Q13SA4 marks
The following dataset represents different weather conditions and the corresponding decision on whether a person chooses to play tennis: question figure The following dataset represents different weather conditions and the corresponding decision on whether a person chooses to play tennis:
Q14SA3 marks
question figure
Q15SA3 marks
question figure
Comprehension passage - the questions below it refer to this
Based on the above data, answer the given subquestions. question figure
Q16MCQ2 marks
Which classifier has the lower training error?
  1. question figure
  2. question figure
Q17MCQ3 marks
question figure
  1. question figure
  2. question figure
  3. question figure
  4. question figure

Answer key

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

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 for the Diploma-Level Machine Learning Techniques exam, along with Mermaid knowledge graphs to visualize relationships.


1. Core Topics & Key Concepts

A. Supervised Learning

1. Linear Regression & Regularization

w=(XTX)−1XTyw = (X^T X)^{-1} X^T y

2. Logistic Regression

3. Support Vector Machines (SVM)

max⁡α∑i=1nαi−12∑i,jαiαjyiyjxiTxj\max_{\alpha} \sum_{i=1}^n \alpha_i - \frac{1}{2} \sum_{i,j} \alpha_i \alpha_j y_i y_j x_i^T x_j

s.t. 0≤αi≤C0 \leq \alpha_i \leq C, ∑αiyi=0\sum \alpha_i y_i = 0.

4. Decision Trees

5. Model Evaluation & Bias-Variance Tradeoff


B. Unsupervised Learning

1. Clustering (K-Means / Lloyd’s Algorithm)

2. Dimensionality Reduction


C. Ensemble Methods

1. AdaBoost

2. Random Forest / Bagging


D. Probabilistic Models

1. Naïve Bayes

P(y∣X)∝P(y)∏i=1dP(xi∣y)P(y|X) \propto P(y) \prod_{i=1}^d P(x_i|y)

2. Bayesian Inference


E. Neural Networks

1. Single-Layer Perceptron

2. Multi-Layer Perceptron (MLP)


F. Probability & Statistics

1. Beta Distribution

2. Gaussian Noise


2. Key Equations Summary

TopicEquation
Linear Regressionw=(XTX)−1XTyw = (X^T X)^{-1} X^T y
Ridge RegressionMSE+λ∥w∥22\text{MSE} + \lambda \|w\|_2^2
Lasso RegressionMSE+λ∥w∥1\text{MSE} + \lambda \|w\|_1
Logistic RegressionP(y=1)=σ(wTx)P(y=1) = \sigma(w^T x), σ(z)=11+e−z\sigma(z) = \frac{1}{1 + e^{-z}}
SVM (Primal)min⁡12∥w∥2+C∑ξi\min \frac{1}{2} \|w\|^2 + C \sum \xi_i
SVM (Dual)max⁡∑αi−12∑αiαjyiyjxiTxj\max \sum \alpha_i - \frac{1}{2} \sum \alpha_i \alpha_j y_i y_j x_i^T x_j
EntropyH(S)=−∑pclog⁡2pcH(S) = -\sum p_c \log_2 p_c
Gini ImpurityG(S)=1−∑pc2G(S) = 1 - \sum p_c^2
AdaBoost Weight Updatewi←wiexp⁡(αtyiht(xi))w_i \leftarrow w_i \exp(\alpha_t y_i h_t(x_i))
Beta Posterior Meanα+headsα+β+n\frac{\alpha + \text{heads}}{\alpha + \beta + n}
Kernel PCAK(xi,xj)=(γxiTxj+c)dK(x_i, x_j) = (\gamma x_i^T x_j + c)^d (Polynomial)
Perceptron Updatew←w+η(y−y^)xw \leftarrow w + \eta (y - \hat{y}) x

Graph 2: Unsupervised Learning

Graph 3: Ensemble Methods

Graph 4: Probabilistic Models

Graph 5: Neural Networks


4. Exam Tips

  1. Regularization:

    • Ridge: Shrinks coefficients (no zeros).
    • Lasso: Sparsity (some zeros).
  2. SVM:

    • αi=0\alpha_i = 0: Correctly classified.
    • 0<αi<C0 < \alpha_i < C: On margin.
    • αi=C\alpha_i = C: Misclassified or inside margin.
  3. Decision Trees:

    • Pure node: All samples same class (H=0H = 0).
  4. AdaBoost:

    • Weak learners must be better than random (>50% accuracy).
  5. Kernel PCA:

    • If relationship is x42=x1x2+x1x2x3x_4^2 = x_1 x_2 + x_1 x_2 x_3, use degree 3.
  6. Bayesian Posterior:

    • For Beta prior, posterior mean = α+successesα+β+n\frac{\alpha + \text{successes}}{\alpha + \beta + n}.