Home / Past papers / MLT End Term / this paper
For a given dataset, a 1-Nearest Neighbor (1-NN) and a 3-Nearest Neighbor (3-NN) classifier are applied. Which classifier is likely to exhibit a higher Leave-One-Out Cross Validation (LOOCV) error? In case of tie-breaker, assign a positive class (+) to the data point.



































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.
k-Nearest Neighbors (k-NN)
+) in ties.Linear Regression
Effect of λ:
θ) to λ values (Q3).Logistic Regression & SVM
C (Regularization):
AdaBoost
Weight Update Rule:
Naïve Bayes
Parameter Count:
(2 * #Gaussian_features + 1 * #Bernoulli_features) * #classes + (#classes - 1).K-Means (Lloyd’s Algorithm)
PCA vs. Kernel PCA
Bagging (Bootstrap Aggregating)
Boosting (AdaBoost)
Lasso (L1 Regularization)
Effect of λ:
Maximum Likelihood Estimation (MLE)
Single-Layer Perceptron
Kernel SVM with Polynomial Kernel
Decision Trees
Support Vectors
| Topic | Equation |
|---|---|
| Linear Regression | |
| Ridge Regression | |
| Lasso Regression | |
| Soft-Margin SVM | |
| PCA | (eigenvectors of ) |
| Kernel PCA | (kernel matrix ) |
| AdaBoost Weight Update | |
| MLE (Uniform) | |
| Naïve Bayes | |
| Perceptron Update | (if misclassified) |
| Sigmoid Activation |
k → smoother decision boundaries (lower LOOCV error).C=0 → hard margin; C→∞ → overfits.