EasyDeepLearn

Which models need feature scaling and which don't?

easy

Answer

  • Scale features for models that use distances or gradient descent: k-NN, k-means, SVM, PCA, linear/logistic regression with regularization, and neural networks.
  • Tree-based models (decision trees, random forest, gradient boosting) don't need scaling because splits are threshold-based and invariant to monotonic transforms.
Check yourself — multiple choice
  • Trees require standardization
  • k-NN, SVM, and neural nets benefit from scaling; trees do not
  • All models need MinMax scaling
  • Only regression models need scaling

Distance- and gradient-based models need scaling; trees are scale-invariant.

#preprocessing#features

Practise Supervised Learning

215 interview questions in this topic.

Related questions