Waymo·Machine Learning Engineer·Technical Phone Screen
- Implement binary logistic regression from scratch using only NumPy, including forward pass, loss computation, gradient derivation, and a fit method with gradient descent.
- Add predict_proba and predict methods to your logistic regression class, with a configurable classification threshold.
- How would you add L2 regularization to your implementation, and what changes does it require in the gradient update?
- Why do we use cross-entropy loss for classification instead of mean squared error?
- How does learning rate affect convergence in gradient descent for logistic regression, and what are the failure modes?
- How would you implement a numerically stable sigmoid function to avoid overflow issues?
“This one took the full session.”