fips.covariance.CorrelationModel.correlation#

abstractmethod CorrelationModel.correlation(coords)[source]#

Return the correlation between the rows of coords.

Parameters:

coords (DataFrame) – One row per label, with a column for each level the model reads.

Returns:

The n x n correlation matrix, one on the diagonal.

Return type:

ndarray