Master the fundamental concepts of training neural networks and CNNs
Training data is the dataset used to teach your neural network.
Example: 1000 images of cats and dogs
A batch is a subset of training data processed together.
One iteration = Processing one batch through the network
One epoch = The network has seen ALL training data once
Aspect | Small Batches (8-16) | Medium Batches (32-64) | Large Batches (128+) |
---|---|---|---|
Memory Usage | โ Low | โก Moderate | โ High |
Training Speed | โ Slower | โก Balanced | โ Faster |
Gradient Quality | โ Noisy | โก Good | โ Smooth |
Generalization | โ Better | โก Good | โ May overfit |
โ Better learning, avoids patterns
โ May memorize order, poor learning
ยฉ 2025 Machine Learning for Health Research Course | Prof. Gennady Roshchupkin
Interactive slides designed for enhanced learning experience