SurrogatesBase.jl: A Common Interface for Surrogate Libraries
API for deterministic and stochastic surrogates.
Given data $((x_1, y_1), \ldots, (x_N, y_N))$ obtained by evaluating a function $y_i = f(x_i)$ or sampling from a conditional probability density $p_{Y|X}(Y = y_i|X = x_i)$, a deterministic surrogate is a function $s(x)$ (e.g. a radial basis function interpolator) that uses the data to approximate $f$ or some statistic of $p_{Y|X}$ (e.g. the mean), whereas a stochastic surrogate is a stochastic process (e.g. a Gaussian process approximation) that uses the data to approximate $f$ or $p_{Y|X}$and quantify the uncertainty of the approximation.
Installation
To install SurrogatesBase.jl, use the Julia package manager:
using Pkg
Pkg.add("SurrogatesBase")Contributing
Please refer to the SciML ColPrac: Contributor's Guide on Collaborative Practices for Community Packages for guidance on PRs, issues, and other matters relating to contributing to SciML.
See the SciML Style Guide for common coding practices and other style decisions.
There are a few community forums:
- The #diffeq-bridged and #sciml-bridged channels in the Julia Slack
- The #diffeq-bridged and #sciml-bridged channels in the Julia Zulip
- On the Julia Discourse forums
- See also SciML Community page