Indian Institute of Technology Madras
BS Degree Programme · Examination & Study Paper
Machine Learning Practice
All 2025 papers
Examination Instructions & Guidelines
- Solve on notebook/paper first before checking solutions.
- MCQ: Exactly 1 option is correct. Negative marking applies.
- MSQ: One or more options correct. Select all to score.
- NAT: Numerical response. No negative marking.
- Scientific calculator allowed for all calculations.
- Official answer key is sealed at the end of this sheet.
End Term · 31 Aug 2025 (FN)End Term
- Q1MCQ2 Marks·Choose one option

- A1000
- B100
- C99
- D999
- Q2MCQ2 Marks·Choose one option

- A

- B

- C

- D

- A
- Q3MCQ2 Marks·Choose one option

- A

- B

- C

- D

- E

- A
- Q4MCQ2 Marks·Choose one option
What is the primary function of the pandas.resample() method for a time series?
- ATo convert a DataFrame to a series or vice versa.
- BTo fill in missing values in the time series using various interpolation methods.
- CTo change the frequency of the time series, such as converting daily data to monthly or monthly data to daily.
- DTo perform statistical tests to check for stationarity in the time series.
- Q5MCQ3 Marks·Choose one option

- A

- B

- C

- D

- A
- Q6MCQ3 Marks·Choose one option

- A(i) – resize, (ii) – augment, (iii) – flatten, (iv) – grayscale
- B(i) – grayscale, (ii) – flatten, (iii) – resize, (iv) – augment
- C(i) – grayscale, (ii) – augment, (iii) – resize, (iv) – flatten
- D(i) – grayscale, (ii) – resize, (iii) – flatten, (iv) – augment
- Q7MCQ3 Marks·Choose one option
A time series with a clear upward trend and increasing variance over time is identified as non- stationary. Which two preprocessing steps are most likely required?
- AMin-Max scaling and seasonal decomposition
- BImputing missing values and differencing
- CLog transformation and differencing
- DStandardization and moving average smoothing
- Q8MCQ1 Mark·Choose one option

- A

- B

- C

- D

- E

- A
- Q9MCQ1 Mark·Choose one option

- A

- B

- C

- D

- E

- A
- Q10MSQ3 Marks·Choose all correct options

- A

- B

- C

- D

- E

- A
- Q11MSQ2 Marks·Choose all correct options

- A

- B

- C

- D

- E

- A
- Q12MSQ2 Marks·Choose all correct options

- A

- B

- C

- D

- A
- Q13MSQ2 Marks·Choose all correct options

- A

- B

- C

- D

- A
- Q14MSQ2 Marks·Choose all correct options

- AIt helps determine the optimal number of clusters by plotting the number of clusters vs. inertia (within-cluster sum of squares).
- BThe ”elbow point” is where adding more clusters yields a significantly larger reduction in inertia.
- CThe ”elbow point” is where adding more clusters yields diminishing returns in reducing inertia.
- DIt always produces a clear and unambiguous elbow point.
- EIt can be visualized using a plot of number of clusters vs. distortion score.
- Q15MSQ1 Mark·Choose all correct options
How to disable early stopping in SGDRegressor?
- A

- B

- C

- D

- A
- Q16NAT2 Marks·Write the number
Your answer: - Q17NAT2 Marks·Write the number
Your answer: Read the passage below, then answer Q18–Q20

Based on the above data, answer the given subquestions.
Q18MSQ1 Mark·Choose all correct options
- A

- B

- C

- D

- A
- Q19MCQ2 Marks·Choose one option

- A

- B

- C

- D

- A
- Q20MSQ2 Marks·Choose all correct options

- A

- B

- C

- D

- A
Read the passage below, then answer Q21–Q23

Based on the above data, answer the given subquestions.
Q21MCQ2 Marks·Choose one option
- A

- B

- C

- D

- A
- Q22MSQ2 Marks·Choose all correct options

- A

- B

- C

- D

- A
- Q23NAT1 Mark·Write the number
Your answer: Read the passage below, then answer Q24–Q26

Based on the above data, answer the given subquestions.
Q24NAT1 Mark·Write the number
Your answer:- Q25NAT2 Marks·Write the number
Your answer: - Q26NAT2 Marks·Write the number
Your answer:
End Term · 31 Aug 2025 (AN)End Term
- Q27MCQ2 Marks·Choose one option

- A10
- B50
- C100
- D500
- Q28MCQ2 Marks·Choose one option

- ASet ‘warm start=True’
- BCombine training data from different training sessions
- CSet ‘retain parameters=True’
- DThis problem can not be solved.
- Q29MCQ2 Marks·Choose one option

- A

- B

- C

- D

- A
- Q30MCQ2 Marks·Choose one option

- A(200, 200, 3)
- B(40000, )
- C(200, 200, 1)
- D(40000, 3)
- Q31MCQ2 Marks·Choose one option

- A

- B

- C

- D

- E

- A
- Q32MCQ2 Marks·Choose one option
Which of the following statements about the Augmented Dickey-Fuller (ADF) test is correct?
- AThe test is used to detect seasonality in a time series
- BA low p-value (e.g., < 0.05) indicates the time series is non-stationary
- CThe test’s null hypothesis is that the time series is stationary
- DA low p-value (e.g., < 0.05) indicates the time series is stationary
- Q33MCQ1 Mark·Choose one option
How to change the loss function in SGDRegressor to Huber loss?
- A

- B

- C

- D

- A
- Q34MCQ1 Mark·Choose one option

- Aliblinear
- Blbfgs
- Csaga
- Dnewton-cg
- Q35MCQ1 Mark·Choose one option

- A

- B

- C

- D

- E

- A
- Q36MCQ3 Marks·Choose one option
Which of the following best describes the components of a time series in a classical multiplicative decomposition model?
- AThe series is a product of a trend component and an error component only
- BThe series is a sum of a trend component, a seasonal component, and a cyclical component
- CThe series is a product of a trend component, a seasonal component, and an error component
- DThe series is a sum of a trend component, a seasonal component, and a error component
- Q37MSQ3 Marks·Choose all correct options

- A

- B

- C

- D

- E

- A
- Q38MSQ2 Marks·Choose all correct options

- ASaves computation time by reusing results of expensive transformations when inputs and parameters have not changed.
- BHelps speed up repeated runs of cross-validation involving the same transformation steps.
- CReduces CPU usage by running transformations in parallel threads automatically.
- DImproves efficiency in hyperparameter search by avoiding redundant computations in pipeline steps.
- EGuarantees better generalization performance on the test set.
- Q39MSQ2 Marks·Choose all correct options

- A

- B

- C

- D

- A
- Q40MSQ2 Marks·Choose all correct options
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:
- Aaccuracy
- Bprecision
- Crecall
- DF-1 score
- Q41MSQ2 Marks·Choose all correct options

- AThe elbow method involves plotting the number of clusters against the inertia and identifying a point where the decrease in inertia slows down.
- BThe elbow point represents the cluster count beyond which additional clusters do not significantly improve the model fit.
- CThe metric used in the elbow method is the silhouette score.
- DThe elbow point is always the smallest number of clusters in the plot.
- EThe elbow method may sometimes be inconclusive if no clear bend is visible in the curve.
- Q42NAT3 Marks·Write the number
Your answer: - Q43NAT3 Marks·Write the number
Your answer: Read the passage below, then answer Q44–Q46

Based on the above data, answer the given subquestions.
Q44MSQ1 Mark·Choose all correct options
- A

- B

- C

- D

- A
- Q45MCQ2 Marks·Choose one option

- A

- B

- C

- D

- A
- Q46MSQ2 Marks·Choose all correct options

- A

- B

- C

- D

- A
Read the passage below, then answer Q47–Q49

Based on the above data, answer the given subquestions.
Q47MCQ2 Marks·Choose one optionselect the appropriate values for A and B in the loss parameter to ensure that all model fits execute successfully.
- A

- B

- C

- D

- A
- Q48MSQ2 Marks·Choose all correct options

- A

- B

- C

- D

- A
- Q49NAT1 Mark·Write the number
Your answer: Read the passage below, then answer Q50–Q52

Based on the above data, answer the given subquestions.
Q50NAT1 Mark·Write the numberCalculate and enter the value of X (truncated to two decimal places).
Your answer:- Q51NAT1 Mark·Write the number
Calculate and enter the value of Y (truncated to two decimal places).
Your answer: - Q52NAT3 Marks·Write the number
Your answer:
Official KeyMaster Answer Key & Explanations
Official answer keys from IIT Madras BS past papers. Click any question to review.
Reveal KeyCollapse Key
Master Answer Key & Explanations
Official answer keys from IIT Madras BS past papers. Click any question to review.