Machine Learning & Deep Learning
Ridge/Lasso, Logistic Regression, Hard/Soft Margin SVM & Kernels, Decision Trees, XGBoost, PCA, K-Means/DBSCAN & Neural Nets.
Published Study Notes & Chapters (4)
Machine Learning: Bias-Variance, L1/L2 Regularization & Confusion Matrix Metrics
Expected test MSE decomposition, why L1 Lasso induces sparsity while L2 Ridge shrinks smoothly, Precision/Recall/F1 & PCA.
Support Vector Machines (SVM): Margin Duality, KKT Conditions & Kernel Trick
Geometric margin 2/||w|| derivation, Soft-Margin slack variables & hinge loss, Lagrangian dual formulation, KKT complementary slackness, and Mercer RBF/Polynomial kernels.
Decision Trees (Entropy vs Gini), Random Forests & Gradient Boosting (XGBoost)
Shannon Entropy, Information Gain, Gain Ratio (C4.5), CART Gini Impurity, Bagging out-of-bag variance formula, AdaBoost sample reweighting, and XGBoost second-order Newton boosting.
PCA Eigen-Directions, K-Means/DBSCAN Clustering & Neural Net Backpropagation
Covariance matrix eigenvectors & proportion of variance explained in PCA, K-Means Lloyd objective vs DBSCAN density reachability, MLP Softmax Cross-Entropy gradient, and CNN output shapes.
Solved Machine Learning & Deep Learning PYQs & Practice Questions
Launch Timed Mock (9 Qs)Which of the following statements regarding Regularization and Ensemble Learning are TRUE?
In a binary classification task, a model achieves and . What is the -score of the classifier (rounded to two decimal places)?
In a trained Soft-Margin SVM, suppose a training point has dual Lagrange multiplier . If is removed from the training set and the SVM is retrained, what happens to the optimal decision boundary?
A hard-margin linear SVM in learns the decision hyperplane with canonical margin boundaries . What is the total geometric margin between the two class support hyperplanes?
In an AdaBoost iteration, a weak classifier achieves weighted classification error . What classifier weight is assigned to ?
A Decision Tree node contains positive and negative examples. Splitting on binary attribute produces left child () and right child (). What is the Gini Impurity reduction () achieved by attribute ?
Which clustering algorithm can discover non-convex concentric ring clusters AND explicitly identify isolated noise / outlier points without pre-specifying the number of clusters ?
A 2D Convolutional layer takes an input volume of size and applies filters of spatial size with stride , padding , and one bias parameter per filter. What is the output shape and total trainable parameter count?