laplacekit_gp.Kernel
Kernel()A covariance function \(k\), evaluated between two batches of inputs.
Methods
| Name | Description |
|---|---|
| call | The kernel matrix \(k(x_i, y_j)\) for every pair of rows. |
call
Kernel.__call__(x, y, /)The kernel matrix \(k(x_i, y_j)\) for every pair of rows.
Parameters
| Name | Type | Description | Default |
|---|---|---|---|
| x | Tensor | Inputs [n, ...]. |
required |
| y | Tensor | Inputs [m, ...], with as many entries per row as x. |
required |
Returns
| Name | Type | Description |
|---|---|---|
| Tensor | The kernel matrix, [n, m]. |
Raises
| Name | Type | Description |
|---|---|---|
| StructureError | Implementations may raise it when x or y does not fit the kernel. |