ML Study Hub

Home / Past papers / MLT End Term / this paper

IIT M FOUNDATION DIPLOMA AN EXAM - 22 Dec 2024

MLT End Term22 questions50 marks12 SA · 7 MCQ · 3 MSQFoundation / Diploma / afternoon
Elapsed 00:00
Q1SA2 marks
NOTE: Enter the answer correct to one decimal place question figure
Q2SA3 marks
question figure
Q3SA3 marks
question figure
Q4SA3 marks
Consider a logistic regression model trained to detect spam emails. Emails containing harmful phishing links are labeled as spam (1), while regular emails are labeled as not spam (0). A good spam detector should correctly identify almost all emails with phishing links. Even a single phishing email incorrectly classified as not spam could expose users to significant risks. However, the detector may classify some regular emails as spam. This trade-off is acceptable to ensure safety. To ensure user safety, if the threshold is set to a low value to prioritize the detection of phishing emails, type 1. If the threshold is set to a high value to minimize false positives (misclassifying regular emails as spam), type 0.
Q5MSQ3 marksselect all that apply
Select the correct statements from the following for k-means algorithm:
  1. In k-means algorithm, all cluster initializations lead to the same result.
  2. k-means algorithm is sensitive to outliers.
  3. One initialization may converge while another may not.
  4. The initialization of cluster centres may affect the number of iterations k-means takes to converge.
Q6MSQ3 marksselect all that apply
question figure
  1. Curve (A) represents the training loss.
  2. Curve (B) represents the training loss.
  3. Curve (A) represents the validation loss.
  4. Curve (B) represents the validation loss.
Q7MCQ4 marks
question figure
  1. question figure
  2. question figure
  3. question figure
  4. question figure
Q8MCQ4 marks
question figure
  1. question figure
  2. question figure
  3. question figure
  4. question figure
Comprehension passage - the questions below it refer to this
question figure
Q9SA2 marks
question figure
Q10SA2 marks
question figure
Q11SA2 marks
question figure
Q12SA5 marks
question figure
Q13MCQ3 marks
question figure
  1. question figure
  2. question figure
  3. question figure
  4. question figure
  5. question figure
Q14MCQ3 marks
Which of the following options are not correct? Select all that apply.
  1. Underfitted models generally have less bias and high variance.
  2. A decision tree with the maximum possible length may lead to overfitting.
  3. Weak learners are those whose performance is slightly better than therandom classifier.
  4. All the estimators in bagging can be trained parallelly.
Q15MCQ2 marks
If we remove all the non-support vectors from the dataset, what will be the impact on the model using SVM algorithm?
  1. Model will overfit.
  2. The model will not be changed.
  3. Model will underfit.
  4. Accuracy of the model will increase.
Q16MCQ2 marks
In each round of AdaBoost, the weight for a particular training observation is decreased from round t to round t + 1 if the observation was:
  1. classified incorrectly by the weak learner trained in the round.
  2. classified correctly by the weak learner trained in the round.
  3. classified incorrectly by a majority of the weak learners trained up to theround.
  4. classified correctly by a majority of the weak learners trained up to the round.
Q17MCQ1 mark
Is the following statement true or false? For a fixed size of the training and the test set, increasing the complexity of the model always leads to an increment in the test error.
  1. True
  2. False
Comprehension passage - the questions below it refer to this
question figure
Q18SA0.5 marks
question figure
Q19SA0.5 marks
question figure
Q20SA0.5 marks
question figure
Q21SA0.5 marks
question figure
Q22MSQ1 markselect all that apply
Which of the following is correct ?
  1. question figure
  2. question figure
  3. question figure
  4. question figure

Answer key

  1. Q1 (SA, 2 marks): 2.5
  2. Q2 (SA, 3 marks): 0
  3. Q3 (SA, 3 marks): 52
  4. Q4 (SA, 3 marks): 1
  5. Q5 (MSQ, 3 marks): B, D
  6. Q6 (MSQ, 3 marks): A, D
  7. Q7 (MCQ, 4 marks): B
  8. Q8 (MCQ, 4 marks): A
  9. Q9 (SA, 2 marks): 1
  10. Q10 (SA, 2 marks): 2
  11. Q11 (SA, 2 marks): 1
  12. Q12 (SA, 5 marks): 0.3 to 0.4
  13. Q13 (MCQ, 3 marks): A
  14. Q14 (MCQ, 3 marks): A
  15. Q15 (MCQ, 2 marks): B
  16. Q16 (MCQ, 2 marks): B
  17. Q17 (MCQ, 1 marks): B
  18. Q18 (SA, 0.5 marks): 1
  19. Q19 (SA, 0.5 marks): 0
  20. Q20 (SA, 0.5 marks): 0
  21. Q21 (SA, 0.5 marks): 2
  22. Q22 (MSQ, 1 marks): A, 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 essential for the exam, followed by Mermaid knowledge graphs to visualize relationships.


Core Topics & Concepts

1. Principal Component Analysis (PCA)


2. Maximum A Posteriori (MAP) Estimation

f(θ∣X)∝θ−n⋅Iθ≥max⁡(Xi).f(\theta | \mathbf{X}) \propto \theta^{-n} \cdot \mathbb{I}_{\theta \geq \max(X_i)}.

3. Logistic Regression & Class Imbalance


4. k-Means Clustering


5. Training vs. Validation Loss Curves


6. Gradient Descent for Linear Regression

wt+1=wt−η∇f(wt),\mathbf{w}_{t+1} = \mathbf{w}_t - \eta \nabla f(\mathbf{w}_t),

where ∇f(w)=2X(XTw−y)\nabla f(\mathbf{w}) = 2 X (X^T \mathbf{w} - \mathbf{y}).


7. Perceptron Algorithm

wt+1=wt+η⋅yixi.\mathbf{w}_{t+1} = \mathbf{w}_t + \eta \cdot y_i \mathbf{x}_i.

8. Naïve Bayes Classifier


9. Leave-One-Out Cross-Validation (LOOCV)

errorL(An)=1n∑i=1n(yi−f^−i(xi))2.\text{error}_L(A_n) = \frac{1}{n} \sum_{i=1}^n (y_i - \hat{f}^{-i}(x_i))^2.

10. Lagrangian & Constrained Optimization

L(x,λ)=f(x)+λg(x).L(x, \lambda) = f(x) + \lambda g(x).

11. Model Complexity & Bias-Variance Trade-off


12. Support Vector Machines (SVM)


2. MAP Estimation & Bayesian Learning

3. Logistic Regression & Class Imbalance

4. k-Means Clustering

5. Gradient Descent & Linear Regression

6. SVM & Slack Variables

7. Bias-Variance Trade-off

8. Ensemble Methods