Implementing Bayesian inference using PHP: Part 1, IBM developerWorks, March 2004.
Conditional probability -- the probability of observing one event given that you have observed another event -- is a potentially important factor in designing intelligent Web applications. Paul Meagher introduces Bayesian inference by discussing the basic mathematical concepts involved and demonstrating how to implement the underlying conditional probability calculations using PHP. In this article, the author discusses how Bayesian inference can be used to build an online PHP-based wizard that guides a user through the process making a medical diagnosis. This three-part series features interesting applications designed to help you appreciate the power and potential of Bayesian inference concepts.
Last updated: Feb 27, 2004 - 4:30 PM AST
Demos:
Source code listing: