Skip to main content

AI4XDE

Description

AI4XDE is a comprehensive library for scientific machine learning and physical information networks. AI4XDE aims to decouple specific algorithms from specific examples, using examples as input parameters for neural networks, so that all examples can be calculated in one programming operation. Writing neural network algorithms and examples according to the interface paradigm used in the AI4XDE library can quickly test the stability of algorithms on different examples and accelerate experimental progress; At the same time, it can also enable the completion of calculation examples, which can be tested and compared on different neural network algorithms.

Currently, AI4XDE supports the following algorithms:

  1. PINN
  2. Uniform
  3. Random_ R
  4. RAR_ D
  5. RAR_ G
  6. RAD
  7. R3Sampling
  8. HPO
  9. gPINN
  10. FI-PINN
  11. FBPINN

Currently, AI4XDE supports the following examples:

  1. Formula based approximate function calculation example
  2. Data based formula approximation examples
  3. A simple ODE calculation example
  4. Lotka Volterra equation
  5. Second Order ODE
  6. Poisson equation in 1D with Dirichlet boundary conditions
  7. Poisson equation in 1D with Dirichlet/Neumann boundary conditions
  8. Poisson equation in 1D with Dirichlet/Robin boundary conditions
  9. Poisson equation in 1D with Dirichlet/Periodic boundary conditions
  10. Poisson equation in 1D with Dirichlet/PointSetOperator boundary conditions
  11. Poisson equation in 1D with hard boundary conditions
  12. Poisson equation in 1D with Multi-scale Fourier feature networks
  13. Poisson equation over L-shaped domain
  14. Inverse problem for the Poisson equation with unknown forcing field
  15. Inverse problem for the fractional Poisson equation in 1D
  16. Inverse problem for the fractional Poisson equation in 2D
  17. Poisson equation in 2D peak problem
  18. Laplace equation on a disk
  19. Euler Beam
  20. Helmholtz equation over a 2D square domain
  21. Helmholtz equation over a 2D square domain with a hole
  22. Helmholtz sound-hard scattering problem with absorbing boundary conditions
  23. Kovasznay Flow
  24. Burgers equation
  25. Heat equation
  26. Diffusion equation
  27. Diffusion-reaction equation
  28. Allen Cahn equation
  29. Klein-Gordon equation
  30. Beltrami flow
  31. Schrodinger equation
  32. Wave propagation with spatio-temporal multi-scale Fourier feature architecture
  33. Wave equation
  34. Integro-differential equation
  35. Volterra IDE
  36. Fractional Poisson equation in 1D
  37. Fractional Poisson equation in 2D
  38. Fractional Poisson equation in 3D
  39. Fractional_Diffusion_1D
  40. Inverse problem for the Lorenz system
  41. Inverse problem for the Lorenz system with exogenous input
  42. Inverse problem for Brinkman-Forchheimer model
  43. Inverse problem for the diffusion equation
  44. Inverse problem for the Diffusion-reaction equation
  45. Inverse problem for the Navier-Stokes equation of incompressible flow around cylinder
  46. Bimodal in 2D
  47. Flow in a Lid-Driven Cavity
  48. Convection equation in 1D with Periodic boundary conditions
  49. Harmonic Oscillator 1D

Installation

Since AI4XDE is based on the DeepXDE library, you need to first install the DeepXDE library.

DeepXDE requires one of the following dependencies to be installed:

Please install the above dependencies as a baseline before installing DeepXDE

Subsequently, you can use the following method to install AI4XDE

  • Install using 'pip':
$ pip install ai4xde
  • Install using 'conda':
$ conda install -c xuelanghanbao ai4xde
  • For developers, you should clone the folder to your local machine and put it along with your project scripts:
$ git clone https://gitee.com/xuelanghanbao/AI4XDE.git

Instructions

AI4XDE separates algorithms from examples, where algorithm templates are stored in the solver folder, and specific algorithms implemented based on algorithm templates (such as PINN, R3Sampling, etc.) are stored in the algorithms folder. The calculation template and specific calculation examples (such as Burgers, AllenCahn, etc.) are stored in the cases folder.

Contribution

  1. Fork the repository
  2. Create Feat_xxx branch
  3. Commit your code
  4. Create Pull Request

Metadata

Release files for ai4xde 0.4.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ai4xde 0.4.1
File Size Uploaded Provenance
ai4xde-0.4.1.tar.gz 24.7 MB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for ai4xde 0.4.1
File Interpreter ABI Platform
ai4xde-0.4.1-py3-none-any.whl Python 3 none any Details

Total release size: 49.4 MB

Release files / ai4xde-0.4.1.tar.gz

Download URL ai4xde-0.4.1.tar.gz
Size 24.7 MB
Tags Source
SHA-256 checksum
How to use checksums
8897d15ee358499ba109d7e13333f9343a7550c7cd02acf2dcd66347c802a482
BLAKE2b-256 checksum
How to use checksums
d1b45231e2e49745edaabe94f2d492807ca419b9cc4bfa8c64e9ed7fc09cc256
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.3

Release files / ai4xde-0.4.1-py3-none-any.whl

Download URL ai4xde-0.4.1-py3-none-any.whl
Size 24.7 MB
Tags Python 3
SHA-256 checksum
How to use checksums
d5d8c16b349c946b7aa9052b155ab771fc83447999af2dab493e479c6c69e4c8
BLAKE2b-256 checksum
How to use checksums
5cb04cba1426730ab682fb4f3281ae5c938ece408d1771327ab831b2a158e107
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.3

Security for ai4xde 0.4.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page