Python tool finds equations behind changing systems with confidence

py-ARGOS: A Python package for automatic, statistically principled discovery of ordinary differential equations from data

Mathematical Software

Summary

Understanding how things change over time often relies on finding equations that describe their behavior. The authors present py-ARGOS, a Python package that can automatically discover these equations from data, doing so in a way that carefully checks how certain the results are. It uses two smart algorithms that not only pick which parts of an equation matter but also show how sure we can be about each part. This helps avoid mistakes and works well even for chaotic or complex systems.

What this means in practice

Authors

Yuzheng Zhang, Rui Carvalho

Abstract

Recovering the governing equations of a dynamical system from data is a central problem in data-driven science, yet the available Python tooling forces a compromise among automation, statistical rigor, and reliability. We present py-ARGOS, a Python package implementing two automatic algorithms, bootstrap ARGOS and Bayesian-ARGOS, behind a uniform interface. Both are statistically principled throughout: automated model selection reduces the candidate library, each coefficient is reported with a bootstrap confidence or Bayesian credible interval that quantifies its uncertainty, and a term is retained when this interval excludes zero. Built-in diagnostics additionally flag unreliable fits. On chaotic benchmark systems, the two algorithms improve on the SINDy family's identification performance.