DOC PREVIEW
CMU CS 10708 - BN Semantics 1

This preview shows page 1-2-3-24-25-26-27-49-50-51 out of 51 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 51 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 51 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 51 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 51 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 51 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 51 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 51 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 51 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 51 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 51 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 51 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

BN Semantics 1Let’s start on BNs…What if variables are independent?Conditional parameterization – two nodesConditional parameterization – three nodesThe naïve Bayes model – Your first real Bayes NetWhat you need to know (From last class)AnnouncementsThis classCausal structurePossible queriesCar starts BNFactored joint distribution - PreviewNumber of parametersKey: Independence assumptions(Marginal) IndependenceConditional independenceThe independence assumptionExplaining awayWhat about probabilities? Conditional probability tables (CPTs)Joint distributionA general Bayes netQuestions????Today: The Representation Theorem – Joint Distribution to BNToday: The Representation Theorem – BN to Joint DistributionLet’s start proving it for naïve Bayes – From joint distribution to BNLet’s start proving it for naïve Bayes – From BN to joint distribution 1Let’s start proving it for naïve Bayes – From BN to joint distribution 2Today: The Representation TheoremLocal Markov assumption & I-mapsFactorized distributionsBN Representation Theorem – I-map to factorizationBN Representation Theorem – I-map to factorization: ProofDefining a BNBN Representation Theorem – Factorization to I-mapBN Representation Theorem – Factorization to I-map: ProofThe BN Representation TheoremIndependencies encoded in BNUnderstanding independencies in BNs – BNs with 3 nodesUnderstanding independencies in BNs – Some examplesUnderstanding independencies in BNs – Some more examplesAn active trail – ExampleActive trails formalizedActive trails and independence?More generally: Soundness of d-separationAdding edges doesn’t hurtExistence of dependency when not d-separatedMore generally: Completeness of d-separationInterpretation of completenessWhat you need to knowAcknowledgements1BN Semantics 1Graphical Models – 10708Carlos GuestrinCarnegie Mellon UniversitySeptember 15th, 2006Readings:K&F: 3.1, 3.2, 3.310-708 – Carlos Guestrin 20062 Let’s start on BNs…Consider P(Xi)Assign probability to each xi 2 Val(Xi)Independent parametersConsider P(X1,…,Xn)How many independent parameters if |Val(Xi)|=k?10-708 –  Carlos Guestrin 20063 What if variables are independent?What if variables are independent?(Xi  Xj), 8 i,jNot enough!!! (See homework 1 )Must assume that (X  Y), 8 X,Y subsets of {X1,…,Xn} Can writeP(X1,…,Xn) = i=1…n P(Xi)How many independent parameters now?10-708 – Carlos Guestrin 20064 Conditional parameterization – two nodesGrade is determined by Intelligence10-708 – Carlos Guestrin 20065 Conditional parameterization – three nodesGrade and SAT score are determined by Intelligence(G  S | I)10-708 – Carlos Guestrin 20066 The naïve Bayes model – Your first real Bayes NetClass variable: CEvidence variables: X1,…,Xnassume that (X  Y | C), 8 X,Y subsets of {X1,…,Xn}10-708 – Carlos Guestrin 20067 What you need to know (From last class)Basic definitions of probabilitiesIndependenceConditional independenceThe chain ruleBayes ruleNaïve Bayes10-708 – Carlos Guestrin 20068 AnnouncementsHomework 1:Out yesterdayDue September 27th – beginning of class!It’s hard – start early, ask questionsCollaboration policyOK to discuss in groupsTell us on your paper who you talked withEach person must write their own unique paperNo searching the web, papers, etc. for answers, we trust you want to learnUpcoming recitationMonday 5:30-7pm in Wean 4615A – Matlab TutorialDon’t forget to register to the mailing list at:https://mailman.srv.cs.cmu.edu/mailman/listinfo/10708-announce10-708 – Carlos Guestrin 20069 This classWe’ve heard of Bayes nets, we’ve played with Bayes nets, we’ve even used them in your researchThis class, we’ll learn the semantics of BNs, relate them to independence assumptions encoded by the graph10-708 – Carlos Guestrin 200610 Causal structureSuppose we know the following:The flu causes sinus inflammationAllergies cause sinus inflammationSinus inflammation causes a runny noseSinus inflammation causes headachesHow are these connected?10-708 – Carlos Guestrin 200611 Possible queriesFluAllergySinusHeadacheNoseInferenceMost probable explanationActive data collection10-708 – Carlos Guestrin 200612 Car starts BN18 binary attributesInference P(BatteryAge|Starts=f)218 terms, why so fast?Not impressed?HailFinder BN – more than 354 = 58149737003040059690390169 terms10-708 – Carlos Guestrin 200613 Factored joint distribution - PreviewFluAllergySinusHeadacheNose10-708 – Carlos Guestrin 200614 Number of parametersFluAllergySinusHeadacheNose10-708 – Carlos Guestrin 200615 Key: Independence assumptionsFluAllergySinusHeadacheNoseKnowing sinus separates the variables from each other10-708 – Carlos Guestrin 200616 (Marginal) IndependenceFlu and Allergy are (marginally) independentMore Generally:Flu = t Flu = fAllergy = tAllergy = fAllergy = tAllergy = fFlu = tFlu = f10-708 – Carlos Guestrin 200617 Conditional independenceFlu and Headache are not (marginally) independentFlu and Headache are independent given Sinus infectionMore Generally:10-708 – Carlos Guestrin 200618 The independence assumption FluAllergySinusHeadacheNoseLocal Markov Assumption:A variable X is independentof its non-descendants given its parents (Xi  NonDescendantsXi | PaXi)10-708 – Carlos Guestrin 200619 Explaining awayFluAllergySinusHeadacheNoseLocal Markov Assumption:A variable X is independentof its non-descendants given its parents (Xi  NonDescendantsXi | PaXi)10-708 – Carlos Guestrin 200620 What about probabilities?Conditional probability tables (CPTs)FluAllergySinusHeadacheNose10-708 – Carlos Guestrin 200621 Joint distributionFluAllergySinusHeadacheNoseWhy can we decompose? Markov Assumption!10-708 – Carlos Guestrin 200622 A general Bayes netSet of random variablesDirected acyclic graph CPTsJoint distribution:Local Markov Assumption:A variable X is independent of its non-descendants given its parents – (Xi  NonDescendantsXi | PaXi)10-708 – Carlos Guestrin 200623 Questions????What distributions can be represented by a BN?What BNs can represent a distribution?What are the independence assumptions encoded in a BN?in addition to the local Markov


View Full Document

CMU CS 10708 - BN Semantics 1

Documents in this Course
Lecture

Lecture

15 pages

Lecture

Lecture

25 pages

Lecture

Lecture

24 pages

causality

causality

53 pages

lecture11

lecture11

16 pages

Exam

Exam

15 pages

Notes

Notes

12 pages

lecture

lecture

18 pages

lecture

lecture

16 pages

Lecture

Lecture

17 pages

Lecture

Lecture

15 pages

Lecture

Lecture

17 pages

Lecture

Lecture

19 pages

Lecture

Lecture

42 pages

Lecture

Lecture

16 pages

r6

r6

22 pages

lecture

lecture

20 pages

lecture

lecture

35 pages

Lecture

Lecture

19 pages

Lecture

Lecture

21 pages

lecture

lecture

21 pages

lecture

lecture

13 pages

review

review

50 pages

Semantics

Semantics

30 pages

lecture21

lecture21

26 pages

MN-crf

MN-crf

20 pages

hw4

hw4

5 pages

lecture

lecture

12 pages

Lecture

Lecture

25 pages

Lecture

Lecture

25 pages

Lecture

Lecture

14 pages

Lecture

Lecture

15 pages

Load more
Download BN Semantics 1
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view BN Semantics 1 and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view BN Semantics 1 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?