ML Study Hub

Home / Past papers / MLF End Term / this paper

Machine Learning Foundations 18 Dec 25 - 21 Dec 2025

MLF End Term32 questions80 marks15 MCQ · 13 SA · 4 MSQFoundation
Elapsed 00:00
Q1MCQ3 marks
Consider the function defined as . For what values of is convex
  1. question figure
  2. question figure
Q2MSQ3 marksselect all that apply
Consider question figure Which of the following is/are true
  1. is Hermitian.
  2. is unitary.
  3. is positive semi-definite.
  4. is positive definite.
  5. is invertible.
Q3SA3 marks
An ML team wants to predict whether an email is spam or not by using some classification models. Therefore, the team defines three binary features where, = Presence of suspicious keywords (1 = present, 0 = absent)• = Whether the sender is unknown (1 = unknown, 0 = known)• = Whether the email contains a link (1 = yes, 0 = no)• The team collects the following dataset from previously classified emails: question figure The model makes a prediction using the rule : and question figure Compute the average loss on this dataset. Enter your answer correct to one decimal place.
Q4SA3 marks
Let be a continuous random variable with the probability density function: question figure What is the value of
Q5SA3 marks
is a matrix whose eigenvalues are . Consider the set as defined below: question figure Find .
Q6SA3 marks
Using the method of Lagrange multipliers, find a point on the circle centered at with radius that is closest to the point . If this distance is , enter as your answer. Your answer should be an integer.
Comprehension passage - the questions below it refer to this
A cafe records the time (in minutes) a customer waits for a freshly made sandwich. The waiting time follows an exponential distribution with mean 5 minutes. Based on the above data, answer the given subquestions.
Q7MCQ3 marks
Find the waiting time such that 95% of customers are served within minutes.
  1. question figure
  2. question figure
Q8MCQ2 marks
What is the probability that a randomly chosen customer waits between and minutes
Q9SA2 marks
Using Chebyshev's inequality, find an upper bound for , where represents the mean of the random variable . Enter your answer correct to two decimal places.
Comprehension passage - the questions below it refer to this
Consider the following constrained optimization problem: question figure Answer the sub-questions assuming that we take a very small step in the direction of interest.
Q10MSQ2 marksselect all that apply
At the point which of the following is/are descent directions for the objective function
Q11MSQ2 marksselect all that apply
At the point which of the following is/are feasible directions
Q12MCQ1 mark
Is a potential candidate at which the problem could have a local minimum
  1. Yes
  2. No
Comprehension passage - the questions below it refer to this
If and , where question figure Based on the above data, answer the given subquestions.
Q13MCQ1 mark
What is the distribution of
  1. Normal
  2. Normal
  3. Normal
  4. Normal
Q14MCQ2 marks
What is the distribution of
  1. Normal
  2. Normal
  3. Normal
  4. Insufficient information.
Q15MCQ2 marks
Find the covariance matrix of .
  1. question figure
  2. question figure
  3. question figure
  4. question figure
Comprehension passage - the questions below it refer to this
A company aims to minimize its production cost, represented by the following quadratic function: The company applies the gradient descent algorithm to minimize this function, starting with an initial guess of and using a step size (learning rate) of question figure , where Based on the above data, answer the given subquestions.
Q16MCQ2 marks
Find the updated point after the first iteration of the gradient descent algorithm.
Q17SA3 marks
Compute the value of after the second iteration, i.e., .
Q18MCQ4 marks
A real estate company wants to create a model to predict house prices based on the size of the house. They collect data from three recent sales. There are two features: size (hundreds of sq ft) and number of bedrooms. The data-matrix and the price vector (in hundreds of thousands of rupees) are: question figure The objective is to find the weight vector that minimizes the sum of squared errors given by the loss function: question figure If is the value that minimizes , then which of the following is ?
  1. question figure
  2. question figure
  3. question figure
  4. question figure
Q19MCQ3 marks
Let . Find the directional derivative of at the point in the direction of unit vector along .
  1. question figure
  2. question figure
  3. question figure
  4. question figure
Q20MCQ1 mark
Consider the convex hull of the set of points . Which of the following points belongs to the convex hull?
Q21MSQ3 marksselect all that apply
If is a square invertible matrix, which of the following is/are true?
  1. The row space of is equal to its column space.
  2. The nullspace of is equal to its left nullspace.
  3. The left nullspace of is equal to its row space.
  4. The nullspace of is equal to its row space.
Q22SA3 marks
An analyst monitors the number of defective items produced daily. Let denote number of defective items produced in a day. Using Markov's inequality, the analyst finds an upper bound of on the probability that at least items are defective. Calculate the mean of .
Q23SA3 marks
Consider two datasets in , and , each having three points as shown below. The figure is drawn to scale. PCA is run on both these datasets separately. question figure and are the covariance matrices of the two datasets respectively. If is the eigenvector corresponding to the largest eigenvalue of and is the eigenvector corresponding to the smallest eigenvalue of , find the absolute value of . Both eigenvectors have unit norm. Your answer should be an integer.
Q24SA3 marks
The time (in minutes) a bank employee spends assisting a customer follows an exponential distribution with parameter . The time spent (in minutes) from a random sample of 5 customers are as follows: Find the maximum likelihood estimate of for the given sample. Enter the answer correct to two decimal places.
Q25SA4 marks
Anil throws a dart onto a circular board. Let a random variable denote the distance from the center to the point where the dart hits the board. Suppose the PDF of is question figure Calculate the value of question figure . Enter the answer correct to two decimal places.
Q26SA3 marks
Using the method of Lagrange multipliers, find a point on the circle centered at with radius that is closest to the point . If this distance is , enter as your answer. Your answer should be an integer.
Q27SA3 marks
Consider the following constrained optimization problem: question figure If question figure corresponds to the global minimum, find question figure . Enter your answer correct to one decimal place.
Comprehension passage - the questions below it refer to this
If and , where question figure Based on the above data, answer the given subquestions.
Q28MCQ1 mark
What is the distribution of
  1. Normal
  2. Normal
  3. Normal
  4. Normal
Q29MCQ2 marks
What is the distribution of
  1. Normal
  2. Normal
  3. Normal
  4. Insufficient information.
Q30MCQ2 marks
Find the covariance matrix of .
  1. question figure
  2. question figure
  3. question figure
  4. question figure
Comprehension passage - the questions below it refer to this
A company aims to minimize its production cost, represented by the following quadratic function: The company applies the gradient descent algorithm to minimize this function, starting with an initial guess of and using a step size (learning rate) of question figure , where Based on the above data, answer the given subquestions.
Q31MCQ2 marks
Find the updated point after the first iteration of the gradient descent algorithm.
Q32SA3 marks
Compute the value of after the second iteration, i.e., .

Answer key

  1. Q1 (MCQ, 3 marks): A
  2. Q2 (MSQ, 3 marks): A, C
  3. Q3 (SA, 3 marks): 0.4 to 0.6
  4. Q4 (SA, 3 marks): 2
  5. Q5 (SA, 3 marks): 4
  6. Q6 (SA, 3 marks): 45
  7. Q7 (MCQ, 3 marks): B
  8. Q8 (MCQ, 2 marks): D
  9. Q9 (SA, 2 marks): 0.37 to 0.41
  10. Q10 (MSQ, 2 marks): A, C
  11. Q11 (MSQ, 2 marks): A, C
  12. Q12 (MCQ, 1 marks): B
  13. Q13 (MCQ, 1 marks): B
  14. Q14 (MCQ, 2 marks): A
  15. Q15 (MCQ, 2 marks): A
  16. Q16 (MCQ, 2 marks): B
  17. Q17 (SA, 3 marks): 1154
  18. Q18 (MCQ, 4 marks): A
  19. Q19 (MCQ, 3 marks): A
  20. Q20 (MCQ, 1 marks): A
  21. Q21 (MSQ, 3 marks): A, B
  22. Q22 (SA, 3 marks): 120
  23. Q23 (SA, 3 marks): 1
  24. Q24 (SA, 3 marks): 0.06 to 0.10
  25. Q25 (SA, 4 marks): 0.66 to 0.72
  26. Q26 (SA, 3 marks): 80
  27. Q27 (SA, 3 marks): 0.4 to 0.6
  28. Q28 (MCQ, 1 marks): C
  29. Q29 (MCQ, 2 marks): C
  30. Q30 (MCQ, 2 marks): B
  31. Q31 (MCQ, 2 marks): B
  32. Q32 (SA, 3 marks): 1154