ML Study Hub

Home / Past papers / MLF End Term / this paper

IIT M FOUNDATION FN EXAM QDF2 13 Apr - 13 Apr 2025

MLF End Term14 questions40 marks8 MSQ · 5 SA · 1 MCQFoundation / forenoon / QDF2
Elapsed 00:00
Q1MCQ3 marks
question figure
  1. question figure
  2. question figure
  3. question figure
  4. question figure
Q2MSQ3 marksselect all that apply
Which of the following is true about the singular value decomposition (SVD)?
  1. question figure
  2. question figure
  3. question figure
  4. question figure
Q3MSQ3 marksselect all that apply
In the context of Principal Component Analysis (PCA), which of the following statements is/are correct?
  1. PCA projects the original data onto a lower-dimensional subspace thatcaptures the maximum variance.
  2. The eigenvectors of the covariance matrix correspond to the directions ofmaximum variance.
  3. The principal components form a basis that is not necessarily orthogonal.
  4. The principal components obtained through PCA are always uncorrelated.
Q4MSQ3 marksselect all that apply
question figure
  1. question figure
  2. question figure
  3. question figure
  4. question figure
Q5MSQ3 marksselect all that apply
Which of the following statements about convex sets are true?
  1. question figure
  2. question figure
  3. question figure
  4. question figure
Q6MSQ3 marksselect all that apply
Which of the following options is / are true ?
  1. question figure
  2. question figure
  3. question figure
  4. question figure
Q7MSQ4 marksselect all that apply
question figure
  1. question figure
  2. question figure
  3. question figure
  4. question figure
Q8SA3 marks
question figure
Q9SA3 marks
question figure
Q10SA2 marks
question figure
Q11SA2 marks
question figure
Comprehension passage - the questions below it refer to this
Based on the above data, answer the given subquestions. question figure
Q12MSQ2 marksselect all that apply
Which of the following statements correctly represents the Karush-Kuhn-Tucker (KKT) conditions for the given optimization problem?
  1. question figure
  2. question figure
  3. question figure
  4. question figure
Q13MSQ3 marksselect all that apply
Which of the following statements are correct based on the KKT conditions and the solution to the optimization problem?
  1. question figure
  2. question figure
  3. question figure
  4. question figure
Q14SA3 marks
question figure

Answer key

  1. Q1 (MCQ, 3 marks): A
  2. Q2 (MSQ, 3 marks): A, B, C
  3. Q3 (MSQ, 3 marks): A, B, D
  4. Q4 (MSQ, 3 marks): C, D
  5. Q5 (MSQ, 3 marks): A, B, C
  6. Q6 (MSQ, 3 marks): A, C
  7. Q7 (MSQ, 4 marks): A, B
  8. Q8 (SA, 3 marks): 4
  9. Q9 (SA, 3 marks): 0.5
  10. Q10 (SA, 2 marks): 0.5
  11. Q11 (SA, 2 marks): 1
  12. Q12 (MSQ, 2 marks): A, C
  13. Q13 (MSQ, 3 marks): A, C
  14. Q14 (SA, 3 marks): 0.25

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 essential for the exam, followed by Mermaid knowledge graphs to visualize relationships.



1. Core Topics & Key Concepts

A. Probability & Statistics

  1. Joint Probability Density Function (PDF)

    • Definition: fX,Y(x,y)f_{X,Y}(x,y) for joint distribution of XX and YY.
    • Transformation of Variables:

      • Given U=g1(X,Y)U = g_1(X,Y), V=g2(X,Y)V = g_2(X,Y), find fU,V(u,v)f_{U,V}(u,v) using the Jacobian determinant:
fU,V(u,v)=fX,Y(x,y)⋅∣J∣−1,where J=∣∂x∂u∂x∂v∂y∂u∂y∂v∣f_{U,V}(u,v) = f_{X,Y}(x,y) \cdot |J|^{-1}, \quad \text{where } J = \begin{vmatrix} \frac{\partial x}{\partial u} & \frac{\partial x}{\partial v} \\ \frac{\partial y}{\partial u} & \frac{\partial y}{\partial v} \end{vmatrix}
  1. Expected Value & Linearity

    • For independent RVs X1,X2,X3X_1, X_2, X_3:
E[X1+X2+X3]=E[X1]+E[X2]+E[X3]E[X_1 + X_2 + X_3] = E[X_1] + E[X_2] + E[X_3]
  1. Markov’s Inequality

    • For non-negative RV XX and a>0a > 0:
P(X≥a)≤E[X]aP(X \geq a) \leq \frac{E[X]}{a}
  1. Cumulative Distribution Function (CDF)

    • For Uniform(a,ba,b):
FX(x)=x−ab−a,a≤x≤bF_X(x) = \frac{x - a}{b - a}, \quad a \leq x \leq b

B. Linear Algebra & Matrix Decompositions

  1. Singular Value Decomposition (SVD)

    • For matrix AA (m×nm \times n):
A=UΣVTA = U \Sigma V^T
  1. Eigenvalues & Eigenvectors

    • For symmetric matrix AA, eigenvalues are real, and eigenvectors are orthogonal.

C. Optimization

  1. Convexity

    • Convex Sets:

      • Definition: A set SS is convex if ∀x,y∈S\forall x,y \in S, λx+(1−λ)y∈S\lambda x + (1-\lambda)y \in S for λ∈[0,1]\lambda \in [0,1].
      • Examples:

        • Linear equality/inequality constraints (e.g., ∑aixi=b\sum a_i x_i = b).
        • Intersection of convex sets is convex.
    • Convex Functions:

      • Definition: ff is convex if f(λx+(1−λ)y)≤λf(x)+(1−λ)f(y)f(\lambda x + (1-\lambda)y) \leq \lambda f(x) + (1-\lambda)f(y).
      • Examples:

        • exe^x, x2x^2, −ln⁡x-\ln x (for x>0x > 0).
        • Composition of convex functions is not necessarily convex.
  1. Gradient Descent

    • Update rule:
xk+1=xk−η∇f(xk)x_{k+1} = x_k - \eta \nabla f(x_k)
∇f=(2x−4,6y+6)\nabla f = (2x -4, 6y +6)
  1. Karush-Kuhn-Tucker (KKT) Conditions

    • For optimization with constraints:
min⁡f(x)s.t.h(x)=0,g(x)≤0\min f(x) \quad \text{s.t.} \quad h(x) = 0, \quad g(x) \leq 0

D. Principal Component Analysis (PCA)

  1. Key Ideas:

    • Projects data onto directions of maximum variance (eigenvectors of covariance matrix).
    • Principal components are uncorrelated and form an orthogonal basis.
    • Steps:

      1. Compute covariance matrix Σ\Sigma.
      2. Find eigenvalues λi\lambda_i and eigenvectors viv_i.
      3. Sort eigenvectors by descending λi\lambda_i.

E. Function Analysis

  1. Polynomial Functions

    • Degree, roots, symmetry (even/odd), convexity.
    • Example: f(x)=x4−4x2+5f(x) = x^4 -4x^2 +5:

      • Degree 4, no real roots (discriminant <0< 0), symmetric about y-axis, always non-negative.
  1. Critical Points & Extrema

    • Find critical points by setting f′(x)=0f'(x) = 0.
    • Second derivative test for convexity/concavity.


2. Key Equations Summary

TopicEquation
Joint PDF TransformationfU,V(u,v)=fX,Y(x,y)⋅∣J∣−1f_{U,V}(u,v) = f_{X,Y}(x,y) \cdot |J|^{-1}
Expected ValueE[aX+bY]=aE[X]+bE[Y]E[aX + bY] = aE[X] + bE[Y]
Markov’s InequalityP(X≥a)≤E[X]aP(X \geq a) \leq \frac{E[X]}{a}
SVDA=UΣVTA = U \Sigma V^T, σi=λi(ATA)\sigma_i = \sqrt{\lambda_i(A^T A)}
Gradient Descentxk+1=xk−η∇f(xk)x_{k+1} = x_k - \eta \nabla f(x_k)
KKT Conditions∇L=0\nabla L = 0, βjgj(x)=0\beta_j g_j(x) = 0, βj≥0\beta_j \geq 0
PCAΣvi=λivi\Sigma v_i = \lambda_i v_i (eigenvalue problem)
Convex Functionf(λx+(1−λ)y)≤λf(x)+(1−λ)f(y)f(\lambda x + (1-\lambda)y) \leq \lambda f(x) + (1-\lambda)f(y)


Graph 2: Linear Algebra & Optimization

Graph 3: Machine Learning (PCA)

Graph 4: Function Analysis



4. Exam Tips

  1. Probability:

    • Practice transforming joint PDFs using Jacobians.
    • Memorize expected values for common distributions.
  1. Linear Algebra:

    • Understand SVD’s relationship with eigenvalues/eigenvectors.
    • Know how to compute singular values from ATAA^T A.
  1. Optimization:

    • For KKT, focus on stationarity, primal/dual feasibility, and complementary slackness.
    • Verify convexity before applying gradient descent.
  1. PCA:

    • Remember that principal components are uncorrelated and orthogonal.
  1. Function Analysis:

    • Check symmetry (even/odd), convexity (second derivative), and roots (discriminant).