earthkit.meteo.score.array.pearson_correlation¶
- earthkit.meteo.score.array.pearson_correlation(x, y, axis=0)¶
Compute pearson correlation coefficient.
- Parameters:
x (
array-like) – Input arrays, shapes must matchy (
array-like) – Input arrays, shapes must matchaxis (
int) – Axis along which to compute correlation
- Returns:
Correlation, shape is the same as x with
axisremoved- Return type:
array-like