ML Study Hub

Home / Past papers / MLF Quiz 1 / this paper

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

MLF Quiz 118 questions40 marks12 MCQ · 4 SA · 2 MSQImprovement / afternoon / QIB4
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 Fundamentals

  1. Supervised Learning

    • Classification (e.g., loan approval based on features like income, credit score).

      • Algorithms: Logistic Regression, Decision Trees, SVM.
      • Loss functions: Cross-entropy, Hinge loss.
    • Regression (e.g., polynomial regression for quadratic models).

      • Algorithms: Linear Regression, Polynomial Regression, Ridge/Lasso.
      • Loss functions: Mean Squared Error (MSE).

        • Equation:
MSE=1n∑i=1n(yi−y^i)2\text{MSE} = \frac{1}{n} \sum_{i=1}^n (y_i - \hat{y}_i)^2
θ=(XTX)−1XTy\theta = (X^T X)^{-1} X^T y
  1. Unsupervised Learning

    • Clustering (e.g., K-Means, Hierarchical Clustering).
    • Dimensionality Reduction (e.g., PCA, Autoencoders).

      • Autoencoder loss (reconstruction loss):
Loss=1n∑i=1n∥xi−g(f(xi))∥2\text{Loss} = \frac{1}{n} \sum_{i=1}^n \|x_i - g(f(x_i))\|^2

where ff = encoder, gg = decoder.

  1. Key Distinctions:

    • Classification vs. Regression vs. Clustering vs. Dimensionality Reduction.

B. Linear Algebra

  1. Vectors

    • Orthogonality: Two vectors v1v_1 and v2v_2 are orthogonal if v1Tv2=0v_1^T v_2 = 0.
    • Linear Independence: Vectors are linearly independent if no vector can be written as a linear combination of others.
    • 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, where λ\lambda = eigenvalue, vv = eigenvector.
      • Properties:

        • Sum of columns = zero vector ⇒ λ=0\lambda = 0 is an eigenvalue.
        • Real symmetric matrices have real eigenvalues.
        • Orthogonal matrices: ATA=IA^T A = I (eigenvalues have magnitude 1).
      • Diagonalizability:

        • A matrix is diagonalizable if it has nn linearly independent eigenvectors (not necessarily distinct eigenvalues).
    • Determinant:

      • det⁡(A)\det(A) for a matrix where all non-zero vectors are eigenvectors with eigenvalue λ\lambda: det⁡(A)=λn\det(A) = \lambda^n.
    • Row Space/Basis:

      • Row space of AA: Span of its rows.
      • Basis: Linearly independent rows that span the row space.
    • Linear Relations:

      • Example: R2=2R1+R3R_2 = 2R_1 + R_3 (from matrix rows).
  1. Special Matrices

    • 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}

C. Calculus & Optimization

  1. Linear Approximation

    • For f:R2→Rf: \mathbb{R}^2 \rightarrow \mathbb{R}, the linear approximation at (a,b)(a, b):
L(a,b)[f](x)=f(a,b)+∂f∂x1(a,b)(x1−a)+∂f∂x2(a,b)(x2−b)L_{(a,b)}[f](x) = f(a,b) + \frac{\partial f}{\partial x_1}(a,b)(x_1 - a) + \frac{\partial f}{\partial x_2}(a,b)(x_2 - b)
L(0,0)[f](x)=1+x1+x2L_{(0,0)}[f](x) = 1 + x_1 + x_2
  1. Gradient Descent

    • Update rule for regression:
θj:=θj−α∂∂θjMSE\theta_{j} := \theta_{j} - \alpha \frac{\partial}{\partial \theta_j} \text{MSE}

D. Geometry

  1. Contour Plots

    • Visualizing level sets of f(x1,x2)f(x_1, x_2).
    • Example: Contours of f(x1,x2)=ex1+x2f(x_1, x_2) = e^{x_1} + x_2 are horizontal shifts of exponential curves.


2. Key Equations

TopicEquation
Polynomial 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
MSE LossMSE=1n∑(yi−y^i)2\text{MSE} = \frac{1}{n} \sum (y_i - \hat{y}_i)^2
Reconstruction Loss1n∑∥xi−g(f(xi))∥2\frac{1}{n} \sum \|x_i - g(f(x_i))\|^2
Eigenvalue EquationAv=λvA v = \lambda v
Projectionprojv2v1=(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
Linear ApproximationL(a,b)[f](x)=f(a,b)+∇f(a,b)⋅(x−[a,b])L_{(a,b)}[f](x) = f(a,b) + \nabla f(a,b) \cdot (x - [a,b])
Rotation Matrix[cos⁡θ−sin⁡θsin⁡θcos⁡θ]\begin{bmatrix} \cos \theta & -\sin \theta \\ \sin \theta & \cos \theta \end{bmatrix}
Determinant of AAdet⁡(A)=λ1λ2…λn\det(A) = \lambda_1 \lambda_2 \dots \lambda_n (if all vectors are eigenvectors with eigenvalue λ\lambda)


Graph 2: Linear Algebra Concepts

Graph 3: Calculus & Optimization

Graph 4: Relationships Between Topics



4. Exam-Specific Tips

  1. Polynomial Regression:

    • For y=θ0+θ1x+θ2x2y = \theta_0 + \theta_1 x + \theta_2 x^2, construct the design matrix XX with columns [1,x,x2][1, x, x^2] and solve θ=(XTX)−1XTy\theta = (X^T X)^{-1} X^T y.
  1. Eigenvalues/Eigenvectors:

    • If all non-zero vectors are eigenvectors with eigenvalue λ\lambda, the matrix is A=λIA = \lambda I, so det⁡(A)=λn\det(A) = \lambda^n.
  1. Linear Approximation:

    • For f(x1,x2)=ex1+x2f(x_1, x_2) = e^{x_1} + x_2, compute gradients at (0,0)(0,0):
∇f=[ex1,1]⇒∇f(0,0)=[1,1]\nabla f = [e^{x_1}, 1] \Rightarrow \nabla f(0,0) = [1, 1]

So, L(0,0)[f](x)=f(0,0)+∇f⋅x=1+x1+x2L_{(0,0)}[f](x) = f(0,0) + \nabla f \cdot x = 1 + x_1 + x_2.

  1. Reconstruction Loss:

    • Encode each data point, decode it, and compute the mean squared distance from the original.
  1. Orthogonal Matrices:

    • Rotation matrices are orthogonal and have eigenvalues eiθe^{i\theta}, which are complex unless θ=0\theta = 0 or π\pi.
  1. Basis for Row Space:

    • Perform row reduction (Gaussian elimination) to find linearly independent rows.