Decide Which Models Need Feature Scaling for a Chrome Performance Dataset
Last updated: November 29, 2026
Quick Overview
A dataset of Chrome sessions mixes features like memory in megabytes, tab count, and page load time in milliseconds. Explain which model families need these features scaled, which do not, and which scaling method you would pick.
0
0
0 solved
A dataset of Chrome sessions mixes features like memory in megabytes, tab count, and page load time in milliseconds. Explain which model families need these features scaled, which do not, and which scaling method you would pick.
This is a fundamentals check that often opens an ML screen at Google. The interviewer wants to hear why scaling matters in terms of distance, gradient geometry, and regularization, not just a rule to always standardize.
What the Interviewer Expects
- Explains scale sensitivity for distance-based models like kNN and k-means
- Explains effect on gradient descent conditioning and on L1 or L2 penalties
- States that tree-based models are invariant to monotone scaling
- Compares standardization, min-max, and robust scaling
- Fits scaling parameters on training data only
Key Topics to Cover
How to Approach This
- Understand the bias-variance trade-off. High training accuracy but low test accuracy signals overfitting.
- Choose evaluation metrics carefully based on the problem. Accuracy alone is often insufficient.
- Feature engineering is often more impactful than model selection.
- Know when to use tree-based models (tabular data) vs neural networks (unstructured data).
- Handle class imbalance with SMOTE, class weights, or appropriate loss functions.
Possible Follow-up Questions
- Why does L2 regularization make scaling matter even when gradient descent converges?
- Which scaler would you pick for page load time, which has extreme outliers?
- Does PCA require scaling?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Explore ML Interview PrepSample Answer
Clarify
Ask which models are in play and how the features are distributed. Memory might range 100 to 8,000 MB, tab count 1 to 200, and load time 50 to 60,000 ms with a heavy tail....
Approach
Scaling matters whenever the model compares magnitudes across features:
- kNN and k-means use distances, so load time in milliseconds would dominate everything else.
- **Linear and logistic regre...