Optimiser Comparison: Adam vs RMSprop
Two optimisers compared on a small neural network for historical passenger-survival data, then regularisation, dropout, early stopping and cross-validation explored.
The Challenge
On a held-out test set, a small network trained with RMSprop scored 86.0% accuracy against 83.2% for Adam.
Optimiser choice is often left at the default. The aim was to compare Adam and RMSprop on the same architecture and data, then test whether regularisation, dropout and early stopping change the picture.
Approach
Results
In the baseline comparison RMSprop finished ahead. On a test set of this size a difference of about 3 points is roughly five passengers, so a single split cannot separate the optimisers reliably, which is why cross-validation was the next step.
Note: the regularisation, early-stopping and cross-validation cells were not saved with outputs, so their results are not quoted here. They will be added after a re-run.