MultiOutputKernel#
- class gpjax.kernels.MultiOutputKernel(active_dims=None, n_dims=None, compute_engine=<gpjax.kernels.computations.dense.DenseKernelComputation object>)[source]#
Bases:
AbstractKernelBase class for multi-output kernels.
Multi-output kernels produce structured covariance matrices (Kronecker, BlockDiag, etc.) over the joint input-output space. They do not support point-pair evaluation via __call__; all computation goes through the compute engine’s gram() and cross_covariance() methods.
- Parameters:
- abstract property components: tuple[tuple[CoregionalizationMatrix, AbstractKernel], ...]#
Paired (coregionalization_matrix, kernel) components.
- cross_covariance(x, y)[source]#
Cross-covariance for multi-output kernels.
Returns shape [NP, MP] where P is num_outputs — overrides the single-output [N, M] annotation.
- Parameters:
x (Num[Array, 'N D'])
y (Num[Array, 'M D'])
- Return type:
Float[Array, …]
- abstract property latent_kernels: tuple[AbstractKernel, ...]#
Tuple of latent kernels.