Skip to Content
Think Bayes ―プログラマのためのベイズ統計入門
book

Think Bayes ―プログラマのためのベイズ統計入門

by Allen B. Downey, 黒川 利明
September 2014
Intermediate to advanced
236 pages
4h 17m
Japanese
O'Reilly Japan, Inc.
Content preview from Think Bayes ―プログラマのためのベイズ統計入門
190
15
次元を扱う
が多い。それが、単純な版から始めるのがよいと私が考える
1
つの理由である。それは
リグレッションテスト(
regression testing
)にも使える。私は、両方の版の結果をグラフ
にして、それらがほぼ等しく、反復回数を増やすと収束することを確かめた。
15.7
 もう
1
つの問題
コードの最適化にはまだやることがあるが、それより先にまず片付けなければならな
い問題がある。観察した種族の個数が増えるにつれて、この版では、ノイズが増えて、
よい答えに収束させるためにさらに多くの繰り返し処理が必要となる。
問題は、ディリクレ分布から選んだ占有率
ps
が、少なくとも近似的に正しくないと
なると、観察したデータの尤度がゼロに近くなり、
n
のすべての値について、ほぼ同じ
ようにまずいことになることだ。したがって、繰り返しのほとんどが、全体尤度に対し
て有用な貢献ができない。観察した種族の個数
m
が大きくなるに連れて、無視できない
尤度を持つ
ps
を選ぶ確率が小さくなる。本当に小さくなってしまうのだ。
幸いなことに解決法がある。データの集まりを観察したら、全体データ集合で事前
確率を更新できること、あるいは、それを分割して、データの部分集合について一連
の更新を行う事ができて、どちらにしても結果は同じであることを覚えておくことだ。
この例題については、鍵となるのは、更新を一時に一種族について行うことだ。そう
すれば、
ps
のランダム集合を生成するときに、
1
つだけが計算した尤度に影響し、優れ
たものを選ぶ ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Think Stats 第2版 ―プログラマのための統計入門

Think Stats 第2版 ―プログラマのための統計入門

Allen B. Downey, 黒川 利明, 黒川 洋

Publisher Resources

ISBN: 9784873116945Other