Soaking up the sun with artificial intelligence