From Pascal's gambling wagers to Bayesian neural networks — four centuries of ideas about learning from data under uncertainty.