optimization
FDE interview questions tagged optimization, across every topic.
12 questions · 2 unlocked for you
Concepts behind "optimization"
The curriculum that explains the ideas these questions test.
Foundational
Gradient Descent & Learning RateGradient descent is how almost every model learns: compute the slope of the loss with respect to the weights, then step the weights a little in the downhill direction. The learning rate sets the step size, and it is the single most consequential knob. Too small and training crawls; too large and it overshoots and diverges.📊 Evaluation & ML Foundations
Foundational
Loss FunctionsThe loss function is the objective you actually optimize, and choosing it wrong quietly sabotages everything downstream. MSE punishes outliers, MAE ignores their size, Huber splits the difference, cross-entropy is the default for classification, and contrastive losses shape embeddings. The rule: the loss must match the metric you are judged on.📊 Evaluation & ML Foundations
Core
Convex vs Non-Convex OptimizationA convex loss has one global minimum, so gradient descent from anywhere reaches the best solution: this is why logistic regression, linear regression, and linear SVMs are reliable to train. Deep nets are non-convex, with many local minima and far more saddle points, yet SGD still finds good solutions. Understanding why changes how you set initialization, learning rate, and restarts.📊 Evaluation & ML FoundationsSign in
