ML Study Hub

Home / Past papers / MLT End Term / this paper

IIT M FOUNDATION DIPLOMA FN EXAM - 01 Sep 2024

MLT End Term30 questions50 marks14 SA · 13 MCQ · 3 MSQFoundation / Diploma / forenoon
Elapsed 00:00
Q1MCQ3 marks
question figure
  1. 80%
  2. 60%
  3. 20%
  4. 15%
Q2MCQ3 marks
question figure
  1. question figure
  2. question figure
  3. question figure
  4. question figure
Q3MCQ3 marks
Match the characteristics given below with the appropriate ensemble technique. 1. Decision stumps 2. Deep decision trees 3. Parallel execution 4. Sequential execution
  1. Bagging → (2), (3); Boosting → (1), (4)
  2. Bagging → (1), (4); Boosting → (2), (3)
  3. Bagging → (1), (3); Boosting → (2), (4)
  4. Bagging → (2), (4); Boosting → (1), (3)
Q4MCQ3 marks
question figure
  1. The predicted labels for x1 and x2 are 1 and −1 respectively.
  2. The predicted labels for x1 and x2 are −1 and 1 respectively.
  3. The predicted label for both data-points is 1.
  4. The predicted label for both data-points is −1.
Q5MCQ3 marks
question figure
  1. question figure
  2. question figure
  3. question figure
  4. question figure
Q6MCQ3 marks
question figure
  1. 2x1 + x2 = 0
  2. x1 − 2x2 = 0
  3. x1 + x2 = 0
  4. x1 + 2x2 = 0
Q7SA3 marks
question figure
Q8SA3 marks
question figure
Q9SA3 marks
question figure
Q10MSQ3 marksselect all that apply
question figure
  1. 2
  2. 4
  3. 3
  4. 5
Q11MSQ3 marksselect all that apply
question figure
  1. The dataset is linearly separable with a positive margin.
  2. The perceptron algorithm will terminate after a finite number of iterationswhen trained on this dataset.
  3. The dataset is linearly separable, but the margin may be zero.
  4. The dataset is not linearly separable.
Q12MSQ3 marksselect all that apply
question figure
  1. question figure
  2. question figure
  3. question figure
  4. question figure
Comprehension passage - the questions below it refer to this
Based on the above data, answer the given subquestions. question figure
Q13MCQ1 mark
The weight vector output by the perceptron algorithm on this dataset can be expressed as a linear combination of the data-points where the coefficients of the linear combination are integers.
  1. TRUE
  2. FALSE
Q14MCQ1 mark
question figure
  1. TRUE
  2. FALSE
Q15MCQ1 mark
If a soft-margin SVM is trained on this dataset, the optimal weight vector it returns will be the same as the one returned by a hard-margin SVM, irrespective of the value of the hyperparameter C.
  1. TRUE
  2. FALSE
Comprehension passage - the questions below it refer to this
Based on the above data, answer the given subquestions. question figure
Q16SA0.5 marks
question figure
Q17SA0.5 marks
question figure
Q18SA0.5 marks
question figure
Q19SA0.5 marks
question figure
Q20SA0.5 marks
question figure
Q21SA0.5 marks
question figure
Comprehension passage - the questions below it refer to this
Based on the above data, answer the given subquestions. question figure
Q22SA0.5 marks
question figure
Q23SA0.5 marks
question figure
Q24SA0.5 marks
question figure
Q25SA0.5 marks
Enter the number corresponding to the squared loss._______________
Q26MCQ1 mark
question figure
  1. question figure
  2. question figure
  3. question figure
  4. question figure
Comprehension passage - the questions below it refer to this
Based on the above data, answer the given subquestions. question figure
Q27SA1 mark
How many learnable parameters does this network have? Ignore the biases in the computation.
Q28MCQ1 mark
What is the most appropriate choice of activation function for the output layer if the binary cross-entropy loss is used?
  1. Sigmoid
  2. Linear
  3. ReLU
Q29MCQ1 mark
question figure
  1. ReLU
  2. Sigmoid
Q30MCQ2 marks
question figure
  1. question figure
  2. question figure
  3. question figure
  4. question figure

Answer key

  1. Q1 (MCQ, 3 marks): A
  2. Q2 (MCQ, 3 marks): A
  3. Q3 (MCQ, 3 marks): A
  4. Q4 (MCQ, 3 marks): A
  5. Q5 (MCQ, 3 marks): A
  6. Q6 (MCQ, 3 marks): A
  7. Q7 (SA, 3 marks): 0.4
  8. Q8 (SA, 3 marks): 30
  9. Q9 (SA, 3 marks): 0.26 to 0.37
  10. Q10 (MSQ, 3 marks): A, B
  11. Q11 (MSQ, 3 marks): A, B
  12. Q12 (MSQ, 3 marks): A, B
  13. Q13 (MCQ, 1 marks): A
  14. Q14 (MCQ, 1 marks): B
  15. Q15 (MCQ, 1 marks): B
  16. Q16 (SA, 0.5 marks): 2
  17. Q17 (SA, 0.5 marks): 1
  18. Q18 (SA, 0.5 marks): 0
  19. Q19 (SA, 0.5 marks): 3
  20. Q20 (SA, 0.5 marks): 0
  21. Q21 (SA, 0.5 marks): -1
  22. Q22 (SA, 0.5 marks): 3
  23. Q23 (SA, 0.5 marks): 2
  24. Q24 (SA, 0.5 marks): 4
  25. Q25 (SA, 0.5 marks): 1
  26. Q26 (MCQ, 1 marks): A
  27. Q27 (SA, 1 marks): 160
  28. Q28 (MCQ, 1 marks): A
  29. Q29 (MCQ, 1 marks): A
  30. Q30 (MCQ, 2 marks): A

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 & Concepts

1. Principal Component Analysis (PCA)

Variance captured=∑i=1kλi∑i=1dλi\text{Variance captured} = \frac{\sum_{i=1}^k \lambda_i}{\sum_{i=1}^d \lambda_i}

(For Q2: 15+515+5+5+0+0=0.8\frac{15 + 5}{15 + 5 + 5 + 0 + 0} = 0.8 → 80%)


2. Regularization & Ridge Regression

L(w)=SSE+λ∥w∥22L(\mathbf{w}) = \text{SSE} + \lambda \|\mathbf{w}\|_2^2

where SSE=∑(yi−y^i)2\text{SSE} = \sum (y_i - \hat{y}_i)^2.


3. Ensemble Methods (Bagging vs. Boosting)

TechniqueBase LearnersExecutionKey Idea
BaggingDeep decision treesParallelReduce variance via bootstrapping.
BoostingDecision stumpsSequentialReduce bias via weighted corrections.

(For Q4: Bagging → (2), (3); Boosting → (1), (4))


4. Support Vector Machines (SVM)

Hard-Margin SVM

Soft-Margin SVM

min⁡w,b,ξ12∥w∥2+C∑ξi\min_{\mathbf{w}, b, \xi} \frac{1}{2} \|\mathbf{w}\|^2 + C \sum \xi_i

subject to yi(wTxi+b)≥1−ξiy_i (\mathbf{w}^T \mathbf{x}_i + b) \geq 1 - \xi_i.

Kernel Trick

K(x,x′)=(xTx′+c)pK(\mathbf{x}, \mathbf{x}') = (\mathbf{x}^T \mathbf{x}' + c)^p

5. Naive Bayes

p(x1,x2,…,xd∣y)=∏i=1dp(xi∣y)p(x_1, x_2, \dots, x_d \mid y) = \prod_{i=1}^d p(x_i \mid y)

(For Q6: Option A is correct.)


6. Clustering (k-Means)


7. Decision Trees & Information Gain

H(S)=−∑pilog⁡2piH(S) = -\sum p_i \log_2 p_i
IG=H(parent)−∑(∣Sv∣∣S∣H(Sv))\text{IG} = H(\text{parent}) - \sum \left( \frac{|S_v|}{|S|} H(S_v) \right)

(For Q10: 0.311 bits.)


8. Maximum Likelihood Estimation (MLE)

p^=number of successestotal trials\hat{p} = \frac{\text{number of successes}}{\text{total trials}}

(For Q9: p^=0.25\hat{p} = 0.25, successes = 10 → total trials = 40 → zeros = 30.)


9. Loss Functions in Classification

LossEquationCurve Color (Q23–Q26)
Logisticlog⁡(1+e−z)\log(1 + e^{-z})Red (3)
Hinge (SVM)max⁡(0,1−z)\max(0, 1 - z)Green (2)
Perceptronmax⁡(0,−z)\max(0, -z)Blue (4)
Squared(1−z)2(1 - z)^2Yellow (1)

(For Q23–Q26: Match curves to losses.)


10. Neural Networks

Architecture

Activation Functions


2. SVM Concepts

3. Ensemble Methods

4. Loss Functions

5. Neural Network Parameters


Key Equations Summary

TopicEquation
PCA VarianceVariance captured=∑i=1kλi∑i=1dλi\text{Variance captured} = \frac{\sum_{i=1}^k \lambda_i}{\sum_{i=1}^d \lambda_i}
Ridge RegressionL(w)=SSE+λ∥w∥22L(\mathbf{w}) = \text{SSE} + \lambda \|\mathbf{w}\|_2^2
SVM Margin2∥w∥\frac{2}{\|\mathbf{w}\|}
Naive Bayesp(x∣y)=∏ip(xi∣y)p(\mathbf{x} \mid y) = \prod_i p(x_i \mid y)
EntropyH(S)=−∑pilog⁡2piH(S) = -\sum p_i \log_2 p_i
Information GainIG=H(parent)−∑wvH(Sv)\text{IG} = H(\text{parent}) - \sum w_v H(S_v)
Bernoulli MLEp^=successestrials\hat{p} = \frac{\text{successes}}{\text{trials}}
Logistic Losslog⁡(1+e−z)\log(1 + e^{-z})
Hinge Lossmax⁡(0,1−z)\max(0, 1 - z)
Neural Net Parameters∑l=1L−1nl×nl+1\sum_{l=1}^{L-1} n_l \times n_{l+1} (ignoring biases)