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.0.tar.gz (10.5 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.0-py3-none-any.whl (10.7 kB view details)

Uploaded Python 3

File details

Details for the file FDEint-0.1.0.tar.gz.

File metadata

  • Download URL: FDEint-0.1.0.tar.gz
  • Upload date:
  • Size: 10.5 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.0.tar.gz
Algorithm Hash digest
SHA256 cdaae1947d39b55ee326647141be6926fe42f155ef0056bb8f975894fc496bc1
MD5 739c9ceb5e7e886a084a3d20e9302b92
BLAKE2b-256 f5f06f95a0797d8c98c287e0464f4d46826584677d301593424138eb2f2010ba

See more details on using hashes here.

File details

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

File metadata

  • Download URL: FDEint-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 10.7 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 39390396393bcf994aa3c4ebdcc554d07e123273755af02df18d29a10d6399b6
MD5 913a7a8855c3b972b0108b3c962d3632
BLAKE2b-256 0969329171507d856dce9799b5249c01909295b6bf9b769332bd2555c9c8add8

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