A framework for machine learning of model error in dynamical systems | Synapse