Why do we need to make data uniform before training a model?
Image: Dirk Ingo Franke, CC BY-SA 2.0 de, via Wikimedia Commons
Why do we need to make data uniform before training a model?
Imagine you're trying to teach a robot to recognize different types of fruits. If some fruits are bigger and some are smaller, the robot might struggle to learn correctly.
To help the robot, we adjust all fruit sizes to a standard size. This way, the robot can focus on learning the shapes and colors instead of dealing with varying sizes.
Example
If apples range from 1 to 3 inches in diameter and we standardize them to a 2-inch diameter, the robot sees all apples as the same size.
Remember this
Standardizing data to zero mean and unit variance helps gradient-based optimization algorithms learn more efficiently.
Text adapted from Wikipedia, licensed under CC BY-SA 4.0.
Language model benchmark
Can we train smarter, not harder?
Overfitting
Why does fitting too much detail to data ruin predictions?
Linear regression
Can we predict something with a straight line?
Fine-tuning (deep learning)
Why can we make a big change with just a tiny tweak?
Boosting (machine learning)
Boosting reduces bias in ML models
batch size affects generalization: larger batches find sharper minima
Larger batch sizes lead to sharper minima, enhancing generalization by providing more accurate gradient estimates
Swipe through more Machine Learning concepts
Open Pocket Polymath