Home / Past papers / MLT End Term / this paper





















Consider a supervised ML problem where a model is trained using a training dataset, and its performance is evaluated on both the training and validation datasets. During training, the model’s loss is plotted over time for both the datasets. Assume that the loss L(t) is decreasing as the model learns.
The following graph shows two curves, Curve (A) and Curve (B), representing the loss for the training and validation datasets, respectively:













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 the core topics, concepts, principles, and equations essential for the exam, followed by Mermaid knowledge graphs to visualize relationships.
Steps:
Variance along PC1:
Reconstruction Error:
Uniform Prior:
Threshold Adjustment:
Trade-off:
Steps:
Algorithm Steps:
Initialize → Assign → Recompute → Reassign (Option D: 5→3→1→4→2 is incorrect; correct is 1→2→3→4→5).For s.t. , .
Example:
For Linear Regression:
Example:
.
For , :
Key Concepts:
Soft-Margin SVM:
Impact of Removing Non-Support Vectors:
Weight Update:
Weak Learners:
| Model Type | Bias | Variance | Error Behavior |
|---|---|---|---|
| Underfitted | High | Low | Poor train/test performance |
| Overfitted | Low | High | Good train, poor test |
| Well-generalized | Balanced | Balanced | Good train/test |
Example:
Validation Loss:
| Technique | Parallel? | Base Learners | Focus |
|---|---|---|---|
| Bagging | Yes | High variance (e.g., deep trees) | Reduce variance |
| Boosting | No | Weak learners | Reduce bias |
| Topic | Equation |
|---|---|
| PCA Variance | |
| MAP Estimation | |
| Logistic Regression | , |
| LOOCV Error | |
| Gradient Descent | |
| Perceptron Update | |
| SVM Slack Variable | |
| Naive Bayes |