matflow.param_classes.surrogate#

Surrogate model building, fitting, and Bayesian inference with Scikit-learn and PyMC.

Note: some methods of the Surrogate class require additional dependencies that are not included by MatFlow; namely: sklearn, pytensor, pymc, and on Windows, sklearnex.

This code is taken entirely (with minor modifications) from: LightForm-group/surrogatetools.

Some imports (including skops.io, scipy.stats, and scipy.optimize) are inlined into the methods where they are needed to reduce the effect on MatFlow’s import time.

Classes

Surrogate