Answers for "covariance python"

2

covariance matrix python

import numpy as np

A = [45,37,42,35,39]
B = [38,31,26,28,33]
C = [10,15,17,21,12]

data = np.array([A,B,C])

covMatrix = np.cov(data,bias=True)
print (covMatrix)
Posted by: Guest on April-17-2021

Code answers related to "covariance python"

Python Answers by Framework

Browse Popular Code Answers by Language