ML Study Hub

Home / Past papers / MLT End Term / this paper

IIT M FOUNDATION DIPLOMA FN EXAM - 22 Dec 2024

MLT End Term22 questions50 marks12 SA · 7 MCQ · 3 MSQFoundation / Diploma / forenoon
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.
Q5SA5 marks
question figure
Q6MCQ3 marks
question figure
  1. 3, 5, 1, 4, 2
  2. 5, 3, 1, 2, 4
  3. 3, 5, 2, 4, 1
  4. 5, 3, 1, 4, 2
  5. None of these
Q7MCQ3 marks
question figure
  1. question figure
  2. question figure
  3. question figure
  4. question figure
  5. question figure
Q8MCQ4 marks
question figure
  1. question figure
  2. question figure
  3. question figure
  4. question figure
Q9MCQ4 marks
question figure
  1. question figure
  2. question figure
  3. question figure
  4. question figure
Q10MCQ2 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.
Q11MCQ2 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.
Q12MCQ1 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
Q13MSQ3 marksselect all that apply
Consider a supervised ML problem where a model is trained using a training dataset, and its performance is evaluated on both the training and validation datasets. During training, the model’s loss is plotted over time for both the datasets. Assume that the loss L(t) is decreasing as the model learns. The following graph shows two curves, Curve (A) and Curve (B), representing the loss for the training and validation datasets, respectively: question figure Consider a supervised ML problem where a model is trained using a training dataset, and its performance is evaluated on both the training and validation datasets. During training, the model’s loss is plotted over time for both the datasets. Assume that the loss L(t) is decreasing as the model learns. The following graph shows two curves, Curve (A) and Curve (B), representing the loss for the training and validation datasets, respectively:
  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.
Q14MSQ3 marksselect all that apply
Which of the following options are 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.
Comprehension passage - the questions below it refer to this
question figure
Q15SA2 marks
question figure
Q16SA2 marks
question figure
Q17SA2 marks
question figure
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): 55
  4. Q4 (SA, 3 marks): 1
  5. Q5 (SA, 5 marks): 2
  6. Q6 (MCQ, 3 marks): D
  7. Q7 (MCQ, 3 marks): B
  8. Q8 (MCQ, 4 marks): D
  9. Q9 (MCQ, 4 marks): A
  10. Q10 (MCQ, 2 marks): B
  11. Q11 (MCQ, 2 marks): B
  12. Q12 (MCQ, 1 marks): B
  13. Q13 (MSQ, 3 marks): A, D
  14. Q14 (MSQ, 3 marks): B, C, D
  15. Q15 (SA, 2 marks): 1
  16. Q16 (SA, 2 marks): 2
  17. Q17 (SA, 2 marks): 1
  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 & Key Concepts

1. Principal Component Analysis (PCA)


2. Maximum A Posteriori (MAP) Estimation

p(θ∣X)∝{θ−nif θ≥max⁡(Xi),0otherwise.p(\theta | \mathbf{X}) \propto \begin{cases} \theta^{-n} & \text{if } \theta \geq \max(X_i), \\ 0 & \text{otherwise}. \end{cases}

3. Logistic Regression & Class Imbalance


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

ErrorLOOCV=1n∑i=1n(yi−f^−i(xi))2,\text{Error}_{\text{LOOCV}} = \frac{1}{n} \sum_{i=1}^n (y_i - \hat{f}^{-i}(x_i))^2,

where f^−i\hat{f}^{-i} is the model trained without the ii-th point.


5. K-Means Clustering


6. Lagrangian & Constrained Optimization

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

7. Gradient Descent for Linear Regression

wt+1=wt−η∇f(wt),w_{t+1} = w_t - \eta \nabla f(w_t),

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


8. Perceptron Algorithm

wt+1=wt+ηyixi.\mathbf{w}^{t+1} = \mathbf{w}^t + \eta y_i \mathbf{x}_i.

9. Support Vector Machines (SVM)


10. AdaBoost


11. Bias-Variance Tradeoff & Model Complexity


12. Naive Bayes


13. Loss Curves (Training vs. Validation)


2. MAP Estimation & Bayesian Learning

3. Logistic Regression & Class Imbalance

4. SVM & Slack Variables

5. Ensemble Methods (AdaBoost, Bagging)

6. Bias-Variance Tradeoff

7. K-Means Algorithm

8. Gradient Descent