Skip to content
START WITH A QUESTION

What would you like to understand?

Find an answer. See the moment it becomes clear. Follow the idea further.

← Concept directory

Answers for “为什么需要特征缩放?”

1 keyword matches

Understanding your question. You can explore the search results below now.

Know when to use it

↗

Feature scaling should be used for algorithms that rely on Euclidean distance or gradient-based optimization, such as KNN, K-means, linear regression, logistic regression, and neural networks. It is generally not needed for tree-based models like decision trees, random forests, and XGBoost.

Conditions: Model uses distance metrics or iterative optimization sensitive to feature scale.; Model is not tree-based or an ensemble of trees.