Envoyer par SMS: Designing and understanding light-harvesting devices with machine learning