Nextdoor·Machine Learning Engineer·Technical Phone Screen
Jun 2026
Nextdoor ML Engineer interview that was essentially a full coding exercise: given a raw DataFrame, implement data prep, train a model from scratch with numpy, evaluate it, and then field a bunch of concept questions. No sklearn allowed, which is where things got real.
- Given a pandas DataFrame with numeric and categorical features and a target column, how would you handle missing values, encode categoricals, split the data, and standardize features without using any ML libraries?
- Implement logistic regression or linear regression from scratch using numpy, including gradient descent training and a prediction function.
- What evaluation metrics would you choose for a regression task versus a binary classification task, and how would you detect and address overfitting?
- Explain the bias-variance tradeoff and how it relates to model complexity.
- How does L1 regularization differ from L2, and what does each one do to the loss objective?
- How would you handle class imbalance in a binary classification problem?
- When does feature scaling matter and why? What happens if you skip it?
- What is train/validation/test leakage and how do you prevent it during data preparation?
“The no-sklearn constraint hit harder than expected.” The rest of the author's notes on Machine Learning Engineer interview at Nextdoor, 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