Understanding metabolic processes through machine learning