Skip to main content

This library implements some common tools for scientific machine learning

Project description

ScimBa

pipeline status coverage report Latest Release Doc

Scimba is a Python library that implements several Scientific Machine Learning (SciML) methods for PDE problems, as well as tools for hybrid numerical methods.

The current version of the code solves parametric PDEs using various nonlinear approximation spaces such as neural networks, low-rank approximations, and nonlinear kernel methods. These methods:

  • can handle complex geometries generated via level-set techniques and mappings, including sub-volumetric and surface domains;
  • support function projections as well as elliptic, time-dependent, and kinetic parametric PDEs;
  • are compatible with both space–time algorithms (PINN, Deep Ritz) and time-sequential ones (discrete PINNs, neural Galerkin and neural semi-Lagrangian schemes).

To achieve this, the code provides several optimization strategies, including:

  • Adam, L-BFGS, SS-BFGS and SS-Broyden;
  • natural gradient methods (for neural network-based models);
  • hybrid least-squares approaches.

There are two versions of Scimba based on two backends:

  • scimba_torch is based on PyTorch
  • scimba_jax is based on Jax and is still released as an experimental module. There is no warranty concerning the compatibility of the current release of scimba_jax with future versions. The given test coverage does not concern scimba_jax.

Documentation: https://www.scimba.org/

Code repository: https://gitlab.com/scimba/scimba/

Development guide: https://www.scimba.org/#development

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-1.3.4.tar.gz (379.9 kB view details)

Uploaded Source

Built Distribution

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

scimba-1.3.4-py3-none-any.whl (522.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: scimba-1.3.4.tar.gz
  • Upload date:
  • Size: 379.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.13

File hashes

Hashes for scimba-1.3.4.tar.gz
Algorithm Hash digest
SHA256 7b555633c577c043b73417f86a85ca2c71837e4310fc114de7ada31a1f60a755
MD5 9c3458d0c22624cd1eec46561e710ce5
BLAKE2b-256 7ae3b780a70772d0181c8d3c826511d38248ebbf24435a2b0d885d7d5b35c0b3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: scimba-1.3.4-py3-none-any.whl
  • Upload date:
  • Size: 522.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.13

File hashes

Hashes for scimba-1.3.4-py3-none-any.whl
Algorithm Hash digest
SHA256 49337d4ee3afb47e8928cea9a2dfa960c6618c3eed6f350315fb297aef29b746
MD5 c7caa7609af0345c233d1b191d6939ee
BLAKE2b-256 aecb591c4614f85a31c0c5b0058f4704869236303cdd80a5657707b258c9e39a

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