Loading...
Searching...
No Matches
FreeEnergySurrogate.h File Reference

Gaussian process surrogate of a free energy F(s) on collective variables, with optional observed gradients. More...

#include <Eigen/Dense>
#include <cstdint>
#include <stdexcept>
#include <string>
#include <vector>

Go to the source code of this file.

Classes

class  gpr::bo::FreeEnergyCholeskyError
 The training covariance did not factor at the fitted hyperparameters. More...
class  gpr::bo::FreeEnergyInferenceError
 Hyperparameter inference produced no usable posterior. More...
class  gpr::bo::FreeEnergyRateUnsupportedError
class  gpr::bo::FreeEnergySaddleNotFoundError
struct  gpr::bo::FreeEnergySurrogateConfig
struct  gpr::bo::FreeEnergyObservations
struct  gpr::bo::FreeEnergyFitReport
 Last hyperparameter fit. More...
struct  gpr::bo::FreeEnergyPathPosterior
struct  gpr::bo::KramersRateConfig
struct  gpr::bo::KramersRateSummary
class  gpr::bo::FreeEnergySurrogate

Namespaces

namespace  gpr
 Gaussian-process regression, kernels, priors, and the searches that run on the surrogate.
namespace  gpr::bo

Functions

Eigen::VectorXd gpr::bo::freeEnergyNoiseFromWeights (const Eigen::VectorXd &weights, double reference_variance, double min_relative_weight)

Detailed Description

Gaussian process surrogate of a free energy F(s) on collective variables, with optional observed gradients.

The observations are free energies F at points s of a d-dimensional collective-variable space, each with its own noise variance, and optionally the gradient of F at some of those points. The prior is a squared-exponential covariance of the scaled distance (one length scale, or one per coordinate) around a constant mean equal to the arithmetic mean of the F observations. Every covariance between values, gradients and Hessians of F is a derivative of the radial profile of gpr/derivatives/RadialMeanDerivatives.h, taken with the nested forward automatic differentiation of gpr/derivatives/NestedAutoDiff.h; the mean gradient and Hessian are that header's radial-mean expansion.

The surrogate never sees a bias potential: callers convert biased sampling into F and its uncertainty before training.

Definition in file FreeEnergySurrogate.h.