ML Study Hub

Home / Past papers / MLP End Term / this paper

IIT M DEGREE AN EXAM QDB3 31 Aug 2025 - 31 Aug 2025

MLP End Term26 questions50 marks12 MCQ · 8 MSQ · 6 SAafternoon / QDB3
Elapsed 00:00
Q1MCQ2 marks
question figure
  1. 10
  2. 50
  3. 100
  4. 500
Q2MCQ2 marks
question figure
  1. Set ‘warm start=True’
  2. Combine training data from different training sessions
  3. Set ‘retain parameters=True’
  4. This problem can not be solved.
Q3MCQ2 marks
question figure
  1. question figure
  2. question figure
  3. question figure
  4. question figure
Q4MCQ2 marks
question figure
  1. (200, 200, 3)
  2. (40000, )
  3. (200, 200, 1)
  4. (40000, 3)
Q5MCQ2 marks
question figure
  1. question figure
  2. question figure
  3. question figure
  4. question figure
  5. question figure
Q6MCQ2 marks
Which of the following statements about the Augmented Dickey-Fuller (ADF) test is correct?
  1. The test is used to detect seasonality in a time series
  2. A low p-value (e.g., < 0.05) indicates the time series is non-stationary
  3. The test’s null hypothesis is that the time series is stationary
  4. A low p-value (e.g., < 0.05) indicates the time series is stationary
Q7MCQ1 mark
How to change the loss function in SGDRegressor to Huber loss?
  1. question figure
  2. question figure
  3. question figure
  4. question figure
Q8MCQ1 mark
question figure
  1. liblinear
  2. lbfgs
  3. saga
  4. newton-cg
Q9MCQ1 mark
question figure
  1. question figure
  2. question figure
  3. question figure
  4. question figure
  5. question figure
Q10MCQ3 marks
Which of the following best describes the components of a time series in a classical multiplicative decomposition model?
  1. The series is a product of a trend component and an error component only
  2. The series is a sum of a trend component, a seasonal component, and acyclical component
  3. The series is a product of a trend component, a seasonal component, and anerror component
  4. The series is a sum of a trend component, a seasonal component, and a errorcomponent
Q11MSQ3 marksselect all that apply
question figure
  1. question figure
  2. question figure
  3. question figure
  4. question figure
  5. question figure
Q12MSQ2 marksselect all that apply
question figure
  1. Saves computation time by reusing results of expensive transformations wheninputs and parameters have not changed.
  2. Helps speed up repeated runs of cross-validation involving the sametransformation steps.
  3. Reduces CPU usage by running transformations in parallel threadsautomatically.
  4. Improves efficiency in hyperparameter search by avoiding redundantcomputations in pipeline steps.
  5. Guarantees better generalization performance on the test set.
Q13MSQ2 marksselect all that apply
question figure
  1. question figure
  2. question figure
  3. question figure
  4. question figure
Q14MSQ2 marksselect all that apply
A medical diagnosis model is used to detect a rare disease that occurs in 0.5% of the population. A model is trained on this data, which of the following evaluation metrics are suitable for measuring effectiveness of this model:
  1. accuracy
  2. precision
  3. recall
  4. F-1 score
Q15MSQ2 marksselect all that apply
question figure
  1. The elbow method involves plotting the number of clusters against the inertiaand identifying a point where the decrease in inertia slows down.
  2. The elbow point represents the cluster count beyond which additional clustersdo not significantly improve the model fit.
  3. The metric used in the elbow method is the silhouette score.
  4. The elbow point is always the smallest number of clusters in the plot.
  5. The elbow method may sometimes be inconclusive if no clear bend is visible inthe curve.
Q16SA3 marks
question figure
Q17SA3 marks
question figure
Comprehension passage - the questions below it refer to this
Based on the above data, answer the given subquestions. question figure
Q18MSQ1 markselect all that apply
question figure
  1. question figure
  2. question figure
  3. question figure
  4. question figure
Q19MCQ2 marks
question figure
  1. question figure
  2. question figure
  3. question figure
  4. question figure
Q20MSQ2 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
Q21MCQ2 marks
select the appropriate values for A and B in the loss parameter to ensure that all model fits execute successfully.
  1. question figure
  2. question figure
  3. question figure
  4. question figure
Q22MSQ2 marksselect all that apply
question figure
  1. question figure
  2. question figure
  3. question figure
  4. question figure
Q23SA1 mark
question figure
Comprehension passage - the questions below it refer to this
Based on the above data, answer the given subquestions. question figure
Q24SA1 mark
Calculate and enter the value of X (truncated to two decimal places).
Q25SA1 mark
Calculate and enter the value of Y (truncated to two decimal places).
Q26SA3 marks
question figure

Answer key

  1. Q1 (MCQ, 2 marks): A
  2. Q2 (MCQ, 2 marks): A
  3. Q3 (MCQ, 2 marks): A
  4. Q4 (MCQ, 2 marks): B
  5. Q5 (MCQ, 2 marks): A
  6. Q6 (MCQ, 2 marks): D
  7. Q7 (MCQ, 1 marks): A
  8. Q8 (MCQ, 1 marks): C
  9. Q9 (MCQ, 1 marks): A
  10. Q10 (MCQ, 3 marks): C
  11. Q11 (MSQ, 3 marks): A, B
  12. Q12 (MSQ, 2 marks): A, B, D
  13. Q13 (MSQ, 2 marks): A, B, C
  14. Q14 (MSQ, 2 marks): B, C, D
  15. Q15 (MSQ, 2 marks): A, B, E
  16. Q16 (SA, 3 marks): -12.5
  17. Q17 (SA, 3 marks): 10
  18. Q18 (MSQ, 1 marks): A, C
  19. Q19 (MCQ, 2 marks): A
  20. Q20 (MSQ, 2 marks): A, C
  21. Q21 (MCQ, 2 marks): D
  22. Q22 (MSQ, 2 marks): B, D
  23. Q23 (SA, 1 marks): 72
  24. Q24 (SA, 1 marks): 0.97 to 0.99
  25. Q25 (SA, 1 marks): 0.81 to 0.83
  26. Q26 (SA, 3 marks): 4.1 to 4.3

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 Practice (Computer-Based Exam), along with Mermaid knowledge graphs to visualize relationships.



1. Core Topics & Concepts

A. Supervised Learning

1. Linear Regression & Cross-Validation

y=β0+β1x1+β2x2+⋯+βnxn+ϵy = \beta_0 + \beta_1 x_1 + \beta_2 x_2 + \dots + \beta_n x_n + \epsilon
MSE=1n∑i=1n(yi−y^i)2MSE = \frac{1}{n} \sum_{i=1}^n (y_i - \hat{y}_i)^2

2. Perceptron & Warm Start

3. Logistic Regression & Regularization

Penalty=α((1−l1_ratio)⋅12∣∣w∣∣22+l1_ratio⋅∣∣w∣∣1)\text{Penalty} = \alpha \left( (1 - l1\_ratio) \cdot \frac{1}{2} ||w||_2^2 + l1\_ratio \cdot ||w||_1 \right)

4. SGDRegressor & Loss Functions

5. Evaluation Metrics

R2=1−∑(yi−y^i)2∑(yi−yˉ)2R^2 = 1 - \frac{\sum (y_i - \hat{y}_i)^2}{\sum (y_i - \bar{y})^2}

B. Unsupervised Learning

1. K-Means Clustering

Inertia=∑i=1nmin⁡μj∈C(∣∣xi−μj∣∣2)\text{Inertia} = \sum_{i=1}^n \min_{\mu_j \in C} (||x_i - \mu_j||^2)

2. Dimensionality Reduction (TF-IDF)


C. Time Series Analysis

1. Stationarity & ADF Test

Yt=Trendt×Seasonalt×ResidualtY_t = \text{Trend}_t \times \text{Seasonal}_t \times \text{Residual}_t

2. Collaborative Filtering

Similarity(u,v)=∑i=1nru,irv,i∑i=1nru,i2∑i=1nrv,i2\text{Similarity}(u, v) = \frac{\sum_{i=1}^n r_{u,i} r_{v,i}}{\sqrt{\sum_{i=1}^n r_{u,i}^2} \sqrt{\sum_{i=1}^n r_{v,i}^2}}

D. Data Preprocessing

1. Pipelines & Caching

2. Handling Missing Data


E. Model Selection & Hyperparameter Tuning

1. GridSearchCV

2. Scoring Metrics


F. Neural Networks (MLP)

1. MLPClassifier



Graph 2: Unsupervised Learning

Graph 3: Time Series Analysis

Graph 4: Model Tuning & Pipelines

Graph 5: Collaborative Filtering



3. Key Equations Summary

ConceptEquation
Linear Regressiony=β0+β1x1+⋯+βnxn+ϵy = \beta_0 + \beta_1 x_1 + \dots + \beta_n x_n + \epsilon
MSEMSE=1n∑(yi−y^i)2MSE = \frac{1}{n} \sum (y_i - \hat{y}_i)^2
R² ScoreR2=1−SSresSStotR^2 = 1 - \frac{SS_{res}}{SS_{tot}}
Elastic-Net Penaltyα((1−l1_ratio)⋅12∣∣w∣∣22+l1_ratio⋅∣∣w∣∣1)\alpha \left( (1 - l1\_ratio) \cdot \frac{1}{2} ||w||_2^2 + l1\_ratio \cdot ||w||_1 \right)
Confusion Matrix MetricsPrecision = TPTP+FP\frac{TP}{TP + FP}, Recall = TPTP+FN\frac{TP}{TP + FN}
Cosine Similarity∑ru,irv,i∑ru,i2∑rv,i2\frac{\sum r_{u,i} r_{v,i}}{\sqrt{\sum r_{u,i}^2} \sqrt{\sum r_{v,i}^2}}
K-Means Inertia∑i=1nmin⁡μj∈C(∣∣xi−μj∣∣2)\sum_{i=1}^n \min_{\mu_j \in C} (||x_i - \mu_j||^2)
ADF Test HypothesisH0H_0: Non-stationary, H1H_1: Stationary