.. index:: pair: struct; gpr::bo::ParameterObservation .. _doxid-structgpr_1_1bo_1_1_parameter_observation: struct gpr::bo::ParameterObservation ==================================== .. toctree:: :hidden: Overview ~~~~~~~~ One evaluated parameter vector, as :ref:`ParameterSearch::observe() ` takes it. :ref:`More...` .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include struct ParameterObservation { // fields Eigen::VectorXd :target:`parameters`; double :target:`loss` = 0.0; double :ref:`noise_variance` = -1.0; double :ref:`constraint` = std::numeric_limits::quiet_NaN(); }; .. _details-structgpr_1_1bo_1_1_parameter_observation: Detailed Documentation ~~~~~~~~~~~~~~~~~~~~~~ One evaluated parameter vector, as :ref:`ParameterSearch::observe() ` takes it. Fields ------ .. index:: pair: variable; noise_variance .. _doxid-structgpr_1_1bo_1_1_parameter_observation_1ace7abbe641f3cc1ea5289c62cc9c211a: .. ref-code-block:: cpp :class: doxyrest-title-code-block double noise_variance = -1.0 Variance of the noise in loss. Negative: not supplied, and the shared noise variance of the surrogate applies. .. index:: pair: variable; constraint .. _doxid-structgpr_1_1bo_1_1_parameter_observation_1a61725d2e05c40e14a135ed7c30d9e725: .. ref-code-block:: cpp :class: doxyrest-title-code-block double constraint = std::numeric_limits::quiet_NaN() Constraint value c(x): the point is feasible when it is at most zero. NaN: not supplied. A caller that knows only the outcome passes -1 for a feasible run and +1 for an infeasible one.