pystra.active_learning.surrogates.KrigingSurrogate#
Use it: User guide · Worked example · Theory
- class KrigingSurrogate(*, n_restarts=2, noise=1e-10, seed=None)[source]#
Bases:
SurrogateMatérn 5/2 Gaussian process with normalized response.
Parameters are keyword-only.
noiseis a positive numerical nugget;n_restartscontrols additional likelihood optimization starts.seedowns the scikit-learn optimizer’s random state. Requirespip install 'pystra[al]'. Inputs are normal coordinates.Methods
Fit normal-coordinate observations; reject nonfinite inputs.
Return posterior mean/std; raise RuntimeError before fitting.