IIT M FOUNDATION AN EXAM QDF4 31 Aug - 31 Aug 2025
MLT End Term17 questions50 marks7 MCQ · 6 SA · 4 MSQFoundation / afternoon / QDF4
Elapsed 00:00
Q1MCQ3 marks
Yes
No
Q2MCQ3 marks
Q3MCQ2 marks
Q4MCQ2 marks
Greedy initialization always achieves F = Foptimal by maximizing the distancebetween initial centers.
Greedy initialization may achieve F = Foptimal or a larger value depending onthe dataset and the initial choice.
Greedy initialization does not ensure convergence for K-means clustering.
Greedy initialization ensures convergence to a unique solution for any dataset.
Q5MCQ4 marks
Q6MSQ3 marksselect all that apply
Which of the following statements are true about the decision tree algorithm?
Decision trees are prone to overfitting if the maximum depth is set tooshallow.
Decision trees are not affected by the order of features in the dataset.
Decision trees are sensitive to small perturbations in the dataset and canresult in different tree structures.
Decision trees can handle both numerical and categorical features.
Q7MSQ3 marksselect all that apply
Q8MSQ3 marksselect all that apply
Q9MSQ4 marksselect all that apply
Given a two-dimensional data set where points from class 1 are: {(−2, 3), (−1, 1)} and points from class 0 are: {(1, 3), (1, 4)}. Which of the following statements are true?
The given data points from classes 1 and 0 can be linearly separated using ahard-margin SVM.
A perceptron model and a hard-margin SVM can give different decisionboundary for this dataset.
A soft-margin SVM would be a more robust choice than a hard-margin SVM forthis dataset as the dataset is not linearly separable.
The width of the separation between the two supporting hyperplanes is 4.
Q10SA3 marks
Q11SA3 marks
Q12SA3 marks
Q13SA4 marks
Comprehension passage - the questions below it refer to this
Based on the above data, answer the given subquestions.
Q14MCQ4 marks
Q15MCQ2 marks
The coefficients shrinks towards zero.
The coefficients increases in magnitude.
The coefficients remain unchanged.
Comprehension passage - the questions below it refer to this
Based on the above data, answer the given subquestions.
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 Techniques exam, along with Mermaid knowledge graphs to visualize relationships.
Core Topics & Key Concepts
1. Perceptron Algorithm
Concept: Linear classifier for binary classification. Updates weights iteratively if misclassification occurs.
Key Equations:
Update rule: w←w+η⋅yixi (if yi(wTxi)≤0)
Decision boundary: wTx=0
Convergence: Guaranteed if data is linearly separable (Novikoff’s theorem).
Mistake Bound: Depends on margin and radius of data.
2. Kernel Methods & Feature Transformations
Concept: Non-linear mapping of input features to higher-dimensional space using kernel functions.
Key Equations:
Kernel trick: K(xi,xj)=ϕ(xi)Tϕ(xj)
Example (Q3): k(x,y)=1+x1y1+x2y2+x12y12x2y2+x1y1x22y22
Transformation ϕ: Must satisfy k(x,y)=ϕ(x)Tϕ(y).
Common Kernels: Linear, polynomial, RBF.
3. Support Vector Machines (SVM)
Hard-Margin SVM:
Objective: Maximize margin ∣∣w∣∣2.
Constraints: yi(wTxi+b)≥1.
Support Vectors: Points lying on the margin.
Soft-Margin SVM:
Objective: min21∣∣w∣∣2+C∑ϵi.
Constraints: yi(wTxi+b)≥1−ϵi, ϵi≥0.
Role of C:
C→0: Ignores misclassifications (no support vectors).
C→∞: Hard-margin behavior (all points are support vectors if separable).
4. K-Means Clustering
Concept: Partitions data into K clusters by minimizing within-cluster variance.
Objective Function: F=∑i=1n∣∣xi−μzi∣∣2
Initialization:
Random: Pick K points randomly.
Greedy (K-Means++): First center random, next centers maximize distance.
Convergence: Guaranteed to local optimum (not necessarily global).
With smoothing: 7 parameters (since one probability is determined by others).
12. Covariance & PCA
Covariance Matrix: C=n1∑(xi−μ)(xi−μ)T.
Eigenvalues: Represent variance along principal components.
Total Variance: Sum of eigenvalues =tr(C).
Graph 2: Unsupervised Learning Relationships
Graph 3: Probabilistic Models
Graph 4: Regularization & Optimization
Key Equations Summary
Topic
Equation
Perceptron Update
w←w+ηyixi (if misclassified)
SVM Hard Margin
min21∣∣w∣∣2 s.t. yi(wTxi+b)≥1
SVM Soft Margin
min21∣∣w∣∣2+C∑ϵi
Kernel Trick
K(xi,xj)=ϕ(xi)Tϕ(xj)
Logistic Regression
P(y=1)=1+e−wTx1
K-Means Objective
F=∑∣∣xi−μzi∣∣2
Ridge Regression
w^=(XTX+λI)−1XTY
Naive Bayes
P(y∣x)∝P(y)∏P(xi∣y)
MAP Estimation
λ^MAP=argmaxλf(λ∣X)
Covariance Matrix
C=n1∑(xi−μ)(xi−μ)T
This summary covers all questions in the exam, emphasizing equations, concepts, and relationships. The Mermaid graphs provide a visual hierarchy of topics. Focus on derivations (e.g., SVM constraints, kernel transformations) and practical implications (e.g., effect of C in SVM, λ in Ridge).