Learning to make better decisions