master
Steve L. Nyemba 8 years ago
parent de47356a62
commit 537f359527

@ -15,8 +15,9 @@ nm = np.matrix([x__,y__])
cx = np.cov(nm) cx = np.cov(nm)
print cx.shape print cx.shape
x = np.array([1.9,3]) x = np.array([1.9,3])
n = 2
a = 1/ np.sqrt(2*np.pi) a = 1/ np.sqrt((2*np.pi**k)*np.det(cx))
b = np.exp(() )
#from scipy.stats import multivariate_normal #from scipy.stats import multivariate_normal
#print multivariate_normal.pdf(x,u,cx) #print multivariate_normal.pdf(x,u,cx)

Loading…
Cancel
Save