Dataford
Interview QuestionsInterview GuidesExperiencesMock InterviewsPricing
Get started

Gradient Descent and Local Minima

MediumMachine Learning00:00
Practice interviewer
In session
5 left
00:00

Your question is Gradient Descent and Local Minima. Take a moment with it on the right.

Talk me through your thinking if you like. When you're confident, submit your answer and I'll grade it like a real screen (7/10 or better passes).

You need to log in / sign up to chat or submit.

Problem

Scenario

You're training a supervised learning model and need to explain how the optimizer updates parameters during training. You also want to reason about what can go wrong when the loss surface is non-convex.

Question

Explain how gradient descent optimization works and how you would prevent a model from getting stuck in local minima.