ML Study Hub

Home / Past papers / MLF Quiz 1 / this paper

IIT M IMPROVEMENT AN EXAM QIM3 26 Oct - 26 Oct 2025

MLF Quiz 118 questions40 marks12 MCQ · 4 SA · 2 MSQImprovement / afternoon / QIM3
Elapsed 00:00
Q1MCQ1 mark
A bank wants to decide whether a loan applicant should be given a loan or not, based on features like income, credit score and past records. Which of the following machine learning techniques is applicable for this scenario?
  1. Regression
  2. Classification
  3. Clustering
  4. Dimensionality Reduction
Q2MCQ3 marks
question figure
  1. question figure
  2. question figure
  3. question figure
  4. question figure
Q3MSQ2 marksselect all that apply
question figure
  1. question figure
  2. question figure
  3. question figure
  4. question figure
Q4SA3 marks
question figure
Q5SA3 marks
question figure
Q6SA2 marks
question figure
Comprehension passage - the questions below it refer to this
Based on the above data, answer the given subquestions. question figure
Q7MCQ3 marks
Which of these models has the smallest squared loss on this training dataset?
  1. question figure
  2. question figure
  3. question figure
  4. question figure
Q8MCQ2 marks
question figure
  1. No
  2. Yes
  3. Insufficient information to answer the question
Comprehension passage - the questions below it refer to this
Based on the above data, answer the given subquestions. question figure
Q9MCQ3 marks
Which of the following sets forms a basis for the row space of A?
  1. {(1, 0, 2), (0, 1,−1)}
  2. {(1, 0, 2), (0, 1,−1), (0, 0,−1)}
  3. {(1, 0, 2), (0,−1, 1), (0,−1,−4)}
  4. {(0, 1,−1), (0, 0,−4)}
Q10MCQ2 marks
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
Q11MSQ2 marksselect all that apply
Which of the following is/are true?
  1. A is an orthogonal matrix
  2. A is invertible
  3. A is symmetric
Q12MCQ3 marks
Which of the following is true?
  1. A does not have real eigenvalues
  2. A has two distinct real eigenvalues
  3. A has two real eigenvalues, not necessarily distinct
Comprehension passage - the questions below it refer to this
There is no common data for this question. There are three independent sub-questions for which you have to answer True/False.
Q13MCQ2 marks
If a square matrix A is diagonalizable, then A is invertible.
  1. True
  2. False
Q14MCQ1 mark
The eigenvalues of a real symmetric matrix are real.
  1. True
  2. False
Q15MCQ2 marks
A square matrix A of shape n x n is diagonalizable if and only if it has n distinct eigenvalues.
  1. True
  2. False
Comprehension passage - the questions below it refer to this
Based on the above data, answer the given subquestions. question figure
Q16MCQ2 marks
question figure
  1. question figure
  2. question figure
  3. question figure
  4. question figure
Q17SA2 marks
question figure
Q18MCQ2 marks
question figure
  1. (A)
  2. (B)

Answer key

  1. Q1 (MCQ, 1 marks): B
  2. Q2 (MCQ, 3 marks): A
  3. Q3 (MSQ, 2 marks): B, C, D
  4. Q4 (SA, 3 marks): 72
  5. Q5 (SA, 3 marks): 1024
  6. Q6 (SA, 2 marks): 0
  7. Q7 (MCQ, 3 marks): A
  8. Q8 (MCQ, 2 marks): A
  9. Q9 (MCQ, 3 marks): B
  10. Q10 (MCQ, 2 marks): C
  11. Q11 (MSQ, 2 marks): A, B
  12. Q12 (MCQ, 3 marks): A
  13. Q13 (MCQ, 2 marks): B
  14. Q14 (MCQ, 1 marks): A
  15. Q15 (MCQ, 2 marks): B
  16. Q16 (MCQ, 2 marks): A
  17. Q17 (SA, 2 marks): 1
  18. Q18 (MCQ, 2 marks): A

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


1. Core Topics & Concepts

A. Machine Learning Basics

  1. Supervised Learning:

    • Classification (e.g., loan approval: Yes/No).
    • Regression (e.g., predicting continuous values).
    • Key Algorithms:

      • Linear Regression (Least Squares).
      • Polynomial Regression (e.g., quadratic model: y=θ0+θ1x+θ2x2y = \theta_0 + \theta_1 x + \theta_2 x^2).
    • Loss Functions:

      • Squared Loss: L=∑(yi−y^i)2L = \sum (y_i - \hat{y}_i)^2.
      • Reconstruction Loss (Autoencoders): Mean squared distance between input and reconstructed input.
  1. Unsupervised Learning:

    • Clustering (grouping similar data points).
    • Dimensionality Reduction (e.g., PCA, Autoencoders).
  1. Model Evaluation:

    • Overfitting/Underfitting: Check if a linear model can achieve zero loss (e.g., Q9: No, because points are not colinear).

B. Linear Algebra

  1. Vectors:

    • Orthogonality: Two vectors v1v_1 and v2v_2 are orthogonal if v1⋅v2=0v_1 \cdot v_2 = 0.
    • Linear Dependence/Independence:

      • Vectors are linearly dependent if one is a scalar multiple of the other.
      • Basis: A set of linearly independent vectors spanning a space (e.g., row space of a matrix).
    • Projection: Projection of v1v_1 onto v2v_2: projv2v1=(v1⋅v2v2⋅v2)v2\text{proj}_{v_2} v_1 = \left( \frac{v_1 \cdot v_2}{v_2 \cdot v_2} \right) v_2.
  1. Matrices:

    • Eigenvalues/Eigenvectors:

      • Av=λvA v = \lambda v.
      • If the sum of columns of AA is the zero vector, λ=0\lambda = 0 is an eigenvalue.
      • Diagonalizable Matrices: A matrix is diagonalizable if it has nn linearly independent eigenvectors (not necessarily distinct eigenvalues).
      • Real Symmetric Matrices: Always have real eigenvalues.
    • Orthogonal Matrices:

      • ATA=IA^T A = I.
      • Example: Rotation matrix A=[cos⁡θ−sin⁡θsin⁡θcos⁡θ]A = \begin{bmatrix} \cos \theta & -\sin \theta \\ \sin \theta & \cos \theta \end{bmatrix}.
      • Properties:

        • Preserves vector lengths (∥Av∥=∥v∥\|A v\| = \|v\|).
        • Eigenvalues: eiθe^{i\theta} and e−iθe^{-i\theta} (complex if θ≠0,π\theta \neq 0, \pi).
    • Determinant:

      • For a matrix where every non-zero vector is an eigenvector with eigenvalue λ\lambda, A=λIA = \lambda I, so det⁡(A)=λn\det(A) = \lambda^n.
      • Example: 10×1010 \times 10 matrix with eigenvalue 22 for all vectors → det⁡(A)=210=1024\det(A) = 2^{10} = 1024.
  1. Systems of Equations:

    • Row Space: Spanned by the rows of AA.
    • Linear Relations: e.g., R2=2R1+R3R_2 = 2R_1 + R_3.

C. Calculus & Optimization

  1. Linear Approximation:

    • For f(x1,x2)=ex1+x2f(x_1, x_2) = e^{x_1} + x_2, the linear approximation at (0,0)(0,0) is:
L(0,0)[f](x)=f(0,0)+∇f(0,0)⋅x=1+x1+x2.L_{(0,0)}[f](x) = f(0,0) + \nabla f(0,0) \cdot x = 1 + x_1 + x_2.
  1. Contour Plots:

    • For f(x1,x2)=ex1+x2f(x_1, x_2) = e^{x_1} + x_2, contours are horizontal shifts of the exponential function.

D. Key Equations

TopicEquation
Quadratic Regressiony=θ0+θ1x+θ2x2y = \theta_0 + \theta_1 x + \theta_2 x^2
Least Squaresθ=(XTX)−1XTy\theta = (X^T X)^{-1} X^T y
Reconstruction Loss1n∑i=1n∥xi−g(f(xi))∥2\frac{1}{n} \sum_{i=1}^n \|x_i - g(f(x_i))\|^2
Dot Productv1⋅v2=∑v1iv2iv_1 \cdot v_2 = \sum v_{1i} v_{2i}
Eigenvalue EquationAv=λvA v = \lambda v
Linear ApproximationLa[f](x)=f(a)+∇f(a)⋅(x−a)L_a[f](x) = f(a) + \nabla f(a) \cdot (x - a)
Plane EquationwTx+b=0w^T x + b = 0 (where w=∇fw = \nabla f, b=−f(a)b = -f(a))
Rotation MatrixA=[cos⁡θ−sin⁡θsin⁡θcos⁡θ]A = \begin{bmatrix} \cos \theta & -\sin \theta \\ \sin \theta & \cos \theta \end{bmatrix}

Graph 2: Linear Algebra Concepts

Graph 3: Calculus & Optimization

Graph 4: Relationships Between Topics


3. Exam Preparation Tips

  1. Focus Areas:

    • Polynomial Regression: Know how to fit a quadratic model using least squares.
    • Eigenvalues/Vectors: Understand conditions for diagonalizability, real symmetric matrices, and determinants.
    • Linear Approximation: Compute gradients and plane equations.
    • Orthogonality: Check dot products and projections.
    • Basis/Row Space: Find bases for row spaces and linear relations between rows.
  1. Practice Problems:

    • Solve for θ\theta in y=θ0+θ1x+θ2x2y = \theta_0 + \theta_1 x + \theta_2 x^2 using least squares.
    • Compute eigenvalues for simple matrices (e.g., rotation matrices).
    • Derive linear approximations for multivariate functions.
    • Verify orthogonality and linear independence of vectors.
  1. Common Pitfalls:

    • Confusing classification (discrete output) with regression (continuous output).
    • Misapplying eigenvalue conditions (e.g., assuming all matrices with repeated eigenvalues are diagonalizable).
    • Incorrectly computing projections or dot products.