Loading...
Searching...
No Matches
StableBasis.h File Reference
#include <Eigen/Core>
#include <algorithm>
#include <cmath>
#include <cstdlib>
#include <limits>
#include <memory>
#include <mutex>
#include <stdexcept>
#include <string>
#include <vector>
#include "gpr/linalg/MpiContext.h"
#include "gpr/ml/gp/ExtendedReal.h"
#include "gpr/ml/gp/RigidNullDeflation.h"

Go to the source code of this file.

Classes

struct  gpr::StableBasisPosteriorWeights
struct  gpr::BorderedVarianceInterval
struct  gpr::BorderedNoiseReport
class  gpr::StableBasis1D
class  gpr::StableBasisND
struct  gpr::StableBasisND::SchurFloorReport
 What floorCertifiedSchurDiagonal did to a diagonal. More...

Namespaces

namespace  gpr
 Gaussian-process regression, kernels, priors, and the searches that run on the surrogate.
namespace  gpr::linalg
 Dense and structured linear algebra behind the GP: Cholesky and eigen solvers, linear operators, backend selection.

Enumerations

enum class  gpr::BorderedSchurSign { gpr::ClampNegative , gpr::PreserveSigned }

Functions

double gpr::looVarianceCalibrationFactor (const Eigen::VectorXd &alpha, const Eigen::VectorXd &inv_diag)
bool gpr::looCalibrationIsUnityFromCholeskyDiagonal (const Eigen::VectorXd &alpha, const Eigen::VectorXd &diagonal)
bool gpr::stabilizePosteriorCovariance (Eigen::MatrixXd &covariance)
 Project a rounded covariance onto the positive-semidefinite cone while preserving its nonnegative diagonal exactly.
bool gpr::subtractStableBasisProjectedCrossCovariance (const StableBasisND &basis, const Eigen::MatrixXd &Kstar, const Eigen::MatrixXd &Kright, const Eigen::MatrixXd &prior, double total_sigma2, Eigen::MatrixXd &K_post, bool contracted_mean=false, Eigen::Index left_queries=1, Eigen::Index right_queries=1)