Machine Learning Engineer • Mid-Level
Machine Learning Engineer • Mid-Level
High QualityPrep Other Coding Questions Asked by Lyft
Continue with targeted prep from Lyft's coding question bank.
Interview Summary
I completed a 75-minute Machine Learning Engineer technical phone screen at Lyft, covering ML fundamentals and a hands-on coding exercise. The ML discussion focused on diagnosing training and test errors, addressing overfitting across different model families, and understanding cross-validation. The coding portion required implementing K-Means from scratch and passing the interviewer's test cases, which turned out to be more time-consuming than I expected.
Interview Details
Round 1 — Technical Phone Screen: ML Fundamentals and K-Means Coding
The interview was divided into two main sections: machine learning theory and a coding exercise.
Part 1 — ML Fundamentals: Training and Test Error Analysis
The interviewer presented five different combinations of training and test errors and asked me to explain the possible reasons behind each scenario. The scenarios included:
- Low Training Error, High Test Error: The model performs well on the training data but poorly on unseen data.
- High Training Error, Low Test Error: The model performs poorly on the training data but achieves better results on the test set.
- Low Training Error, Low Test Error: The model achieves low errors on both datasets.
- High Training Error, High Test Error: The model performs poorly on both datasets.
The most challenging scenario for me was the second one, where training error was high but test error was low. I hadn't specifically prepared for that combination and got stuck trying to explain it.
The interviewer provided a hint that the training and test datasets might follow different distributions. For example, the training dataset could contain a substantial number of outliers that make it more difficult than the test dataset. That
Unlock Full Details
Create a free account to unlock this interview experience report.