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.1.tar.gz
.
File metadata
- Download URL: amisc-0.5.1.tar.gz
- Upload date:
- Size: 125.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0db85b52dd760eeeae126cf4cecc1c8b6ec5c7c45ef351be2611f4f63d79ca83 |
|
MD5 | 3c8b370788a97b18a3dd13302044263f |
|
BLAKE2b-256 | 0558a3eec6cf98d3b999b20d72581c3675b0704b11c9a60d137b8960be2f828f |
Provenance
The following attestation bundles were made for amisc-0.5.1.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.1.tar.gz
- Subject digest:
0db85b52dd760eeeae126cf4cecc1c8b6ec5c7c45ef351be2611f4f63d79ca83
- Sigstore transparency entry: 146630834
- Sigstore integration time:
- Predicate type:
File details
Details for the file amisc-0.5.1-py3-none-any.whl
.
File metadata
- Download URL: amisc-0.5.1-py3-none-any.whl
- Upload date:
- Size: 105.6 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 | 4bd66dac6cd4e40bfe5257e093f14db42fc90af74c63c2b7073ef2cebcb7b9ed |
|
MD5 | 739f09760885c525594bd733adb63a1d |
|
BLAKE2b-256 | 1344b8ba58630f47ab2b8eddebba758e40a308db4b32c26c8a33e24f71aa5789 |
Provenance
The following attestation bundles were made for amisc-0.5.1-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.1-py3-none-any.whl
- Subject digest:
4bd66dac6cd4e40bfe5257e093f14db42fc90af74c63c2b7073ef2cebcb7b9ed
- Sigstore transparency entry: 146630836
- Sigstore integration time:
- Predicate type: