capaulson/pyKriging

Welcome to the User Friendly Python Kriging Toolbox!

What it solves

pyKriging helps you build mathematical models (surrogates) for processes that are too expensive or time-consuming to evaluate repeatedly. It allows you to approximate the behavior of a complex system using only a small set of data points, while also providing estimates of how uncertain those predictions are.

How it works

The library uses Kriging (Gaussian process regression) to create a model from your existing data. Once trained, you can use the model to predict outcomes for new inputs or calculate the "expected improvement" to determine exactly where you should sample next to gain the most information. It supports standard Kriging, regression Kriging for noisy data, and co-Kriging, which combines many cheap, low-fidelity data points with a few expensive, high-fidelity ones.

Who it’s for

It is designed for engineers, researchers, and data scientists performing surrogate modeling or multi-fidelity optimization who need to make informed decisions based on limited, costly experimental or simulation data.

Highlights

  • Supports multi-fidelity modeling via co-Kriging to blend cheap and expensive data.
  • Includes tools for generating optimal sampling plans, such as Latin hypercubes.
  • Provides built-in validation tools like leave-one-out cross-validation and Sobol' sensitivity analysis.
  • Offers optional GPU acceleration via CUDA for training models with large datasets.
  • Enables reproducible results through configurable random seeds.

Related

  • Project
  • Project
  • Project
  • Project