Threshold Learning for Optimal Decision Making - Lepora, Nathan F (Advances in Neural Information Processing Systems, 2016)