Obsidian
Probabilistic Geophysical Joint Inversion
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
kernel.hpp File Reference

Contains the interface for Gaussian Process kernels. More...

#include "datatype/world.hpp"
Include dependency graph for kernel.hpp:
This graph shows which files directly or indirectly include this file:

Namespaces

 obsidian
 
 obsidian::world
 

Functions

Eigen::MatrixXd obsidian::world::sqExp (const Eigen::MatrixXd &x1, const Eigen::MatrixXd &x2, const Eigen::VectorXd &lengthScale, bool noisy=false)
 Compute a covariance matrix using the square exponential function. More...
 
Eigen::MatrixXd obsidian::world::sqExp2d (const Eigen::Matrix< double, 2,-1 > &x1, const Eigen::Matrix< double, 2,-1 > &x2, const Eigen::Vector2d &lengthScale, bool noisy=false)
 Compute a covariance matrix using the squared exponential function. This function is faster than sqExp, but only applies when the dimensions of the points is 2 (which is true for control points and query points). More...
 
Eigen::Vector2d obsidian::world::autoLengthScale (const std::pair< double, double > &x1x2, const std::pair< double, double > &y1y2, uint resx, uint resy)
 Get an appropriate length scale given the grid resolution and a smoothing factor. More...
 

Detailed Description

Contains the interface for Gaussian Process kernels.

Author
Darren Shen
Date
2014
License:
Affero General Public License version 3 or later