How models learn from data, and how to tell whether one actually works: training, overfitting and evaluation.