回答編集履歴
2
修正
test
CHANGED
@@ -38,7 +38,7 @@
|
|
38
38
|
|
39
39
|
- plt.plot(xs, norm, color="red")
|
40
40
|
|
41
|
-
+ ys = norm.pdf(xs, loc=mu, scale=std_predicted)
|
41
|
+
+ ys = norm.pdf(xs, loc=mu_predicted, scale=std_predicted)
|
42
42
|
|
43
43
|
+ plt.plot(xs, ys, color="red")
|
44
44
|
|
@@ -112,7 +112,7 @@
|
|
112
112
|
|
113
113
|
|
114
114
|
|
115
|
-
ys = norm.pdf(xs, loc=mu, scale=std_predicted)
|
115
|
+
ys = norm.pdf(xs, loc=mu_predicted, scale=std_predicted)
|
116
116
|
|
117
117
|
plt.plot(xs, ys, color="red")
|
118
118
|
|
1
修正
test
CHANGED
@@ -25,6 +25,10 @@
|
|
25
25
|
|
26
26
|
|
27
27
|
正規分布の確率密度関数の値の計算は scipy.stats.norm.pdf に置き換え
|
28
|
+
|
29
|
+
|
30
|
+
|
31
|
+
パラメータの指定方法 `scipy.stats.norm(x, loc=μ, scale=σ)`
|
28
32
|
|
29
33
|
|
30
34
|
|