In LASSO, a higher value of the regularization parameter λ leads to more sparse weights.
TRUE
FALSE
Q4MCQ5 marks
Consider a decision stump. The information gain for the question at the parent is zero. If the entropy of the left-child is equal to the entropy of the parent, what is the entropy of the right child? Assume that each child has at least one data-point in it and that the entropy of the parent is non-zero.
The entropy of the right-child is equal to half the entropy of the left-child.
The entropy of the right-child is equal to twice the entropy of the left-child.
The entropy of the right-child is equal to the entropy of the parent.
The entropy of the right-child is the sum of the entropies of the parent and theleft-child.
Q5MCQ5 marks
Yes, it will certainly converge to a weight vector.
No, it will never converge.
Q6MCQ5 marks
w shown in this diagram is the optimal weight vector for a hard-margin, linear-SVM
w shown in this diagram is not the optimal weight vector for a hard-margin,linear-SVM
Q7MCQ5 marks
Q8MCQ5 marks
Q9MSQ5 marksselect all that apply
Q10MSQ5 marksselect all that apply
Q11MSQ5 marksselect all that apply
Q12MSQ5 marksselect all that apply
(1) is the loss on the validation dataset
(2) is the loss on the training dataset
(1) is the loss on the training dataset
(2) is the loss on the validation dataset
Q13MSQ3 marksselect all that apply
Q14MSQ3 marksselect all that apply
Choose the correct statements.
If the performance of each estimator in the bagging algorithm is almostidentical, the benefit of using bagging to combine them may be minimal or insignificant.
Weak learners have low bias and high variance.
In random forests, multiple decision trees (estimators) are trainedsimultaneously, allowing for parallel processing and faster model training.
In the random forest algorithm, multiple decision trees are trained on thesame dataset to create an ensemble model.
Q15SA5 marks
Q16SA5 marks
Q17SA5 marks
Q18SA5 marks
Comprehension passage - the questions below it refer to this
Based on the above data, answer the given subquestions.
Q19SA1 mark
Q20MCQ2 marks
2.9
2.2
(1.8,1.6)
(2.9,1.5)
Q21MCQ2 marks
2.9
1.8
(1.8,1.6)
(2.9,1.5)
Comprehension passage - the questions below it refer to this
Based on the above data, answer the given subquestions.
Q22SA3 marks
What will be the misclassification error incurred by the first decision stump?
Q23MSQ3 marksselect all that apply
To train the second decision stump, which pair of points will be assigned equal weights to create the training dataset?
Q24SA3 marks
What weight will be assigned to the point [1, 1]T when training the second decision stump, assuming the weights are not normalized to add up to one? Please enter your answer rounded to two decimal places.
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.
Core Topics & Concepts
1. Kernel Methods & Feature Transformations
Kernel Trick: Maps data to higher dimensions implicitly (e.g., polynomial kernels).
Kernel Function: k(x,y)=ϕ(x)Tϕ(y) Example (Q2): k([x1,x2],[y1,y2])=1+x1y1+x12y12+x22y22Corresponding Feature Map (Q2): ϕ([x1,x2])=[1,x1,x12,x22]
2. Bayesian Estimation
Prior/Posterior Distributions:
Prior: p(θ) (e.g., Beta distribution for Bernoulli data).
Variance Explained (Q16): Total variance=∑λi. Variance of first k PCs=∑i=1kλi. Given λ5,λ4,λ3,λ2,λ,1 and top-3 variance = 88.88%: λ5+λ4+λ3+λ2+λ+1λ5+λ4+λ3=0.8888. Solve for λ≈2.
11. K-Means Clustering
Algorithm:
Initialize centroids μ1,μ2,…,μK.
Assign points to nearest centroid (Euclidean distance).
Recompute centroids as mean of assigned points.
Repeat until convergence.
Key Insight (Q17): Final centroids may coincide with initial centroids if points are symmetrically distributed.
12. Logistic Regression
Sigmoid Function: σ(wTx)=1+e−wTx1.
Prediction Error (Q18): ∣σi−yi∣: Absolute difference between predicted probability and true label.
Geometric Interpretation: Points farther from the decision boundary have σ closer to 0 or 1.
13. Neural Networks
Weight Calculation (Q19): For a fully connected network with layers L1,L2,…,Ln, total weights: ∑i=1n−1dim(Li)×dim(Li+1). Example: 5→30→10→1: 5×30+30×10+10×1=460.
14. Gaussian Naive Bayes
Assumptions:
Features are conditionally independent given the class.