ML Study Hub

Home / Past papers / MLF End Term / this paper

Machine Learning Foundations 06 May 26 - 10 May 2026

MLF End Term14 questions40 marks8 SA · 4 MSQ · 2 MCQFoundation
Elapsed 00:00
Q1MCQ2 marks
Let . That is, is distributed uniformly over . Define . Which of the following is true regarding the random variable ?
Q2MCQ3 marks
Consider two functions and given by: Which of the following is true?
  1. Both and are convex
  2. Only is convex
  3. Only is convex
  4. Neither nor is convex
Q3MSQ3 marksselect all that apply
Find all square matrices from the given options for which is given as: where .
  1. question figure
  2. question figure
  3. question figure
  4. question figure
Q4MSQ3 marksselect all that apply
Which of the following is/are Hermitian matrices?
  1. , where is a complex square matrix.
  2. , where is a complex square matrix.
  3. , where is a complex matrix, not necessarily square.
  4. , where is a complex square matrix.
Q5MSQ3 marksselect all that apply
Which of the following is/are true?
  1. A set is convex if and only if convex-hull .
  2. If is a non-empty convex set in with a finite number of elements, then has exactly one element.
  3. If is a convex function, then is differentiable.
  4. If is a function, then the epigraph of is a subset of .
Q6MSQ3 marksselect all that apply
Consider a constrained optimization problem in with a single inequality constraint as given below: Which of the following is/are feasible directions at the point question figure ?
Q7SA2 marks
The number of automobiles sold weekly at a certain dealership is a random variable with expected value . Using Markov's inequality, find the tightest upper bound to the probability that the next week's sales is at least . Enter your answer correct to one decimal place. Note that an upper bound of is valid but not tight.
Q8SA2 marks
Consider a classifier for a binary classification problem as given below: question figure The dataset has four data-points. are the features and is the true label: question figure Find the loss of on this dataset and enter your answer correct to two decimal places. Recall that the loss is the average number of misclassified points.
Q9SA3 marks
Consider a matrix with eigenvalues and . Find the sum of the eigenvalues of the matrix . Your answer should be an integer. Note: I is the identity matrix.
Q10SA3 marks
Let be an exponentially distributed random variable with mean . Find the value of for which . Enter your answer correct to two decimal places.
Q11SA3 marks
The joint density function of and is given by: question figure Compute . Enter your answer correct to two decimal places.
Q12SA3 marks
The dataset is sampled from a distribution whose PDF is given below with parameter : question figure Assume that each point in the dataset is sampled independently from this distribution. Find the maximum likelihood estimate for . Your answer should be an integer.
Q13SA3 marks
Aman is evaluating candidates for a Machine Learning role. The time (in hours) taken to complete a technical interview round follows the probability density function: question figure Find the expected time taken to complete an interview. Your answer should be an integer.
Q14SA4 marks
Using the method of Lagrange multipliers solve the following constrained optimization problem: question figure Find the minimum value of the objective function. You can assume that the problem does have a global minimum. Your answer should be an integer.

Answer key

  1. Q1 (MCQ, 2 marks): A
  2. Q2 (MCQ, 3 marks): A
  3. Q3 (MSQ, 3 marks): A, B
  4. Q4 (MSQ, 3 marks): A, C
  5. Q5 (MSQ, 3 marks): A, B
  6. Q6 (MSQ, 3 marks): A, B
  7. Q7 (SA, 2 marks): 0.79 to 0.81
  8. Q8 (SA, 2 marks): 0.24 to 0.26
  9. Q9 (SA, 3 marks): 2
  10. Q10 (SA, 3 marks): 0.68 to 0.70
  11. Q11 (SA, 3 marks): 0.32 to 0.34
  12. Q12 (SA, 3 marks): 8
  13. Q13 (SA, 3 marks): 2
  14. Q14 (SA, 4 marks): -2