Scaling Features
Features measured in different units (pounds, years, a 0 or 1) pull unevenly on any model that measures distance or penalizes large weights, so standardizing rescales each one with the training data's mean and standard deviation, which StandardScaler learns with fit on the training part and applies with transform to both parts.
Updated

- Category
- Machine Learning
- Level
- Journeyman
- Tags
- ai, Feature (ai), Feature Scaling, python, Standardization, StandardScaler