- brainpy.measure.weighted_correlation(x, y, w)#
Weighted Pearson correlation of two data series.
x (tensor) – The data series 1.
y (tensor) – The data series 2.
w (tensor) – Weight vector, must have same length as x and y.
corr – Weighted correlation coefficient.
- Return type