.. index:: pair: struct; gpr::bo::ScalarLikelihoodData .. _doxid-structgpr_1_1bo_1_1_scalar_likelihood_data: struct gpr::bo::ScalarLikelihoodData ==================================== .. toctree:: :hidden: Overview ~~~~~~~~ Observations the marginal likelihood is evaluated on. :ref:`More...` .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include struct ScalarLikelihoodData { // fields Eigen::MatrixXd :ref:`x`; Eigen::VectorXd :target:`y`; Eigen::VectorXd :ref:`noise_variances`; Eigen::MatrixXd :ref:`basis`; :ref:`RadialKind` :target:`radial` = :ref:`RadialKind::SquaredExponential`; std::vector :ref:`categorical`; }; .. _details-structgpr_1_1bo_1_1_scalar_likelihood_data: Detailed Documentation ~~~~~~~~~~~~~~~~~~~~~~ Observations the marginal likelihood is evaluated on. Fields ------ .. index:: pair: variable; x .. _doxid-structgpr_1_1bo_1_1_scalar_likelihood_data_1adced61e84658d915bac01a4406785668: .. ref-code-block:: cpp :class: doxyrest-title-code-block Eigen::MatrixXd x Row i is the parameter vector of observation i. .. index:: pair: variable; noise_variances .. _doxid-structgpr_1_1bo_1_1_scalar_likelihood_data_1a6721d4df2e9894159d265b8f85fa199a: .. ref-code-block:: cpp :class: doxyrest-title-code-block Eigen::VectorXd noise_variances One noise variance per row. Empty: every row shares the noise_variance hyperparameter, which is then fitted. .. index:: pair: variable; basis .. _doxid-structgpr_1_1bo_1_1_scalar_likelihood_data_1aa69f409acd2761bf5c3877a1c21701f4: .. ref-code-block:: cpp :class: doxyrest-title-code-block Eigen::MatrixXd basis Row i is phi(x_i)^T of the mean basis. Zero columns: zero mean. .. index:: pair: variable; categorical .. _doxid-structgpr_1_1bo_1_1_scalar_likelihood_data_1a3dc9ef6ce9f6c69ff7f2e75461a0f27f: .. ref-code-block:: cpp :class: doxyrest-title-code-block std::vector categorical One flag per axis: true for an axis of unordered labels, compared as in :ref:`ScaledEuclideanDistance `. Empty: every axis is ordered.