Visible to Intel only — GUID: GUID-F541FBDE-315F-4890-96CD-648A48AB37AD
Visible to Intel only — GUID: GUID-F541FBDE-315F-4890-96CD-648A48AB37AD
Covariance
In statistics, covariance and correlation are two of the most fundamental measures of linear dependence between two random variables. The covariance and the correlation represent the joint variability of any two features. The correlation is dimensionless, while the covariance is measured in units obtained by multiplying the units of the two features. Another important distinction is that covariance can be affected by the higher variance of one feature, while correalation removes the effect of the variances by normalizing the covariance of two features by their square-root of variances. Their usage is application-dependent. The covariance algorithm computes the following:
Means
Covariance
Correlation
Operation |
Computational methods |
Programming Interface |
||
Mathematical formulation
Computing
Given a dataset with n feature vectors of dimension p, the means is a matrix, the covariance and the correlation matrices are square matrices. The means, the covariance, and the correlation are computed with the following formulas:
Statistic |
Definition |
---|---|
Means |
, where |
Covariance matrix |
, where , , |
Correlation matrix |
, where , , |
Computation method: dense
The method computes means, variance-covariance, or correlation matrix for the dense data. This is the default and the only method supported.
Programming Interface
Refer to API Reference: Covariance.
Distributed mode
The algorithm supports distributed execution in SMPD mode (only on GPU).