Uber·Machine Learning Engineer·Technical Phone Screen
May 2026
Uber ML engineer round that was basically one long coding question dressed up as a design discussion. They wanted a full logistic regression implementation from scratch, runnable end-to-end, with a side conversation about regularization and convergence. More depth than I expected for a single question.
- Implement logistic regression from scratch with fit, predict_proba, and predict methods. The implementation should use gradient descent on the negative log-likelihood loss, handle numerical stability in the sigmoid, and support binary classification with a 0.5 threshold.
- How do you choose a learning rate, and what convergence criterion would you use for this implementation?
- How would you add L2 regularization to this logistic regression implementation, and what effect does it have on the gradient update?
“This took up basically the whole session.” The rest of the author's notes on Machine Learning Engineer interview at Uber, Technical Phone Screen round, covers how they worked through the question, what the panel pushed back on, and what they would do differently.
View Post