UNIT4 - Part2 Aiml
UNIT4 - Part2 Aiml
UNIT - 4
1
OUTLINE
Artificial Neural Networks - Introduction, Neural Network
Representation, Appropriate problems for Neural Network Learning,
Perceptrons, Multilayer Networks and the Backpropagation algorithm.
Bayesian Learning - Introduction, Bayes theorem, Naive Bayes
Classifier, The EM Algorithm.
Chapter 4 and 6(6.1,6.2,6.9,6.12 ) of TextBook2
P(h|D) increases with P(h) and with P(D|h) according to Bayes theorem.
P(h|D) decreases as P(D) increases, because the more probable it is that D will
be
observed independent of h, the less evidence D provides in support of h.
BAYES THEOREM
Maximum a posteriori (MAP) hypothesis
The learner considers some set of candidate hypotheses H and is interested in
finding the most probable hypothesis h ∈ H given the observed data D. Any such
maximally probable hypothesis is called a maximum a posteriori (MAP)
hypothesis.
Bayes theorem to calculate the posterior probability of each candidate hypothesis
is hMAP is a MAP hypothesis provided
P(D|h) is often called the likelihood of the data D given h, and any hypothesis
that maximizes P(D|h) is called a maximum likelihood (ML) hypothesis
DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING 13
BAYES THEOREM - Example
Consider a medical diagnosis problem in which there are two alternative hypotheses:
(1) Patient has a particular form of cancer (+)
(2) Patient does not have any form of cancer (-)
A patient takes a lab test and the results comes positive.
The test returns a correct positive result in only 98% of the cases in which the disease is
actually present and a correct negative result in only 97% of the cases in which the disease is
not present.
Furthermore, 0.008 of the entire population have this cancer.
Determine whether the patient has Cancer or not using MAP hypothesis
The available data is from a particular laboratory with two possible outcomes:
+ (positive) and - (negative)
1 - 0.008 = 0.992
2 /100 = 0.02
3 /100 = 0.03
DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING 15
BAYES THEOREM - Example
Suppose a new patient is observed for whom the lab test returns a
positive (+) result.
Should we diagnose the patient as having cancer or not?
Hence, the new patient with lab test positive is not having cancer
DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING 16
BAYES THEOREM