GP.calculate_stored_values

GP.calculate_stored_values#

GP.calculate_stored_values(p: Any) Any[source]#

Calculate a PyTree of stored values from the decomposition of the covariance matrix. The values stored depend on the choice of Kernel object and are returned by its decomp_fn method. E.g. for LuasKernel this will include eigenvalues and matrices calculated from the eigendecompositions of its component covariance matrices.

Parameters:

p (PyTree) – Pytree of hyperparameters used to calculate the covariance matrix. Any mean function parameters included will not affect this function.

Returns:

Stored values from the decomposition of the covariance matrix. The specific values contained in this PyTree depend on the choice of Kernel object and are returned by the decomp_fn method of each Kernel class.

Return type:

PyTree