geoml.kernels
Covariance functions. A kernel is handed to a GP node together with a transform, which is what carries the ranges and the anisotropy: the kernel says how correlation falls with distance, and the transform says what distance means.
- class geoml.kernels.Linear(transform=Identity())[source]
Bases:
_AbstractCovarianceLinear covariance
- point_variance(x)[source]
Computes the data points’ self variance (covariance between the point and itself).
- class geoml.kernels.Product(*args)[source]
Bases:
_NodeCovarianceKernel product
- covariance_matrix_d1(x, y, dir_y)[source]
Computes point-direction covariance matrix between x and y tensors.
- class geoml.kernels.Scale(base_covariance)[source]
Bases:
_WrapperCovarianceKernel scaling.
Add a parameter allowing for non-unit variance.
- point_variance(x)[source]
Computes the data points’ self variance (covariance between the point and itself).
- covariance_matrix_d1(x, y, dir_y)[source]
Computes point-direction covariance matrix between x and y tensors.