ML Study Hub

Home / Past papers / MLT End Term / this paper

IIT M IMPROVEMENT AN EXAM QDD3 01 - 01 Sep 2024

MLT End Term30 questions50 marks14 MCQ · 14 SA · 2 MSQImprovement / afternoon / QDD3
Elapsed 00:00
Q1MCQ2 marks
question figure
  1. question figure
  2. question figure
  3. question figure
  4. question figure
Q2MCQ3 marks
question figure
  1. 1
  2. 2
  3. 3
  4. 6
Q3MCQ3 marks
question figure
  1. question figure
  2. question figure
  3. question figure
  4. question figure
Q4MCQ3 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)
Q5MCQ3 marks
question figure
  1. question figure
  2. question figure
  3. question figure
  4. question figure
Q6MCQ3 marks
question figure
  1. question figure
  2. question figure
  3. question figure
  4. question figure
Q7MCQ3 marks
question figure
  1. question figure
  2. question figure
  3. question figure
  4. question figure
Q8MCQ3 marks
question figure
  1. 0.75
  2. 0.25
  3. 0.5
  4. 0.15
Q9MSQ3 marksselect all that apply
question figure
  1. question figure
  2. question figure
  3. question figure
  4. question figure
Q10MSQ3 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.
Q11SA3 marks
question figure
Q12SA3 marks
question figure
Q13SA3 marks
question figure
Comprehension passage - the questions below it refer to this
question figure
Q14MCQ1 mark
The weight vector output by the perceptron algorithm can be expressed as a linear combination of the data-points where the coefficients of the linear combination are integers.
  1. TRUE
  2. FALSE
Q15MCQ1 mark
question figure
  1. TRUE
  2. FALSE
Q16MCQ1 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
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
Q22SA0.5 marks
question figure
Comprehension passage - the questions below it refer to this
Based on the above data, answer the given subquestions. question figure
Q23SA0.5 marks
Enter the number corresponding to the logistic loss.
Q24SA0.5 marks
Enter the number corresponding to the (SVM) hinge loss.
Q25SA0.5 marks
Enter the number corresponding to the perceptron loss.
Q26SA0.5 marks
Enter the number corresponding to the squared loss.
Q27MCQ1 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
Q28SA1 mark
How many learnable parameters does this network have? Ignore the biases in the computation.
Q29MCQ1 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
Q30MCQ1 mark
question figure
  1. ReLU
  2. Sigmoid

Answer key

  1. Q1 (MCQ, 2 marks): A
  2. Q2 (MCQ, 3 marks): C
  3. Q3 (MCQ, 3 marks): A
  4. Q4 (MCQ, 3 marks): A
  5. Q5 (MCQ, 3 marks): B
  6. Q6 (MCQ, 3 marks): A
  7. Q7 (MCQ, 3 marks): A
  8. Q8 (MCQ, 3 marks): A
  9. Q9 (MSQ, 3 marks): A, B
  10. Q10 (MSQ, 3 marks): A, B
  11. Q11 (SA, 3 marks): 10
  12. Q12 (SA, 3 marks): 0.75
  13. Q13 (SA, 3 marks): 0.50 to 0.60
  14. Q14 (MCQ, 1 marks): A
  15. Q15 (MCQ, 1 marks): B
  16. Q16 (MCQ, 1 marks): B
  17. Q17 (SA, 0.5 marks): 0
  18. Q18 (SA, 0.5 marks): 1
  19. Q19 (SA, 0.5 marks): 2
  20. Q20 (SA, 0.5 marks): 0
  21. Q21 (SA, 0.5 marks): 5
  22. Q22 (SA, 0.5 marks): -1
  23. Q23 (SA, 0.5 marks): 3
  24. Q24 (SA, 0.5 marks): 2
  25. Q25 (SA, 0.5 marks): 4
  26. Q26 (SA, 0.5 marks): 1
  27. Q27 (MCQ, 1 marks): A
  28. Q28 (SA, 1 marks): 205
  29. Q29 (MCQ, 1 marks): A
  30. Q30 (MCQ, 1 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 for the Diploma-Level Machine Learning Techniques exam, along with Mermaid knowledge graphs to visualize relationships.



1. Core Topics & Key Concepts

A. Linear Regression & Gradient Descent

Key Concepts:

Equations:

  1. SSE Gradient (Vector Form): ∇wSSE=−2XT(y−Xw)\nabla_w \text{SSE} = -2 X^T (y - Xw).
  2. Ridge Regression Update: w=(XTX+λI)−1XTyw = (X^T X + \lambda I)^{-1} X^T y.

B. Principal Component Analysis (PCA)

Key Concepts:

Equations:

  1. Variance Calculation: Var(w)=wTCw\text{Var}(w) = w^T C w.
  2. Projection onto PC: z=Xwz = Xw.

C. Support Vector Machines (SVM)

Key Concepts:

Equations:

  1. Hard-Margin Constraint: yi(wTxi+b)≥1y_i (w^T x_i + b) \geq 1.
  2. Soft-Margin Constraint: yi(wTxi+b)≥1−ξiy_i (w^T x_i + b) \geq 1 - \xi_i, ξi≥0\xi_i \geq 0.
  3. Kernel SVM Dual Problem: max⁡∑αi−12∑αiαjyiyjK(xi,xj)\max \sum \alpha_i - \frac{1}{2} \sum \alpha_i \alpha_j y_i y_j K(x_i, x_j).

D. Ensemble Methods

Key Concepts:


E. Naive Bayes

Key Concepts:

Equations:

  1. Posterior Probability: p(y∣x)=p(x∣y)p(y)p(x)p(y | x) = \frac{p(x | y) p(y)}{p(x)}.

F. Clustering (k-Means)

Key Concepts:

Equations:

  1. Centroid Update: μk=1∣Ck∣∑x∈Ckx\mu_k = \frac{1}{|C_k|} \sum_{x \in C_k} x.

G. Logistic Regression

Key Concepts:

Equations:

  1. Logistic Loss: L=−[ylog⁡σ(z)+(1−y)log⁡(1−σ(z))]L = -[y \log \sigma(z) + (1-y) \log (1 - \sigma(z))].

H. Decision Trees & Information Gain

Key Concepts:

Equations:

  1. Binary Entropy: H=−plog⁡2p−(1−p)log⁡2(1−p)H = -p \log_2 p - (1-p) \log_2 (1-p).

I. Neural Networks

Key Concepts:

Equations:

  1. ReLU: ReLU(z)=max⁡(0,z)\text{ReLU}(z) = \max(0, z).
  2. Sigmoid: σ(z)=11+e−z\sigma(z) = \frac{1}{1 + e^{-z}}.

J. Loss Functions

Key Concepts:

Equations:

  1. Hinge Loss: L=max⁡(0,1−y(wTx))L = \max(0, 1 - y (w^T x)).
  2. Logistic Loss: L=ln⁡(1+e−y(wTx))L = \ln(1 + e^{-y (w^T x)}).

K. Bayesian Learning

Key Concepts:

Equations:

  1. Beta Expected Value: E[p]=αα+βE[p] = \frac{\alpha}{\alpha + \beta}.


Graph 2: Ensemble Methods

Graph 3: Dimensionality Reduction & Clustering

Graph 4: Neural Networks

Graph 5: Loss Functions


3. Summary of Key Equations

TopicEquation
SSE Gradient∇wSSE=−2XT(y−Xw)\nabla_w \text{SSE} = -2 X^T (y - Xw)
Ridge Regressionw=(XTX+λI)−1XTyw = (X^T X + \lambda I)^{-1} X^T y
PCA VarianceVar(w)=wTCw\text{Var}(w) = w^T C w
SVM MarginMargin=2∥w∥\text{Margin} = \frac{2}{\|w\|}
Logistic Regressionp(y=1∣x)=σ(wTx)p(y=1|x) = \sigma(w^T x)
Information GainGain=H(S)−∑∣Sv∣∣S∣H(Sv)\text{Gain} = H(S) - \sum \frac{|S_v|}{|S|} H(S_v)
Neural Network Params∑l=1L−1nl×nl+1\sum_{l=1}^{L-1} n_l \times n_{l+1}
Beta PosteriorBeta(α+ones,β+zeros)\text{Beta}(\alpha + \text{ones}, \beta + \text{zeros})
Hinge LossL=max⁡(0,1−y(wTx))L = \max(0, 1 - y (w^T x))
Logistic LossL=ln⁡(1+e−y(wTx))L = \ln(1 + e^{-y (w^T x)})