A machine learning engineer needs to reduce the cost of storing and serving a large deep learning model without significantly affecting its prediction accuracy. Which technique is most appropriate?
Answer
Pruning the model by removing weights with small magnitudes
Explanation
Pruning removes redundant or low-importance weights, reducing model size and computational cost while often preserving accuracy. Increasing layers or batch size does not reduce storage and serving cost.
Last reviewed: October 2026
Reviewed by FirstInTest Editorial Team
Related questions
A data scientist is building a binary classifier for a rare disease and wants to ensure that the model does not miss positive cases. Which metric should be prioritized?
View question →
A company wants to automatically group news articles into topics without any labeled data. Which approach is most suitable?
View question →
A machine learning engineer is preprocessing a dataset with a numerical feature that has a highly skewed distribution. Which transformation is most likely to make the feature more Gaussian-like?
View question →
A data scientist is training a model to predict housing prices and notices that the model performs well on the training set but poorly on the validation set. Which technique is most appropriate to address this issue?
View question →
A machine learning engineer is working with a dataset containing a categorical feature with 100 unique values. Which encoding method is most suitable to avoid the curse of dimensionality?
View question →
A company wants to deploy a model that predicts whether a customer will make a purchase. The model outputs a probability, and the company wants to minimize false positives. Which metric should they optimize?
View question →