From: Ealdwulf Wuffinga <ealdwulf@googlemail.com>
To: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Cc: git@vger.kernel.org
Subject: Re: bbchop & Wikipedia's Bayesian search theory page
Date: Mon, 17 Aug 2009 15:46:26 +0100 [thread overview]
Message-ID: <efe2b6d70908170746o36fca4bfy9db81a3a25878e4f@mail.gmail.com> (raw)
In-Reply-To: <alpine.DEB.1.00.0908161907580.8306@pacific.mpi-cbg.de>
On Sun, Aug 16, 2009 at 6:13 PM, Johannes
Schindelin<Johannes.Schindelin@gmx.de> wrote:
> I tried to find some documentation for Bayesian search theory, but it
> seems those ridiculous Wikipedia admins struck once again, in their
> mission to reduce the world's intellect to their own.
It looks like it is still there to me:
http://en.wikipedia.org/wiki/Bayesian_search_theory
It looks like github has included a ')' on the end when html-ifying
the link inthe README, making it into a dead link. I'll fix that.
The wikipedia article is still not amazing,though. Unfortunately most
of the online descriptions
of Bayesian Search Theory, such as:
http://www.sarinz.com/index.cfm/3,112,261/landsearchmethodsreview.pdf
seem to go heavily into the minutia of search-and-rescue, which while
interesting, is not
relevant to git.
However, although I got the idea of bbchop from search theory, it is
not necessary to know much
of search theory in order to understand bbchop. The basic algorithm is
very simple:
At each step, test the commit for which the expected gain of information (about
the location of the bug) is greatest.
That is basically all I got from search theory so far - the
calculation of the probability of the
bug existing in each location is standard bayesian probability theory,
which maybe you already
know. If not, a very readable reference is:
http://www.inference.phy.cam.ac.uk/mackay/itila/book.html (free on-line book).
So all the code does is compute N entropies and pick the best. Most of the
complexity is introduced by:
- calculating the N entropies without calculating N^2 probabilities
- calculations over a DAG.
Ealdwulf
prev parent reply other threads:[~2009-08-17 14:46 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-16 17:13 bbchop & Wikipedia's Bayesian search theory page Johannes Schindelin
2009-08-16 17:18 ` GitHub linking, was " Johannes Schindelin
2009-08-16 21:48 ` Scott Chacon
2009-08-17 14:46 ` Ealdwulf Wuffinga [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=efe2b6d70908170746o36fca4bfy9db81a3a25878e4f@mail.gmail.com \
--to=ealdwulf@googlemail.com \
--cc=Johannes.Schindelin@gmx.de \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox