PyDaddy: A Python package for discovering stochastic dynamical equations from timeseries data

05/05/2022
by   Arshed Nabeel, et al.
0

Most real-world ecological dynamics, ranging from ecosystem dynamics to collective animal movement, are inherently stochastic in nature. Stochastic differential equations (SDEs) are a popular modelling framework to model dynamics with intrinsic randomness. Here, we focus on the inverse question: If one has empirically measured time-series data from some system of interest, is it possible to discover the SDE model that best describes the data. Here, we present PyDaddy (PYthon library for DAta Driven DYnamics), a toolbox to construct and analyze interpretable SDE models based on time-series data. We combine traditional approaches for data-driven SDE reconstruction with an equation learning approach, to derive symbolic equations governing the stochastic dynamics. The toolkit is presented as an open-source Python library, and consists of tools to construct and analyze SDEs. Functionality is included for visual examination of the stochastic structure of the data, guided extraction of the functional form of the SDE, and diagnosis and debugging of the underlying assumptions and the extracted model. Using simulated time-series datasets, exhibiting a wide range of dynamics, we show that PyDaddy is able to correctly identify underlying SDE models. We demonstrate the applicability of the toolkit to real-world data using a previously published movement data of a fish school. Starting from the time-series of the observed polarization of the school, pyDaddy readily discovers the SDE model governing the dynamics of group polarization. The model recovered by PyDaddy is consistent with the previous study. In summary, stochastic and noise-induced effects are central to the dynamics of many biological systems. In this context, we present an easy-to-use package to reconstruct SDEs from timeseries data.

READ FULL TEXT

page 3

page 5

research
12/30/2018

A General Deep Learning Framework for Structure and Dynamics Reconstruction from Time Series Data

In this work, we present Gumbel Graph Network, a model-free deep learnin...
research
11/08/2021

A toolkit for data-driven discovery of governing equations in high-noise regimes

We consider the data-driven discovery of governing equations from time-s...
research
03/17/2023

Discovering mesoscopic descriptions of collective movement with neural stochastic modelling

Collective motion is an ubiquitous phenomenon in nature, inspiring engin...
research
10/13/2020

Modeling Atmospheric Data and Identifying Dynamics: Temporal Data-Driven Modeling of Air Pollutants

Atmospheric modelling has recently experienced a surge with the advent o...
research
07/27/2018

IDTxl: The Information Dynamics Toolkit xl: a Python package for the efficient analysis of multivariate information dynamics in networks

The Information Dynamics Toolkit xl (IDTxl) is a comprehensive software ...
research
03/14/2023

Delay-SDE-net: A deep learning approach for time series modelling with memory and uncertainty estimates

To model time series accurately is important within a wide range of fiel...
research
08/06/2019

Users' traffic on two-sided Internet platforms. Qualitative dynamics

Internet platforms' traffic defines important characteristics of platfor...

Please sign up or login with your details

Forgot password? Click here to reset