Researchers spent three years developing a machine learning model that can predict how good beer will taste based on its chemical composition—and make suggestions for how to improve it