Combining networks and partial differential equations to improve predictions