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.2.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.2-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mfmodeling-1.0.2.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.2.tar.gz
Algorithm Hash digest
SHA256 84fdc938819df8a8d4ea030e2e09f2339e60dbb667067dbfa63a4f1d2c97f32c
MD5 97f470f5ecf3e35bdf1f72718dff512a
BLAKE2b-256 232ca740cef1d7204a8d33bc79ef344d4fce3a839f532cc38054a675746c777d

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: mfmodeling-1.0.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 5f800165636e29e2151d21b1d0531eab8be05cfda2e8691a91f574c37737adfa
MD5 2ef1e127e7013d9c2b7bd566f611cda4
BLAKE2b-256 8419f699e803d6c9dcb9248c9bc138b6b59082856a90226ae7231197c3d37b2e

See more details on using hashes here.

Provenance

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