API Reference#
gpCAM comes with two main classes: the gpOptimizer, for single-task Gaussian processes and Bayesian optimization, and the fvgpOptimizer for the multi-task equivalent. Both are capable of dealing with non-Euclidean input spaces and world-record-holding scaling of exact GPs.
These optimizer classes are a thin Bayesian-optimization layer on top of the
fvGP engine — most of the GP machinery (kernels,
training, posterior evaluation) is inherited from fvgp.GP, and acquisition-function
optimization can run on supercomputers via HGDL.
To get to know gpCAM, check out the examples, download the
repository and look in ./tests, or visit the project
website.
New in fvgp 4.8 (gpCAM 8.4)#
Because the optimizers inherit from fvgp.GP, the following fvgp 4.8 additions are
available directly on any GPOptimizer/fvGPOptimizer instance and are listed on the
gpOptimizer / fvgpOptimizer pages:
Model-validation metrics —
mae,mape,msll,interval_score,mpiw, andcoverage_curvefor quantifying predictive accuracy and calibration, plusplot_observed_vs_predictedfor a quick diagnostic plot.New kernels —
bumpandsle_kernel(in addition to the existing library), all re-exported throughgpcam.kernelsand documented on the Kernels page.Linear-algebra modes — the
linalg_modeargument now acceptsCholInv/Inv(the replacement for the removedcalc_invoption) and preconditioned sparse solvers such assparseCGpre/sparseMINRESprefor large gp2Scale problems.
See Also#
Have suggestions for the API or found a bug?
Please submit an issue on GitHub.