Pergunta de entrevista da empresa Amazon

How does gradient descent work?