Geschreven door studenten die geslaagd zijn Direct beschikbaar na je betaling Online lezen of als PDF Verkeerd document? Gratis ruilen 4,6 TrustPilot
logo-home
Samenvatting

Summary application of Bayes rule

Beoordeling
-
Verkocht
-
Pagina's
2
Geüpload op
02-01-2022
Geschreven in
2007/2008

Consider again the example of application of Bayes rule

Instelling
Vak

Voorbeeld van de inhoud

Machine Learning
Exercises Chapter 6


March 22, 2009



1. (Exercise 6.1 from the book) Consider again the example of application of Bayes rule in Section
6.2.1. Suppose the doctor decides to order a second laboratory test for the same patient, and
suppose the second test returns a positive result as well. What are the posterior probabilities of
cancer and ¬cancer following these two tests? Assume that the two tests are independent.
The prior probability of someone having cancer is P (cancer) = 0.008. If you have cancer, the test
will detect this with P (+|cancer) = 0.98 chance. If you do not have cancer, the test will fail with
P (+|¬cancer) = 0.03.
2. (Exercise 6.2 from the book) In the example of Section 6.2.1 we computed the posterior probability
of cancer by normalizing the quantities P (+|cancer) · P (cancer) and P (+|¬cancer) · P (¬cancer)
so that they summed to one. Use Bayes theorem and the theorem of total probability (see Table
6.1) to prove that this method is valid (i.e., that normalizing in this way yields the correct value
for P (cancer|+).
3. (Exercise 6.3 from the book) Consider the concept learning algorithm F indG, which outputs a
maximally general consistent hypothesis (e.g., some maximally general member of the version
space).
(a) Give a distribution for P (h) and P (D|h) under which F indG is guaranteed to output a MAP
hypothesis.
(b) Give a distribution for P (h) and P (D|h) under which F indG is not guaranteed to output a
MAP hypothesis.
(c) Give a distribution for P (h) and P (D|h) under which F indG is guaranteed to output a ML
hypothesis but not a MAP hypothesis.
4. Consider the Bayesian network drawn in the figure below. Thus, the independence expressed in
this Bayesian net is: A and B are (absolutely) independent, C is independent of B given A. D is
independent of C given A and B. (Remark on notation: P (A) means P (A = true) and P (C|¬A)
means P (C = true|A = f alse).)


P (A) 0.3
P (B) 0.6 A B
P (C|A) 0.8
P (C|¬A) 0.4
P (D|A, B) 0.7
P (D|A, ¬B) 0.8
P (D|¬A, B) 0.1 C D
P (D|¬A, ¬B) 0.2


Calculate (using Bayes Theorem, Product rule and Equation 6.23): P (D), P (A|C) and P (A, D|¬B).




1

Geschreven voor

Instelling
Vak

Documentinformatie

Geüpload op
2 januari 2022
Aantal pagina's
2
Geschreven in
2007/2008
Type
SAMENVATTING

Onderwerpen

$7.99
Krijg toegang tot het volledige document:

Verkeerd document? Gratis ruilen Binnen 14 dagen na aankoop en voor het downloaden kun je een ander document kiezen. Je kunt het bedrag gewoon opnieuw besteden.
Geschreven door studenten die geslaagd zijn
Direct beschikbaar na je betaling
Online lezen of als PDF

Maak kennis met de verkoper
Seller avatar
riyadhalgburi

Maak kennis met de verkoper

Seller avatar
riyadhalgburi Southwest Jiaotong University
Volgen Je moet ingelogd zijn om studenten of vakken te kunnen volgen
Verkocht
-
Lid sinds
4 jaar
Aantal volgers
0
Documenten
33
Laatst verkocht
-

0.0

0 beoordelingen

5
0
4
0
3
0
2
0
1
0

Recent door jou bekeken

Waarom studenten kiezen voor Stuvia

Gemaakt door medestudenten, geverifieerd door reviews

Kwaliteit die je kunt vertrouwen: geschreven door studenten die slaagden en beoordeeld door anderen die dit document gebruikten.

Niet tevreden? Kies een ander document

Geen zorgen! Je kunt voor hetzelfde geld direct een ander document kiezen dat beter past bij wat je zoekt.

Betaal zoals je wilt, start meteen met leren

Geen abonnement, geen verplichtingen. Betaal zoals je gewend bent via iDeal of creditcard en download je PDF-document meteen.

Student with book image

“Gekocht, gedownload en geslaagd. Zo makkelijk kan het dus zijn.”

Alisha Student

Bezig met je bronvermelding?

Maak nauwkeurige citaten in APA, MLA en Harvard met onze gratis bronnengenerator.

Bezig met je bronvermelding?

Veelgestelde vragen