質問編集履歴

1

コードの修正

2016/02/28 04:41

投稿

SouKonishi
SouKonishi

スコア7

test CHANGED
@@ -1 +1 @@
1
- numpyで「singular matrix」がでるときの対処法
1
+ Pythonで「singular matrix」がでるときの対処法
test CHANGED
@@ -7,6 +7,8 @@
7
7
 
8
8
 
9
9
  import numpy as np
10
+
11
+ from scipy import stats
10
12
 
11
13
  likelihood += stats.multivariate_normal.logpdf(x, μ, cov)
12
14