I finished module 8 of ML Zoomcamp and I want to write down what actually happened, because it changed how I look at training accuracy.
I trained a small PyTorch classifier to tell curly from straight hair by the sound of the buzz. The homework pins the dataset, the split, the architecture and the seed, so there is not much to tune. You just watch what happens.
At first I thought I was doing great. Training accuracy went up to 0.94. Then I looked at the held-out set: 0.65. The model had memorized the training images instead of learning anything useful. Evaluation loss was going up, not down.
I did not change the model. I did not change the optimizer. I changed the training images: rotations, random crops, horizontal flips. Training accuracy dropped to about 0.72, and at first that felt like a step backwards. But the model was seeing harder pictures now. The important part is that the train and eval curves came together.
Two things I will keep:
A high training number is not the finish line.…