Home / Past papers / MLT Quiz 1 / this paper
IIT M FOUNDATION AN3 EXAM QPF3 16 JULY 2023 - 16 Jul 2023 MLT Quiz 1 11 questions46 marks5 MSQ · 4 SA · 2 MCQ Foundation / QPF3
Elapsed 00:00 Check answers Reset Show answer key
Q3 MSQ 4 marks select all that apply Select all true statements regarding standard PCA applied on a centered dataset.
The variance of the dataset along the first principal component is maximum. The variance of the dataset along the first principal component is minimum. The first principal component is the unit norm eigenvector corresponding tothe largest eigenvalue of the covariance matrix. The first principal component is the unit norm eigenvector corresponding tothe smallest eigenvalue of the covariance matrix.
Q4 MSQ 4 marks select all that apply The covariance matrix corresponding to this dataset has 30 non-zeroeigenvalues. The covariance matrix corresponding to this dataset has only four non-zeroeigenvalues. The residues will become zero after four rounds By utilizing four principal component vectors and their correspondingcoefficients, we have the ability to reconstruct the complete dataset using representatives.
Answer key Q1 (MCQ, 4 marks): CQ2 (MCQ, 4 marks): CQ3 (MSQ, 4 marks): A, CQ4 (MSQ, 4 marks): B, C, DQ5 (MSQ, 5 marks): B, CQ6 (MSQ, 5 marks): A, B, DQ7 (MSQ, 3.5 marks): A, CQ8 (SA, 4 marks): 60Q9 (SA, 4 marks): 70Q10 (SA, 4 marks): 40Q11 (SA, 4.5 marks): 0.15 to 0.35Concepts this paper tests Auto-generated summary from the source site. Handy as a checklist; the lessons above explain each idea from scratch.
Summary of Core Topics, Concepts, Principles, and Equations
Kernel Functions : Functions that compute the dot product of the transformed input data in a higher-dimensional space.Transformation Mapping (ϕ \phi ϕ ) : A function that maps input data into a higher-dimensional space.Key Equation :
k ( [ x 1 , x 2 ] T , [ y 1 , y 2 ] T ) = 1 + x 1 y 1 + x 2 y 2 + x 1 2 y 1 2 x 2 y 2 + x 1 y 1 x 2 2 y 2 2 k([x_1, x_2]^T, [y_1, y_2]^T) = 1 + x_1 y_1 + x_2 y_2 + x_1^2 y_1^2 x_2 y_2 + x_1 y_1 x_2^2 y_2^2 k ([ x 1 , x 2 ] T , [ y 1 , y 2 ] T ) = 1 + x 1 y 1 + x 2 y 2 + x 1 2 y 1 2 x 2 y 2 + x 1 y 1 x 2 2 y 2 2
Transformation Mapping for the Given Kernel :
ϕ ( [ x 1 , x 2 ] T ) = [ 1 , x 1 , x 2 , x 1 2 x 2 , x 1 x 2 2 ] \phi([x_1, x_2]^T) = [1, x_1, x_2, x_1^2 x_2, x_1 x_2^2] ϕ ([ x 1 , x 2 ] T ) = [ 1 , x 1 , x 2 , x 1 2 x 2 , x 1 x 2 2 ]
2. K-means Clustering
Algorithm : Iterative algorithm that partitions data into k k k clusters.Euclidean Distance : Distance metric used to calculate the distance between points.Centroids : Mean of the points in a cluster.Key Steps :
Initialize centroids. Assign each data point to the nearest centroid. Recalculate the centroids. Repeat until convergence.
3. Principal Component Analysis (PCA)
PCA : Technique to reduce the dimensionality of a dataset while preserving its variance.Covariance Matrix : Matrix used to find the principal components.Eigenvalues and Eigenvectors : Used to determine the principal components.Key Concepts :
The first principal component has the largest eigenvalue. The variance along the first principal component is maximum. Key Equations :
Covariance Matrix = 1 n − 1 X T X \text{Covariance Matrix} = \frac{1}{n-1} X^T X Covariance Matrix = n − 1 1 X T X
Principal Components = Eigenvectors of the Covariance Matrix \text{Principal Components} = \text{Eigenvectors of the Covariance Matrix} Principal Components = Eigenvectors of the Covariance Matrix
4. Kernel PCA
Kernel PCA : Extension of PCA using kernel functions to handle non-linear data.Key Concepts :
The number of principal components cannot be more than the dimensionality of the dataset. Valid kernel functions can be combined to form new kernel functions. Key Equations :
k ( x 1 , x 2 ) = ( x 1 T x 2 ) 3 k(x_1, x_2) = (x_1^T x_2)^3 k ( x 1 , x 2 ) = ( x 1 T x 2 ) 3
a k 1 + b k 2 is a valid kernel function for a , b > 0 ak_1 + bk_2 \text{ is a valid kernel function for } a, b > 0 a k 1 + b k 2 is a valid kernel function for a , b > 0
5. Lloyd's Algorithm (K-means)
Convergence : Algorithm terminates when centroids do not change.Key Concepts :
Initial centroids can affect the final clusters. The algorithm may not converge to the global optimum.
6. Bernoulli Distribution and Maximum Likelihood Estimate (MLE)
Bernoulli Distribution : Probability distribution for binary outcomes.MLE : Method to estimate the parameters of a statistical model.Key Equations :
p = Number of successes Total number of trials p = \frac{\text{Number of successes}}{\text{Total number of trials}} p = Total number of trials Number of successes
MLE for p = 0.3 implies 70 zeros in a dataset of 100 points \text{MLE for } p = 0.3 \text{ implies } 70 \text{ zeros in a dataset of } 100 \text{ points} MLE for p = 0.3 implies 70 zeros in a dataset of 100 points
7. Beta Distribution and Bayesian Inference
Beta Distribution : Probability distribution for the parameter p p p of a Bernoulli distribution.Prior and Posterior Distributions : Used in Bayesian inference to update the probability of a hypothesis.Key Equations :
Prior: Beta ( 10 , 5 ) \text{Prior: } \text{Beta}(10, 5) Prior: Beta ( 10 , 5 )
Posterior: Beta ( 30 , 45 ) \text{Posterior: } \text{Beta}(30, 45) Posterior: Beta ( 30 , 45 )
Number of zeros = 40 in a dataset of 60 points \text{Number of zeros} = 40 \text{ in a dataset of } 60 \text{ points} Number of zeros = 40 in a dataset of 60 points
8. Gaussian Mixture Models (GMM)
GMM : Probabilistic model that assumes data is generated from a mixture of Gaussian distributions.Key Concepts :
Each component has a mean (μ \mu μ ) and variance (σ 2 \sigma^2 σ 2 ). The probability of a point belonging to a component is given by the mixture weights (π \pi π ). Key Equations :
P ( x ∣ Component i ) = N ( x ∣ μ i , σ i 2 ) P(x \mid \text{Component } i) = \mathcal{N}(x \mid \mu_i, \sigma_i^2) P ( x ∣ Component i ) = N ( x ∣ μ i , σ i 2 )
P ( Component i ) = π i P(\text{Component } i) = \pi_i P ( Component i ) = π i
P ( x ) = ∑ i = 1 k π i N ( x ∣ μ i , σ i 2 ) P(x) = \sum_{i=1}^{k} \pi_i \mathcal{N}(x \mid \mu_i, \sigma_i^2) P ( x ) = i = 1 ∑ k π i N ( x ∣ μ i , σ i 2 )