Gaussian process over a free energy F(s) on collective variables. Point arrays are s(dimension, n): one column per point. More...
Public Member Functions | |
| procedure | dimension (self) |
| procedure | n_observations (self) |
| procedure | train (self, s, f, f_noise_var, grad_f, grad_noise_var, grad_present, stat, errmsg) |
| Train on F at the columns of s. grad_F and grad_noise_var must have the shape of s (dimension x n). grad_present (n) is with them, or all three are absent. Any other shape is rejected. | |
| procedure | predict (self, s, f, grad_f, var_f, stat, errmsg) |
| Posterior mean F(n) at the n columns of s, with the mean gradient grad_F(dimension, n) and the latent variance var_F(n) when present. Outputs of any other shape are rejected unwritten. | |
| procedure | rate_path (self, path, reactant, product, diffusion, config, report, stat, errmsg) |
| Posterior-sampled Kramers rate along the columns of path. The indices are 1-based; diffusion(dimension) is the diagonal of the diffusion tensor. | |
| procedure | is_valid (self) |
| procedure | get_handle (self) |
| procedure | release (self) |
| generic, public | assignment assign |
| final | fes_finalize (self) |
| type(fessurrogate) function | fes_constructor (dimension, model_config, fes_config, grad_noise_var, stat, errmsg) |
| Create a surrogate; absent configurations take the library defaults. grad_noise_var(dimension) is added to each observed gradient component; absent, the library divides the value noise by the squared spread of the training points along each coordinate. | |
Public Attributes | |
| integer, pointer | references => null() |
Gaussian process over a free energy F(s) on collective variables. Point arrays are s(dimension, n): one column per point.
Definition at line 2826 of file gpridge.f90.
|
final |
Definition at line 2841 of file gpridge.f90.
| generic, public gpridge::fessurrogate::assignment |
Definition at line 2840 of file gpridge.f90.
| procedure gpridge::fessurrogate::dimension | ( | class(fessurrogate), intent(in) | self | ) |
Definition at line 2831 of file gpridge.f90.
| type(fessurrogate) function gpridge::fessurrogate::fes_constructor | ( | integer, intent(in) | dimension, |
| type(modelconfig), intent(in), optional | model_config, | ||
| type(fesconfig), intent(in), optional | fes_config, | ||
| real(c_double), dimension(:), intent(in), optional | grad_noise_var, | ||
| integer, intent(out), optional | stat, | ||
| character(len=*), intent(inout), optional | errmsg ) |
Create a surrogate; absent configurations take the library defaults. grad_noise_var(dimension) is added to each observed gradient component; absent, the library divides the value noise by the squared spread of the training points along each coordinate.
Definition at line 5583 of file gpridge.f90.
| procedure gpridge::fessurrogate::get_handle | ( | class(fessurrogate), intent(in) | self | ) |
Definition at line 2837 of file gpridge.f90.
| procedure gpridge::fessurrogate::is_valid | ( | class(fessurrogate), intent(in) | self | ) |
Definition at line 2836 of file gpridge.f90.
| procedure gpridge::fessurrogate::n_observations | ( | class(fessurrogate), intent(in) | self | ) |
Definition at line 2832 of file gpridge.f90.
| procedure gpridge::fessurrogate::predict | ( | class(fessurrogate), intent(in) | self, |
| real(c_double), dimension(:,:), intent(in), contiguous | s, | ||
| real(c_double), dimension(:), intent(inout) | f, | ||
| real(c_double), dimension(:,:), intent(inout), optional | grad_f, | ||
| real(c_double), dimension(:), intent(inout), optional | var_f, | ||
| integer, intent(out), optional | stat, | ||
| character(len=*), intent(inout), optional | errmsg ) |
Posterior mean F(n) at the n columns of s, with the mean gradient grad_F(dimension, n) and the latent variance var_F(n) when present. Outputs of any other shape are rejected unwritten.
Definition at line 2834 of file gpridge.f90.
| procedure gpridge::fessurrogate::rate_path | ( | class(fessurrogate), intent(in) | self, |
| real(c_double), dimension(:,:), intent(in), contiguous | path, | ||
| integer, intent(in) | reactant, | ||
| integer, intent(in) | product, | ||
| real(c_double), dimension(:), intent(in), contiguous | diffusion, | ||
| type(fesrateconfig), intent(in) | config, | ||
| type(fesratereport), intent(inout) | report, | ||
| integer, intent(out), optional | stat, | ||
| character(len=*), intent(inout), optional | errmsg ) |
Posterior-sampled Kramers rate along the columns of path. The indices are 1-based; diffusion(dimension) is the diagonal of the diffusion tensor.
Definition at line 2835 of file gpridge.f90.
| procedure gpridge::fessurrogate::release | ( | class(fessurrogate), intent(inout) | self | ) |
Definition at line 2838 of file gpridge.f90.
| procedure gpridge::fessurrogate::train | ( | class(fessurrogate), intent(inout) | self, |
| real(c_double), dimension(:,:), intent(in), contiguous | s, | ||
| real(c_double), dimension(:), intent(in), contiguous | f, | ||
| real(c_double), dimension(:), intent(in), optional | f_noise_var, | ||
| real(c_double), dimension(:,:), intent(in), optional | grad_f, | ||
| real(c_double), dimension(:,:), intent(in), optional | grad_noise_var, | ||
| logical, dimension(:), intent(in), optional | grad_present, | ||
| integer, intent(out), optional | stat, | ||
| character(len=*), intent(inout), optional | errmsg ) |
Train on F at the columns of s. grad_F and grad_noise_var must have the shape of s (dimension x n). grad_present (n) is with them, or all three are absent. Any other shape is rejected.
Definition at line 2833 of file gpridge.f90.
| integer, pointer gpridge::fessurrogate::references => null() |
Definition at line 2829 of file gpridge.f90.