← Questions

Linear regression with hand-written gradient descent

0
DatabricksAmazonUberCodingLast asked Sep 2026

Fit a one-feature linear regression by gradient descent on mean squared error, without an ML library. Then discuss choosing the learning rate, when to stop, and how to spot a training loop that is not converging.

Write and test your solution herePython in your browser, the question's tests level by level, every submission kept for you.Sign in to start coding