Answers for "correlation matrix with coefficient on python"

0

correlation coefficient python numpy example

>>> r = np.corrcoef(x, y)
>>> r
array([[1.        , 0.75864029],
       [0.75864029, 1.        ]])
>>> r[0, 1]
0.7586402890911867
>>> r[1, 0]
0.7586402890911869
Posted by: Guest on March-18-2021

Code answers related to "correlation matrix with coefficient on python"

Python Answers by Framework

Browse Popular Code Answers by Language