Skip to main content

This library implements some common tools for scientific machine learning

Project description

ScimBa

pipeline status coverage report Latest Release Doc

This librairies impliment varying SciML methods for varying PDE problem and also tools to build hybrid numerical methods.

Current Content

  • Nets: MLP networks, Discontinuous MLP, RBF networks, some activations functions and a basic trainer
  • Sampling and domain: general uniform sampling methods for PINNs and Neural Operators. Sampling based on approximated signed distance function for general geometries.
  • PDEs: the librairiy implement différent type of model: ODE, spatial pde, times-apce pde, stationary kinetic PDE and kinetic PDE.
  • Specific networks for PINNs: For all the equations we implement PINNs networks based on: MLP, Discontinuous MLP and nonlinear radial basis function. We implement also the Fourier network with general features (Fourier but also Gaussian etc)
  • Trainer: for each type of PDE we gives a specific trainer.
  • Generative Nets: Normalized flows, Gaussian mixture. The classical and conditional approaches are proposed. Trainer based on the maximum likelihood principle.
  • Neural Operator: Continuous Auto-encoder based on PointNet encoder and coordinate based decoder. Physic informed DeepOnet for ODE, spatial and time space PDE.
  • Neural Galerkin: Method Neural Galerkin for time PDE based on the same network than PINNs.

Ongoing work for 2024

  • Nets: New activation function used for implicit representation, Symbolic models, Sindy
  • Sampling and domain: learning of signed distance function using PINNs, adaptive sampling
  • Specific networks for PINNs: Multiscale architecture, spectral architecture for kinetic, specific architecture.
  • Trainer: Trainer with sparsity constraints and globalization method. Loss Balancing
  • Generative Nets: Energy models, score matching, more complex normalized flow, Continuous VAE
  • Neural Operator: physic informed DeepGreen operator, FNO, GINO based on FNO, NO with neural implicit representation. Kinetic case
  • Neural Galerkin: Adaptive sampling, randomization, Least Square solver, implicit scheme. CROM Space time reduced Galerkin model. Greedy basis.

References

PINNs and MLP

Neural Galerkin

DeepOnet

FNO and diverse geometry

Other NO

Install the project

git clone https://gitlab.inria.fr/sciml/scimba.git
cd scimba

Install the basic package

pip install -e .

if you want the differential physic aspect we must run:

pip install -e ".[diff_physic]"

Full install

pip install -e ".[all]"

Launch tests

pip install -e ".[test]"
pytest

Generate documentation

pip install -e ".[doc]"
cd docs
env PYTORCH_JIT=0 make html

html docs are generated in _build/html

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

scimba-0.5.1.tar.gz (103.4 kB view details)

Uploaded Source

Built Distribution

scimba-0.5.1-py3-none-any.whl (150.5 kB view details)

Uploaded Python 3

File details

Details for the file scimba-0.5.1.tar.gz.

File metadata

  • Download URL: scimba-0.5.1.tar.gz
  • Upload date:
  • Size: 103.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.13.0

File hashes

Hashes for scimba-0.5.1.tar.gz
Algorithm Hash digest
SHA256 9807c4626ebc68e0b0253e306bb4b878728ba19e19ef32dccbb7f3fba77b14b0
MD5 4375fe309ffce2b1573a031b248f52bc
BLAKE2b-256 fa41b18511cf7d9781790105fa33fd99da1705251dc4cfeed619b69036896bfa

See more details on using hashes here.

File details

Details for the file scimba-0.5.1-py3-none-any.whl.

File metadata

  • Download URL: scimba-0.5.1-py3-none-any.whl
  • Upload date:
  • Size: 150.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.13.0

File hashes

Hashes for scimba-0.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e572c3fe3ee7c95663eddc533d39e46950a95854b0c98e94a91e2ce23033216d
MD5 86ae628d3d9b6066f88120c48a1f3f6a
BLAKE2b-256 6dcfe8e0f1e8a1c6a28aa45d2d2010a7427fef8beb3e589a60be0c98945b0a04

See more details on using hashes here.

Supported by

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