Skip to content

Commit 1d8205d

Browse files
committed
Update README.md
1 parent e5dcbbd commit 1d8205d

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

README.md

+17-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,20 @@
11
cpi-stats
22
=========
33

4-
消費者物価指数の弄ってみる
4+
ロジスティクス回帰のアルゴリズムを実装してみた
5+
推定対象の関数はsin関数を選んだ。0.0から1.0の範囲内で平均値0.0, 分散が0.2に従うガウスノイズを加えたものを10点用意。
6+
それを訓練データとした。モデルは20次の多項式関数を使用。
7+
8+
9+
## 最尤推定
10+
グラフで青点が訓練データ。緑実践が推定モデル。
11+
![LeastSquares_lambda](https://raw.github.com/PhysicsEngine/cpi-stats/master/results/LeastSquares_lambda.png)
12+
13+
## MAP推定
14+
グラフで青点が訓練データ。緑実践が推定モデル。
15+
![LeastSquares](https://raw.github.com/PhysicsEngine/cpi-stats/master/results/LeastSquares.png)
16+
17+
## ベイズ推定
18+
ベイス推定においては緑実践が各点における平均値で、緑点線が1σに対応する範囲
19+
![BayesEstimation](https://raw.github.com/PhysicsEngine/cpi-stats/master/results/BayesEstimation.png)
20+

0 commit comments

Comments
 (0)