https://medium.com/@monocosmo77/studying-reaction-networks-for-machine-learning-inference-part3-3818c282a5d2