Efficient framework for building surrogates of multidisciplinary systems using the adaptive multi-index stochastic collocation (AMISC) technique.
Project description
Efficient framework for building surrogates of multidisciplinary systems using the adaptive multi-index stochastic collocation (AMISC) technique.
⚙️ Installation
Ensure you are using Python 3.11 or later. You can install the package from PyPI using pip:
pip install amisc
If you are using pdm in your own project, then you can use:
pdm add amisc
# Or in editable mode from a local clone...
pdm add -e ./amisc --dev
📍 Quickstart
import numpy as np
from amisc import System
def fun1(x):
y = x * np.sin(np.pi * x)
return y
def fun2(y):
z = 1 / (1 + 25 * y ** 2)
return z
system = System(fun1, fun2)
system.inputs()['x'].domain = (0, 1) # set domain of surrogate for `x`
system.outputs()['y'].domain = (0, 1) # set domain of surrogate for `y`
system.fit()
x_test = system.sample_inputs(10)
y_test = system.predict(x_test)
🏗️ Contributing
See the contribution guidelines.
📖 Reference
AMISC paper [1].
Made with the copier-numpy template.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file amisc-0.5.2.tar.gz
.
File metadata
- Download URL: amisc-0.5.2.tar.gz
- Upload date:
- Size: 126.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e19519e5c500c9644161b7d56029ec648567af42e190ece2ebc055f9e200c9b7 |
|
MD5 | e0f19b1b9b718baa8e4b2d24aca16fc4 |
|
BLAKE2b-256 | 81cfe78975acb8fb4a9b33d8c81d689eb907b35df32dbb6f5771e3bd4592a5c2 |
Provenance
The following attestation bundles were made for amisc-0.5.2.tar.gz
:
Publisher:
deploy.yml
on eckelsjd/amisc
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
amisc-0.5.2.tar.gz
- Subject digest:
e19519e5c500c9644161b7d56029ec648567af42e190ece2ebc055f9e200c9b7
- Sigstore transparency entry: 146838489
- Sigstore integration time:
- Predicate type:
File details
Details for the file amisc-0.5.2-py3-none-any.whl
.
File metadata
- Download URL: amisc-0.5.2-py3-none-any.whl
- Upload date:
- Size: 106.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e6e37c09342da2f974ae837bb714723816276f3652f589319547045756feea8d |
|
MD5 | fa5247d18b0fa03d8c0eb78240419325 |
|
BLAKE2b-256 | 9a53f4da4b781d852f09debf7fe132ce8bf2d160d0bad298e79c0d151f7d7349 |
Provenance
The following attestation bundles were made for amisc-0.5.2-py3-none-any.whl
:
Publisher:
deploy.yml
on eckelsjd/amisc
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
amisc-0.5.2-py3-none-any.whl
- Subject digest:
e6e37c09342da2f974ae837bb714723816276f3652f589319547045756feea8d
- Sigstore transparency entry: 146838493
- Sigstore integration time:
- Predicate type: