Skip to main content

Multi-fidelity modeling using Gaussian process regression

Project description

mfmodeling

Multi-fidelity modeling using Gaussian process regression

Purpose of this project

This project is motivated to apply multi-fidelity data fusion algorithms to the regression problem in turbulent transport modeling in magnetic fusion plasma. The developed module will be available as a general tool for multi-fidelity regression problems.

Usage

mfmodeling module requires external packages: numpy, GPy.

The following is an explanation on the simple usage of NARGP (Nonlinear AutoRegressive Gaussian Process regression [P. Perdikaris (2017)]) as a multi-fidelity regression algorithm. See also tests/NARGP_example_2d/Demo_May2024_NARGP_example_2d.ipynb.

  1. Prepare multi-fidelity datasets as a list of each fidelity data.
    data_list = [[data_lowfid_x,  data_lowfid_y],
                 [data_highfid_x, data_highfid_y]]
  1. Instantiate the NARGP object using the above dataset.
    from mfmodeling import NARGP
    model_nargp = NARGP(data_list = data_list)
  1. Optimize hyperparameters of the kernel function in NARGP.
    model_nargp.optimize()
  1. Make a prediction.
    mean, var = model_nargp.prediction(x_pred)

where mean and var are the prediction of posterior mean and variance at your evaluating position x_pred.

Reference

S. Maeyama, M. Honda, E. Narita, S. Toda, "Multi-Fidelity Information Fusion for Turbulent Transport Modeling in Magnetic Fusion Plasma", Scientific Reports 14, 28242 (2024). doi

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

mfmodeling-1.0.1.tar.gz (5.9 kB view details)

Uploaded Source

Built Distribution

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

mfmodeling-1.0.1-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

Details for the file mfmodeling-1.0.1.tar.gz.

File metadata

  • Download URL: mfmodeling-1.0.1.tar.gz
  • Upload date:
  • Size: 5.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for mfmodeling-1.0.1.tar.gz
Algorithm Hash digest
SHA256 a57ff54706dbf21e325b684dfec502f3819e0118f7f1630f489ae0493870bfc3
MD5 caf272f0345396b31f0fe1920b6f8f98
BLAKE2b-256 b01b3bd6464034cfd0b01a3943f2d8184ba26919ec27ced66a91da5a0f35bc92

See more details on using hashes here.

Provenance

The following attestation bundles were made for mfmodeling-1.0.1.tar.gz:

Publisher: publish-to-pypi.yml on smaeyama/mfmodeling

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mfmodeling-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: mfmodeling-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 6.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for mfmodeling-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 35188a3c1537052360adc4055ba792ff3bdd5b8572c17cfc801c498bab11a658
MD5 58e0fd2d62b0bae757dd8c2b6dfb7b53
BLAKE2b-256 6f9e837048f87ce7b9e6ea76ca8ad772c27ce1335fef8a4e39a0e0746783ec8c

See more details on using hashes here.

Provenance

The following attestation bundles were made for mfmodeling-1.0.1-py3-none-any.whl:

Publisher: publish-to-pypi.yml on smaeyama/mfmodeling

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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