Skip to content
E
Educatum

Educatum · Your AI University · Free & Open

Master AI & LLM Engineering Interviews From First Principles.

196 technical study guides with math derivations, system diagrams, and Python code—paired with 30 behavioral frameworks, 471 ML engineering blogs, and structured university courses.

SPECIMEN
Classic ML · Easy · Loss Functions

When should you choose L1 (MAE) vs. L2 (MSE) loss?

L1=1n∑i=1n∣yi−y^i∣,L2=1n∑i=1n(yi−y^i)2\mathcal{L}_1 = \frac{1}{n}\sum_{i=1}^{n}\lvert y_i - \hat{y}_i \rvert, \quad \mathcal{L}_2 = \frac{1}{n}\sum_{i=1}^{n}(y_i - \hat{y}_i)^2
L1 (MAE) · |e|Slope ±1 · Outlier robust · MedianL2 (MSE) · e²Smooth 2e grad · Outlier sensitive
Insight:
L1 penalizes errors linearly with constant ±1 gradients (predicts median); L2 squares errors for smooth gradients (predicts mean).
Trade-off:
L1 resists outliers but has a corner at 0; L2 converges smoothly but outliers pull the fit.

01 · Interview Syllabus

Every Round of the AI & ML Loop

All Interview Prep →

03 · Systems & Career

Production Engineering Blogs & Career Indexes

All resources →

Try keywords like RoPE, FlashAttention, DPO, or Blind 75.