Skip to content
E
Educatum
Daily

Cloud Progress Sync

Sign in to Educatum

Sync your Daily AI/ML streaks, Stanford CS329Z progress, and study bookmarks across devices. Your existing browser progress will merge automatically.

πŸ¦™
Guest Alias

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.

Prefer jumping straight into technical Q&A? Browse Interview Prep β†’

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.

02 Β· Interview Syllabus

Every Round of the AI & ML Loop

All Interview Prep β†’

04 Β· Systems & Career

Production Engineering Blogs & Career Indexes

All resources β†’

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