Enhancing predictive capabilities in data-driven dynamical modeling through automatic differentiation.