Loading...
Searching...
No Matches
KernelOperator.cpp File Reference
#include "KernelOperator.h"
#include <cmath>
#include <limits>
#include <stdexcept>
#include <string>
#include <typeinfo>
#include <utility>
#include "ConditionedKernel.h"
#include "SexpatCF.h"
#include "SpeciesEnvironmentKernel.h"

Go to the source code of this file.

Namespaces

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

Functions

KernelOperator::CrossCovarianceFunction gpr::makeKernelCrossCovariance (std::shared_ptr< const KernelOperator > kernel, const Eigen::MatrixXd &training)
KernelOperator::MeanFunction gpr::makeKernelMean (std::shared_ptr< const KernelOperator > kernel, const Eigen::MatrixXd &training, const Eigen::VectorXd &weights)
 Owning fitted mean, using the kernel's representation or its exact product.
KernelOperator::MeanHessianFunction gpr::makeAnalyticKernelMeanHessianVector (const std::shared_ptr< const KernelOperator > &kernel, const Eigen::MatrixXd &training, const Eigen::VectorXd &weights)
KernelOperator::MeanHessianPreparation gpr::makeAnalyticKernelMeanHessian (const std::shared_ptr< const KernelOperator > &kernel, const Eigen::MatrixXd &training, const Eigen::VectorXd &weights)
KernelOperator::MeanHessianFunction gpr::makeKernelMeanHessianVector (std::shared_ptr< const KernelOperator > kernel, const Eigen::MatrixXd &training, const Eigen::VectorXd &weights)
RefusalAwareHessianPreparation gpr::makeRefusalAwareKernelMeanHessian (std::shared_ptr< const KernelOperator > kernel, const Eigen::MatrixXd &training, const Eigen::VectorXd &weights, bool *all_exact=nullptr, bool *has_exact_or_refusal=nullptr)
 Prepare a fitted kernel Hessian action that propagates exact-child refusals through composite operators.
KernelOperator::MeanHessianPreparation gpr::makeKernelMeanHessian (std::shared_ptr< const KernelOperator > kernel, const Eigen::MatrixXd &training, const Eigen::VectorXd &weights)
KernelOperator::MeanHessianMatrixFunction gpr::makeKernelMeanHessianMatrix (std::shared_ptr< const KernelOperator > kernel, const Eigen::MatrixXd &training, const Eigen::VectorXd &weights)
 Dense mean Hessian of a kernel from the columns of its refusal-aware action. A failed column is Refused when an exact child refused it and Unavailable when only a generic child missed; the matrix is left empty in both cases.