Learning regulation functions of metabolic systems by artificial neural networks