ML Study Hub

Home / Past papers / MLT End Term / this paper

IIT M DIPLOMA AN1 EXAM ETD1 11 Dec 2022 - 11 Dec 2022

MLT End Term30 questions100 marks15 SA · 12 MCQ · 3 MSQDiploma
Elapsed 00:00
Q1MCQ3 marks
What will be the result of applying ReLU to the following values?: -2.7, 3.9, -1.0, 4.2, 6.4, -7.3
  1. 1, 3.9, 1, 4.2, 6.4, 1
  2. 0, 1, 0, 1, 1, 0
  3. -2.7, 0, -1.0, 0, 0, -7.3
  4. -1, +1, -1, +1, +1, -1
  5. 0, 3.9, 0, 4.2, 6.4, 0
Q2MCQ3 marks
Suppose you run gradient descent for linear regression for 500 iterations with a learning rate 0.02. You observe that the training loss (sum of squared loss) is increasing after every iteration. What may be the reason? What changes would you make to the set-up for the gradient descent to converge to a solution?
  1. Number of features in the training data may be too low, try increasing them.
  2. Number of features in the training data may be too high, try reducing them.
  3. Learning rate may be too low; Try increasing it.
  4. Learning rate may be too high; Try reducing it.
Q3MCQ4 marks
question figure
  1. Only dataset-1
  2. Only dataset-2
  3. On both dataset-1 and dataset-2
  4. Neither dataset-1 nor dataset-2
Q4MCQ4 marks
question figure
  1. Yes
  2. No
Q5MCQ4 marks
question figure
  1. Higher, underfit
  2. Lower, overfit
  3. Higher, overfit
  4. Lower, underfit
Q6MCQ5 marks
question figure
  1. question figure
  2. question figure
  3. question figure
  4. question figure
Q7MCQ5 marks
Consider the following data set: question figure Consider the following data set: Which of the following will have lower leave-one-out cross-validation error?
  1. 1-Nearest Neighbor
  2. 3-Nearest Neighbor
Q8MCQ6 marks
question figure
  1. question figure
  2. question figure
  3. question figure
  4. question figure
Q9MSQ5 marksselect all that apply
question figure
  1. question figure
  2. question figure
  3. question figure
  4. question figure
Q10MSQ2 marksselect all that apply
Which of the following estimators are more likely to be preferred for bagging? Select all that apply.
  1. A decision stump
  2. A decision stump with randomly selected features for splitting the nodes
  3. k -NN classifier with a smaller value of k.
  4. k-NN classifier with a larger value of k .
  5. A fully grown decision tree with randomly selected features for splitting thenodes
Q11SA5 marks
question figure
Q12SA5 marks
question figure
Q13SA4 marks
Consider a neural network with 8 inputs and 2 outputs. If there are 4 hidden layers each with 4 neurons, how many parameters need to be learnt if there is a bias associated with each neuron in the hidden and output layers?
Comprehension passage - the questions below it refer to this
Based on the above data, answer the given subquestions. question figure
Q14MCQ2.5 marks
Which of the two models is more likely to fit the training data better?
  1. Model 1
  2. Model 2
  3. Both will fit equally well
  4. Can not say
Q15MCQ2.5 marks
Which model is more likely to give less test error?
  1. Model 1
  2. Model 2
  3. It will depend upon the underlying distribution that generates the dataset andtherefore, can not say.
  4. Both will give the equal error
Comprehension passage - the questions below it refer to this
Based on the above data, answer the given subquestions. question figure
Q16SA3 marks
What is the variance along the first principal component?
Q17MCQ3 marks
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
Q18SA3 marks
question figure
Q19MCQ3 marks
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
Q20SA3 marks
How many mistakes does your algorithm make?
Q21SA3 marks
What is the squared length of the weight vector corresponding to the final linear separator your algorithm outputs?
Comprehension passage - the questions below it refer to this
Based on the above data, answer the given subquestions. question figure
Q22SA1.5 marks
What is the value of a?
Q23SA1.5 marks
What is the value of b?
Q24SA1.5 marks
What is the value of c?
Q25SA2.5 marks
question figure
Comprehension passage - the questions below it refer to this
Based on the above data, answer the given subquestions. question figure
Q26SA2 marks
What will be the true label for point x1 ? Enter 1 or -1 .
Q27SA2 marks
What will be the updated weight for point x2 ? Enter your answer correct to two decimal places.
Q28SA3 marks
How much training error will be incurred by the first estimator? The training examples consist of given three points. Enter your answer correct to two decimal places.
Comprehension passage - the questions below it refer to this
Based on the above data, answer the given subquestions. question figure
Q29SA4 marks
question figure
Q30MSQ4 marksselect all that apply
question figure
  1. question figure
  2. question figure
  3. question figure
  4. question figure

Answer key

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

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 the core topics, concepts, principles, and equations essential for the Diploma-Level Machine Learning Techniques exam, along with a Mermaid knowledge graph to visualize relationships.


Core Topics & Key Concepts

1. Activation Functions


2. Gradient Descent & Optimization


3. Support Vector Machines (SVM)

Hard-Margin SVM

Soft-Margin SVM


4. Model Complexity & Bias-Variance Tradeoff


5. Perceptron Algorithm

(Rγ)2(where R is max ∣∣x_i∣∣)\left( \frac{R}{\gamma} \right)^2 \quad \text{(where $R$ is max $||x\_i||$)}

6. Decision Trees


7. k-Nearest Neighbors (k-NN)


8. Clustering (Lloyd’s Algorithm / k-Means)


9. Principal Component Analysis (PCA)


10. Naive Bayes

y^=arg max⁡yP(y)∏j=1dP(xj∣y)\hat{y} = \argmax_y P(y) \prod_{j=1}^d P(x_j | y)

11. AdaBoost


12. Maximum Likelihood Estimation (MLE)


13. Ensemble Methods (Bagging)


14. Neural Networks


Key Equations

ConceptEquation
ReLUReLU(x)=max⁡(0,x)\text{ReLU}(x) = \max(0, x)
SVM Margin2∣∣w∣∣\frac{2}{||w||}
Perceptron Updatew←w+ηyixiw \leftarrow w + \eta y_i x_i (if misclassified)
Perceptron Mistake Bound(Rγ)2\left( \frac{R}{\gamma} \right)^2
PCA VarianceVar(w1TX)=λ1\text{Var}(w_1^T X) = \lambda_1 (top eigenvalue)
Naive Bayes Predictiony^=arg max⁡yP(y)∏jP(xj∣y)\hat{y} = \argmax_y P(y) \prod_j P(x_j | y)
MLE for Uniforma^=max⁡(xi)\hat{a} = \max(x_i)
AdaBoost Weight Updatewi←wi⋅eαt⋅I(yi≠ht(xi))w_i \leftarrow w_i \cdot e^{\alpha_t \cdot \mathbb{I}(y_i \neq h_t(x_i))}
Neural Network Parameters∑l=1L(nl−1+1)×nl\sum_{l=1}^L (n_{l-1} + 1) \times n_l

Exam Tips

  1. SVM: Know the difference between hard-margin and soft-margin, and how kernels work.
  2. Perceptron: Understand the mistake bound and update rule.
  3. Decision Trees: Focus on splitting criteria and interpreting tree structures.
  4. PCA: Remember that principal components are eigenvectors of the covariance matrix.
  5. AdaBoost: Pay attention to weight updates and error calculations.
  6. Neural Networks: Count parameters carefully (include biases!).
  7. k-NN: Higher kk smooths decision boundaries (lower LOOCV error).