Understanding how the retina transforms images into signals that the brain can interpret would not only result in insights into brain computations, but could also be useful for medicine. As machine learning and artificial intelligence develop, eye diseases will soon be described in terms of the perturbations of computations performed by the retina. A newly developed model of the retina can predict with high precision the outcome of a defined perturbation.