Skip to main content

A PyTorch-based solver for Neural Fractional Differential Equations (NFDE) using a predictor-corrector method.

Project description

**FDEint** is a specialized Python package for solving Neural Fractional Differential Equations (NFDEs) with high efficiency and accuracy, specifically designed for PyTorch models. The neural network provided to the solver must be a subclass of `torch.nn.Module`. This package enables NFDEs to capture memory effects and long-range dependencies effectively.

If you find **FDEint** valuable for your research, please consider citing the following work:

```
@InProceedings{pmlr-v255-zimmering24a,
  title = {Optimising Neural Fractional Differential Equations for Performance and Efficiency},
  author = {Zimmering, Bernd and Coelho, Cec'{i}lia and Niggemann, Oliver},
  booktitle = {Proceedings of the 1st ECAI Workshop on "Machine Learning Meets Differential Equations: From Theory to Applications"},
  pages = {1--22},
  year = {2024},
  editor = {Coelho, Cecı́lia and Zimmering, Bernd and Costa, M. Fernanda P. and Ferrás, Luı́s L. and Niggemann, Oliver},
  volume = {255},
  series = {Proceedings of Machine Learning Research},
  month = {20 Oct},
  publisher = {PMLR},
  pdf = {https://raw.githubusercontent.com/mlresearch/v255/main/assets/zimmering24a/zimmering24a.pdf},
  url = {https://proceedings.mlr.press/v255/zimmering24a.html},
  abstract = {Neural Ordinary Differential Equations (NODEs) are well-established architectures that fit an ODE, modeled by a neural network (NN), to data, effectively capturing complex dynamical systems. Recently, Neural Fractional Differential Equations (NFDEs) were proposed to incorporate non-integer order differential equations, capturing memory effects and long-range dependencies. In this work, we present an optimised implementation of the NFDE solver, achieving up to 570 times faster computations and up to 79 times higher accuracy. Our results demonstrate that for systems with fractional dynamics, NFDEs significantly outperform NODEs, particularly in extrapolation tasks on unseen time horizons. The code is available at https://github.com/zimmer-ing/Neural-FDE.}
}
```

The solver and pseudocode are thoroughly described in the paper, with pseudocode available in Appendix A. Full documentation and a usage example can be found on [GitHub](https://github.com/zimmer-ing/FDEint).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fdeint-0.1.1.tar.gz (11.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

FDEint-0.1.1-py3-none-any.whl (11.4 kB view details)

Uploaded Python 3

File details

Details for the file fdeint-0.1.1.tar.gz.

File metadata

  • Download URL: fdeint-0.1.1.tar.gz
  • Upload date:
  • Size: 11.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.6

File hashes

Hashes for fdeint-0.1.1.tar.gz
Algorithm Hash digest
SHA256 1aa4781f995fe5a9ddbc0780ea12d496e2ba28ae44e5dbc73645253691e873e3
MD5 645aee3d9c71ebab87d00ff54ef665cc
BLAKE2b-256 9dff3589667b1bd0ec1f96c04d2aa5f66c410ae1a4085e4c8632c796ac774ecd

See more details on using hashes here.

File details

Details for the file FDEint-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: FDEint-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 11.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.6

File hashes

Hashes for FDEint-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8b4a6389c1bb9d9502ae653585bd27cd0fbbf32b7e29842aeb63a53a3bab487e
MD5 9caefe041ca9260580f959df255d3bfe
BLAKE2b-256 5d765b2cacf4ead92e9617897e0dcd82dd9a053dbce4479c92dccb45cec9cea1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page