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, GPyTorh.

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 examples/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.3.tar.gz (6.0 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.3-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mfmodeling-1.0.3.tar.gz
  • Upload date:
  • Size: 6.0 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.3.tar.gz
Algorithm Hash digest
SHA256 21e5955be9e897adbf4a9c6678d9c3df0de8ee637339eb6ffd278d741252444d
MD5 18c02cae460ccbbe5c789260118e557b
BLAKE2b-256 28c540bd9115e185b932c3c96f6bb3592c40dd83efef03a82d6131598bacda8f

See more details on using hashes here.

Provenance

The following attestation bundles were made for mfmodeling-1.0.3.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.3-py3-none-any.whl.

File metadata

  • Download URL: mfmodeling-1.0.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 4ce1d893fb66b3c8a2360f6ba04a1e6b021e3cf6eaf2ce7f9d6e8dfd8b9b9b9b
MD5 e15ed87c7075f4b0bd181ef1031e9331
BLAKE2b-256 c57f937d7e88b9972321ae93bf67b51359a38baa0d78d6175bde577546ffa54e

See more details on using hashes here.

Provenance

The following attestation bundles were made for mfmodeling-1.0.3-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