Learning to make the best choices