.. index:: pair: struct; gpr::bo::FreeEnergySurrogateConfig .. _doxid-structgpr_1_1bo_1_1_free_energy_surrogate_config: struct gpr::bo::FreeEnergySurrogateConfig ========================================= .. toctree:: :hidden: Overview ~~~~~~~~ .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include struct FreeEnergySurrogateConfig { // fields bool :ref:`ard` = false; double :ref:`noise_variance` = 1e-4; double :ref:`jitter_variance` = 1e-4; Eigen::VectorXd :ref:`gradient_noise_variance`; double :ref:`signal_variance` = 0.0; int :ref:`max_iter` = 400; double :target:`tol_func` = 1e-3; double :target:`tol_sol` = 1e-3; int :ref:`report_level` = 0; }; .. _details-structgpr_1_1bo_1_1_free_energy_surrogate_config: Detailed Documentation ~~~~~~~~~~~~~~~~~~~~~~ Fields ------ .. index:: pair: variable; ard .. _doxid-structgpr_1_1bo_1_1_free_energy_surrogate_config_1a8ce8c3d2cf98ff0c08d439981230901f: .. ref-code-block:: cpp :class: doxyrest-title-code-block bool ard = false One length scale per coordinate when true, else one shared scale. .. index:: pair: variable; noise_variance .. _doxid-structgpr_1_1bo_1_1_free_energy_surrogate_config_1a1aed93d390688c6bb9fa96c8cbecab7e: .. ref-code-block:: cpp :class: doxyrest-title-code-block double noise_variance = 1e-4 Added to every value noise variance, in the units of F squared. .. index:: pair: variable; jitter_variance .. _doxid-structgpr_1_1bo_1_1_free_energy_surrogate_config_1ac1baeedec685f6799b5d02275c7a2cb5: .. ref-code-block:: cpp :class: doxyrest-title-code-block double jitter_variance = 1e-4 Added to the value diagonal with the noise. .. index:: pair: variable; gradient_noise_variance .. _doxid-structgpr_1_1bo_1_1_free_energy_surrogate_config_1a03c696dd23a474be381ecbdf008e00d9: .. ref-code-block:: cpp :class: doxyrest-title-code-block Eigen::VectorXd gradient_noise_variance Added to component k of every observed gradient, in the units of F squared per unit of coordinate k squared; one entry per coordinate. Empty selects (noise_variance + jitter_variance) / spread_k^2, with spread_k the standard deviation of the training points along k, so the default follows the unit of each coordinate. .. index:: pair: variable; signal_variance .. _doxid-structgpr_1_1bo_1_1_free_energy_surrogate_config_1ab8ac158f755af01cc59feca86eb8cc98: .. ref-code-block:: cpp :class: doxyrest-title-code-block double signal_variance = 0.0 Signal variance; zero fits it with the length scales. .. index:: pair: variable; max_iter .. _doxid-structgpr_1_1bo_1_1_free_energy_surrogate_config_1a26852b840ab872cd359dd4e07c291724: .. ref-code-block:: cpp :class: doxyrest-title-code-block int max_iter = 400 SCG iterations; zero keeps the initial hyperparameters. .. index:: pair: variable; report_level .. _doxid-structgpr_1_1bo_1_1_free_energy_surrogate_config_1a7868b1e08b8951a1f28b8068049451ad: .. ref-code-block:: cpp :class: doxyrest-title-code-block int report_level = 0 Optimizer report level in [0, 255].