Department of Computer Science Undergraduate Events More
|
|
- Alexandra Hampton
- 5 years ago
- Views:
Transcription
1 Department o Computer Science Undergraduate Eents More Masters o Management in Operations Research Ino Session Date: Tues. No 20 Time: 2 pm Location: Kaiser 2020/ Main Mall Grad School Panel Date: Thurs. No 22 Time: 2:30 2 pm Location: Rm X836 ICICS/CS Bldg. Volunteer or Experience Science Day Date: Fri. No 23 Time: 0 am or am 2 pm or 2 pm Location: ICICS/CS Bldg. RSVP: undergrad-ino@cs.ubc.ca i you are interested.
2 Reasoning Under Uncertainty: Variable elimination Computer Science cpsc322 Lecture 30 (Textbook Chpt 6.4) No Couple o questions with cards CPSC 322 Lecture 30 Slide 2
3 Lecture Oeriew Recap Intro Variable Elimination Variable Elimination Simpliications Example Independence Where are we? CPSC 322 Lecture 30 Slide 3
4 CPSC 322 Lecture 29 Slide 4 Bnet Inerence: General Suppose the ariables o the belie network are X X n. is the query ariable = = are the obsered ariables (with their alues) k are the remaining ariables What we want to compute: ) ( P P P P P P ) ( ) ( ) ( ) ( ) ( ) ( P We can actually compute:
5 CPSC 322 Lecture 29 Slide 5 Inerence with Factors We can compute P( = = ) by expressing the oint as a actor ( ) assigning = = and summing out the ariables k ).... ( ) ( k k P
6 CPSC 322 Lecture 29 Slide 6 Variable Elimination Intro () We can express the oint actor as a product o actors Using the chain rule and the deinition o a Bnet we can write P(X X n ) as n i X i px i P ) ( n i X i px i ) ( ) ( ) ( n i i i k px X P ( ) ).... ( ) ( k k P
7 Variable Elimination Intro (2) Inerence in belie networks thus reduces to computing the sums o products. P( n ) ( X i px i) k i. Construct a actor or each conditional probability. 2. In each actor assign the obsered ariables to their obsered alues. 3. Multiply the actors 4. For each o the other ariables i { k } sum out i CPSC 322 Lecture 29 Slide 7
8 Lecture Oeriew Recap Intro Variable Elimination Variable Elimination Simpliications Example Independence Where are we? CPSC 322 Lecture 30 Slide 8
9 CPSC 322 Lecture 30 Slide 9 How to simpliy the Computation? (arsxi) n i k Assume we hae turned the CPTs into actors and perormed the assignments (arsx ) ) ( i px X i i? ) ( t D G G C ) ( n i i i k px X Let s ocus on the basic case or instance ) ( ) ( ) ( ) ( D A E D B A D C A
10 How to simpliy: basic case Let s ocus on the basic case. A n i How can we compute eiciently? (arsxi) ( C D) ( A B D) ( E A) ( D) Factor out those terms that don't inole! (arsx ) i (arsxi) i arsxi i arsxi CPSC 322 Lecture 30 Slide 0
11 CPSC 322 Lecture 30 Slide General case: Summing out ariables eiciently 2 ) ( h i i h k k 2... i k Now to sum out a ariable 2 rom a product i o actors again partition the actors into two sets F: those that F: those that
12 Analogy with Computing sums o products This simpliication is similar to what you can do in basic algebra with multiplication and addition It takes 4 multiplications or additions to ealuate the expression a b + a c + a d + a e h + a h + a g h. This expression be ealuated more eiciently. CPSC 322 Lecture 30 Slide 2
13 Variable elimination ordering Is there only one way to simpliy? P(GD=t) = ABC (AG) (BA) (CG) (BC) P(GD=t) = A (AG) B (BA) C (CG) (BC) P(GD=t) = A (AG) C (CG) B (BC) (BA) CPSC 322 Lecture 30 Slide 3
14 Variable elimination algorithm: Summary P( ) To compute P( = = ) :. Construct a actor or each conditional probability. 2. Set the obsered ariables to their obsered alues. 3. Gien an elimination ordering simpliy/decompose sum o products 4. Perorm products and sum out i = 5. Multiply the remaining actors (all in? ) 6. Normalize: diide the resulting actor () by (). 2 2 CPSC 322 Lecture 0 Slide 4
15 Variable elimination algorithm: Summary P( ) To compute P( = = ) :. Construct a actor or each conditional probability. 2. Set the obsered ariables to their obsered alues. 3. Gien an elimination ordering simpliy/decompose sum o products 4. Perorm products and sum out i 5. Multiply the remaining actors (all in? ) 6. Normalize: diide the resulting actor () by (). CPSC 322 Lecture 0 Slide 5
16 Lecture Oeriew Recap Intro Variable Elimination Variable Elimination Simpliications Example Independence Where are we? CPSC 322 Lecture 30 Slide 6
17 Variable elimination example Compute P(G H=h ). P(GH) = ABCDEFI P(ABCDEFGHI) CPSC 322 Lecture 30 Slide 7
18 Variable elimination example Compute P(G H=h ). P(GH) = ABCDEFI P(ABCDEFGHI) Chain Rule + Conditional Independence: P(GH) = ABCDEFI P(A)P(B A)P(C)P(D BC)P(E C)P(F D)P(G FE)P(H G)P(I G) CPSC 322 Lecture 30 Slide 8
19 Variable elimination example (step) Compute P(G H=h ). P(GH) = ABCDEFI P(A)P(B A)P(C)P(D BC)P(E C)P(F D)P(G FE)P(H G)P(I G) Factorized Representation: P(GH) = ABCDEFI 0 (A) (BA) 2 (C) 3 (DBC) 4 (EC) 5 (F D) 6 (GFE) 7 (HG) 8 (IG) 0 (A) (BA) 2 (C) 3 (DBC) 4 (EC) 5 (F D) 6 (GFE) 7 (HG) 8 (IG) CPSC 322 Lecture 30 Slide 9
20 Variable elimination example (step 2) Compute P(G H=h ). Preious state: P(GH) = ABCDEFI 0 (A) (BA) 2 (C) 3 (DBC) 4 (EC) 5 (F D) 6 (GFE) 7 (HG) 8 (IG) Obsere H : P(GH=h ) = ABCDEFI 0 (A) (BA) 2 (C) 3 (DBC) 4 (EC) 5 (F D) 6 (GFE) 9 (G) 8 (IG) 0 (A) (BA) 9 (G) 2 (C) 3 (DBC) 4 (EC) 5 (F D) 6 (GFE) 7 (HG) 8 (IG) CPSC 322 Lecture 30 Slide 20
21 Variable elimination example (steps 3-4) Preious state: Compute P(G H=h ). P(GH) = ABCDEFI 0 (A) (BA) 2 (C) 3 (DBC) 4 (EC) 5 (F D) 6 (GFE) 9 (G) 8 (IG) Elimination ordering A C E I B D F : P(GH=h ) = 9 (G) F D 5 (F D) B I 8 (IG) E 6 (GFE) C 2 (C) 3 (DBC) 4 (EC) A 0 (A) (BA) 0 (A) 9 (G) (BA) 2 (C) 3 (DBC) 4 (EC) 5 (F D) 6 (GFE) 7 (HG) 8 (IG) CPSC 322 Lecture 30 Slide 2
22 Variable elimination example(steps 3-4) Compute P(G H=h ). Elimination ordering A C E I B D F. Preious state: P(GH=h ) = 9 (G) F D 5 (F D) B I 8 (IG) E 6 (GFE) C 2 (C) 3 (DBC) 4 (EC) A 0 (A) (BA) Eliminate A: P(GH=h ) = 9 (G) F D 5 (F D) B 0 (B) I 8 (IG) E 6 (GFE) C 2 (C) 3 (DBC) 4 (EC) 0 (A) (BA) 2 (C) 9 (G) 0 (B) 3 (DBC) 4 (EC) 5 (F D) 6 (GFE) 7 (HG) 8 (IG) CPSC 322 Lecture 30 Slide 22
23 Variable elimination example(steps 3-4) Compute P(G H=h ). Elimination ordering A C E I B D F. Preious state: P(GH=h ) = 9 (G) F D 5 (F D) B 0 (B) I 8 (IG) E 6 (GFE) C 2 (C) 3 (DBC) 4 (EC) Eliminate C: P(GH=h ) = 9 (G) F D 5 (F D) B 0 (B) I 8 (IG) E 6 (GFE) 2 (BDE) 0 (A) (BA) 2 (C) 3 (DBC) 9 (G) 0 (B) 2 (BDE) 4 (EC) 5 (F D) 6 (GFE) 7 (HG) 8 (IG) CPSC 322 Lecture 30 Slide 23
24 Variable elimination example(steps 3-4) Compute P(G H=h ). Elimination ordering A C E I B D F. Preious state: P(GH=h ) = 9 (G) F D 5 (F D) B 0 (B) I 8 (IG) E 6 (GFE) 2 (BDE) Eliminate E: P(GH=h ) = 9 (G) F D 5 (F D) B 0 (B) 3 (BDFG) I 8 (IG) 0 (A) (BA) 2 (C) 3 (DBC) 4 (EC) 9 (G) 0 (B) 2 (BDE) 3 (BDFG) 5 (F D) 6 (GFE) 7 (HG) 8 (IG) CPSC 322 Lecture 30 Slide 24
25 Variable elimination example(steps 3-4) Compute P(G H=h ). Elimination ordering A C E I B D F. Preious state: P(GH=h ) = 9 (G) F D 5 (F D) B 0 (B) 3 (BDFG) I 8 (IG) Eliminate I: P(GH=h ) = 9 (G) 4 (G) F D 5 (F D) B 0 (B) 3 (BDFG) 0 (A) (BA) 2 (C) 3 (DBC) 4 (EC) 5 (F D) 9 (G) 0 (B) 2 (BDE) 3 (BDFG) 4 (G) 6 (GFE) 7 (HG) 8 (IG) CPSC 322 Lecture 30 Slide 25
26 Variable elimination example(steps 3-4) Compute P(G H=h ). Elimination ordering A C E I B D F. Preious state: P(GH=h ) = 9 (G) 4 (G) F D 5 (F D) B 0 (B) 3 (BDFG) Eliminate B: P(GH=h ) = 9 (G) 4 (G) F D 5 (F D) 5 (DFG) 0 (A) (BA) 2 (C) 3 (DBC) 4 (EC) 5 (F D) 6 (GFE) 7 (HG) 9 (G) 0 (B) 2 (BDE) 3 (BDFG) 4 (G) 5 (DFG) 8 (IG) CPSC 322 Lecture 30 Slide 26
27 Variable elimination example(steps 3-4) Compute P(G H=h ). Elimination ordering A C E I B D F. Preious state: P(GH=h ) = 9 (G) 4 (G) F D 5 (F D) 5 (DFG) Eliminate D: P(GH=h ) = 9 (G) 4 (G) F 6 (F G) 0 (A) (BA) 2 (C) 3 (DBC) 4 (EC) 5 (F D) 6 (GFE) 7 (HG) 8 (IG) 9 (G) 0 (B) 2 (BDE) 3 (BDFG) 4 (G) 5 (DFG) 6 (F G) CPSC 322 Lecture 30 Slide 27
28 Variable elimination example(steps 3-4) Compute P(G H=h ). Elimination ordering A C E I B D F. Preious state: P(GH=h ) = 9 (G) 4 (G) F 6 (F G) Eliminate F: P(GH=h ) = 9 (G) 4 (G) 7 (G) 0 (A) (BA) 2 (C) 3 (DBC) 4 (EC) 5 (F D) 6 (GFE) 7 (HG) 8 (IG) 9 (G) 0 (B) 2 (BDE) 3 (BDFG) 4 (G) 5 (DFG) 6 (F G) 7 (G) CPSC 322 Lecture 30 Slide 28
29 Variable elimination example (step 5) Compute P(G H=h ). Elimination ordering A C E I B D F. Preious state: P(GH=h ) = 9 (G) 4 (G) 7 (G) Multiply remaining actors: P(GH=h ) = 8 (G) 0 (A) (BA) 2 (C) 3 (DBC) 4 (EC) 5 (F D) 6 (GFE) 7 (HG) 8 (IG) 9 (G) 0 (B) 2 (BDE) 3 (BDFG) 4 (G) 5 (DFG) 6 (F G) 7 (G) 8 (G) CPSC 322 Lecture 30 Slide 29
30 Variable elimination example (step 6) Compute P(G H=h ). Elimination ordering A C E I B D F. Preious state: P(GH=h ) = 8 (G) Normalize: 9 (G) P(G H=h ) = 8 (G) / g dom(g) 8 (G) 0 (A) (BA) 0 (B) 2 (BDE) 2 (C) 3 (DBC) 4 (EC) 5 (F D) 6 (GFE) 7 (HG) 8 (IG) 3 (BDFG) 4 (G) 5 (DFG) 6 (F G) 7 (G) 8 (G) CPSC 322 Lecture 30 Slide 30
31 Lecture Oeriew Recap Intro Variable Elimination Variable Elimination Simpliications Example Independence Where are we? CPSC 322 Lecture 30 Slide 3
32 Complexity (not required) The complexity o the algorithm depends on a measure o complexity o the network. The size o a tabular representation o a actor is exponential in the number o ariables in the actor. The treewidth o a network gien an elimination ordering is the maximum number o ariables in a actor created by summing out a ariable gien the elimination ordering. The treewidth o a belie network is the minimum treewidth oer all elimination orderings. The treewidth depends only on the graph structure and is a measure o the sparseness o the graph. The complexity o VE is exponential in the treewidth and linear in the number o ariables. Finding the elimination ordering with minimum treewidth is NP-hard but there is some good elimination ordering heuristics. CPSC 322 Lecture 30 Slide 32
33 Variable elimination and conditional independence Variable Elimination looks incredibly painul or large graphs? We used conditional independence.. Can we use it to make ariable elimination simpler? es all the ariables rom which the query is conditional independent gien the obserations can be pruned rom the Bnet CPSC 322 Lecture 30 Slide 33
34 VE and conditional independence: Example All the ariables rom which the query is conditional independent gien the obserations can be pruned rom the Bnet e.g. P(G H= F= 2 C= 3 ). B D E E D D I B D A CPSC 322 Lecture 0 Slide 34
35 VE and conditional independence: Example All the ariables rom which the query is conditional independent gien the obserations can be pruned rom the Bnet e.g. P(G H= F= 2 C= 3 ). CPSC 322 Lecture 0 Slide 35
36 VE and conditional independence: Example All the ariables rom which the query is conditional independent gien the obserations can be pruned rom the Bnet e.g. P(G H= F= 2 C= 3 ). CPSC 322 Lecture 30 Slide 36
37 VE and conditional independence: Example All the ariables rom which the query is conditional independent gien the obserations can be pruned rom the Bnet e.g. P(G H= F= 2 C= 3 ). CPSC 322 Lecture 30 Slide 37
38 ou can: Learning Goals or today s class Carry out ariable elimination by using actor representation and using the actor operations. Use techniques to simpliy ariable elimination. CPSC 322 Lecture 4 Slide 38
39 Big Picture: R&R systems Problem Static Query Sequential Planning Deterministic Arc Consistency Constraint Search Vars + Satisaction Constraints SLS Representation Reasoning Technique Logics Search STRIPS Search Enironment Stochastic Belie Nets Var. Elimination Decision Nets Var. Elimination Marko Processes Value Iteration CPSC 322 Lecture 2 Slide 39
40 Answering Query under Uncertainty Probability Theory Static Belie Network & Variable Elimination Dynamic Bayesian Network Hidden Marko Models Monitoring (e.g credit cards) Diagnostic Systems (e.g. medicine) BioInormatics spam ilters Natural Language Processing Student Tracing in tutoring Systems CPSC 322 Lecture 8 Slide 40
41 Next Class Probability and Time (TextBook 6.5) Course Elements Work on Practice Exercise 6.C on ariable elimination. Assignment 4 will be aailable on Wednesday and due on No the 28th (last class). Fill out teaching ealuations. ou should hae receied an about this. CPSC 322 Lecture 29 Slide 4
Computer Science CPSC 322. Lecture 23 Planning Under Uncertainty and Decision Networks
Computer Science CPSC 322 Lecture 23 Planning Under Uncertainty and Decision Networks 1 Announcements Final exam Mon, Dec. 18, 12noon Same general format as midterm Part short questions, part longer problems
More informationReasoning under Uncertainty: Intro to Probability
Reasoning under Uncertainty: Intro to Probability Computer Science cpsc322, Lecture 24 (Textbook Chpt 6.1, 6.1.1) March, 15, 2010 CPSC 322, Lecture 24 Slide 1 To complete your Learning about Logics Review
More informationProbability and Time: Hidden Markov Models (HMMs)
Probability and Time: Hidden Markov Models (HMMs) Computer Science cpsc322, Lecture 32 (Textbook Chpt 6.5.2) Nov, 25, 2013 CPSC 322, Lecture 32 Slide 1 Lecture Overview Recap Markov Models Markov Chain
More informationIntroduction to Artificial Intelligence (AI)
Introduction to Artificial Intelligence (AI) Computer Science cpsc502, Lecture 10 Oct, 13, 2011 CPSC 502, Lecture 10 Slide 1 Today Oct 13 Inference in HMMs More on Robot Localization CPSC 502, Lecture
More informationIntelligent Systems (AI-2)
Intelligent Systems (AI-2) Computer Science cpsc422, Lecture 11 Oct, 3, 2016 CPSC 422, Lecture 11 Slide 1 422 big picture: Where are we? Query Planning Deterministic Logics First Order Logics Ontologies
More informationReasoning under Uncertainty: Intro to Probability
Reasoning under Uncertainty: Intro to Probability Computer Science cpsc322, Lecture 24 (Textbook Chpt 6.1, 6.1.1) Nov, 2, 2012 CPSC 322, Lecture 24 Slide 1 Tracing Datalog proofs in AIspace You can trace
More informationIntroduction to Artificial Intelligence (AI)
Introduction to Artificial Intelligence (AI) Computer Science cpsc502, Lecture 9 Oct, 11, 2011 Slide credit Approx. Inference : S. Thrun, P, Norvig, D. Klein CPSC 502, Lecture 9 Slide 1 Today Oct 11 Bayesian
More informationReasoning Under Uncertainty: Variable Elimination
Reasoning Under Uncertainty: Variable Elimination CPSC 322 Uncertainty 7 Textbook 10.5 Reasoning Under Uncertainty: Variable Elimination CPSC 322 Uncertainty 7, Slide 1 Lecture Overview 1 Recap 2 Variable
More informationReasoning Under Uncertainty: More on BNets structure and construction
Reasoning Under Uncertainty: More on BNets structure and construction Computer Science cpsc322, Lecture 28 (Textbook Chpt 6.3) June, 15, 2017 CPSC 322, Lecture 28 Slide 1 Belief networks Recap By considering
More informationIntelligent Systems (AI-2)
Intelligent Systems (AI-2) Computer Science cpsc422, Lecture 18 Oct, 21, 2015 Slide Sources Raymond J. Mooney University of Texas at Austin D. Koller, Stanford CS - Probabilistic Graphical Models CPSC
More informationPropositional Definite Clause Logic: Syntax, Semantics and Bottom-up Proofs
Propositional Definite Clause Logic: Syntax, Semantics and Bottom-up Proofs Computer Science cpsc322, Lecture 20 (Textbook Chpt 5.1.2-5.2.2 ) June, 6, 2017 CPSC 322, Lecture 20 Slide 1 Lecture Overview
More informationIntelligent Systems (AI-2)
Intelligent Systems (AI-2) Computer Science cpsc422, Lecture 19 Oct, 24, 2016 Slide Sources Raymond J. Mooney University of Texas at Austin D. Koller, Stanford CS - Probabilistic Graphical Models D. Page,
More informationReasoning Under Uncertainty: More on BNets structure and construction
Reasoning Under Uncertainty: More on BNets structure and construction Jim Little Nov 10 2014 (Textbook 6.3) Slide 1 Belief networks Recap By considering causal dependencies, we order variables in the joint.
More informationIntelligent Systems (AI-2)
Intelligent Systems (AI-2) Computer Science cpsc422, Lecture 19 Oct, 23, 2015 Slide Sources Raymond J. Mooney University of Texas at Austin D. Koller, Stanford CS - Probabilistic Graphical Models D. Page,
More informationLab 1 starts this week: go to your session
Lecture 3: Boolean Algebra Logistics Class email sign up Homework 1 due on Wednesday Lab 1 starts this week: go to your session Last lecture --- Numbers Binary numbers Base conversion Number systems for
More informationReasoning Under Uncertainty: Conditioning, Bayes Rule & the Chain Rule
Reasoning Under Uncertainty: Conditioning, Bayes Rule & the Chain Rule Alan Mackworth UBC CS 322 Uncertainty 2 March 13, 2013 Textbook 6.1.3 Lecture Overview Recap: Probability & Possible World Semantics
More informationLecture 6: Graphical Models
Lecture 6: Graphical Models Kai-Wei Chang CS @ Uniersity of Virginia kw@kwchang.net Some slides are adapted from Viek Skirmar s course on Structured Prediction 1 So far We discussed sequence labeling tasks:
More informationCS 5522: Artificial Intelligence II
CS 5522: Artificial Intelligence II Bayes Nets: Independence Instructor: Alan Ritter Ohio State University [These slides were adapted from CS188 Intro to AI at UC Berkeley. All materials available at http://ai.berkeley.edu.]
More informationLogic: Intro & Propositional Definite Clause Logic
Logic: Intro & Propositional Definite Clause Logic Alan Mackworth UBC CS 322 Logic 1 February 27, 2013 P & M extbook 5.1 Lecture Overview Recap: CSP planning Intro to Logic Propositional Definite Clause
More informationDecision Theory Intro: Preferences and Utility
Decision Theory Intro: Preferences and Utility CPSC 322 Lecture 29 March 22, 2006 Textbook 9.5 Decision Theory Intro: Preferences and Utility CPSC 322 Lecture 29, Slide 1 Lecture Overview Recap Decision
More informationDEVIL PHYSICS THE BADDEST CLASS ON CAMPUS AP PHYSICS
DEVIL PHYSICS THE BADDEST CLASS ON CAMPUS AP PHYSICS LSN 7-4: CONSERVATION OF ENERGY AND MOMENTUM IN COLLISIONS LSN 7-5: ELASTIC COLLISIONS IN ONE DIMENSION LSN 7-6: INELASTIC COLLISIONS Questions From
More informationProduct rule. Chain rule
Probability Recap CS 188: Artificial Intelligence ayes Nets: Independence Conditional probability Product rule Chain rule, independent if and only if: and are conditionally independent given if and only
More informationBayes Nets: Independence
Bayes Nets: Independence [These slides were created by Dan Klein and Pieter Abbeel for CS188 Intro to AI at UC Berkeley. All CS188 materials are available at http://ai.berkeley.edu.] Bayes Nets A Bayes
More informationVariable Elimination (VE) Barak Sternberg
Variable Elimination (VE) Barak Sternberg Basic Ideas in VE Example 1: Let G be a Chain Bayesian Graph: X 1 X 2 X n 1 X n How would one compute P X n = k? Using the CPDs: P X 2 = x = x Val X1 P X 1 = x
More informationArtificial Intelligence Bayes Nets: Independence
Artificial Intelligence Bayes Nets: Independence Instructors: David Suter and Qince Li Course Delivered @ Harbin Institute of Technology [Many slides adapted from those created by Dan Klein and Pieter
More informationMath Mathematical Notation
Math 160 - Mathematical Notation Purpose One goal in any course is to properly use the language of that subject. Finite Mathematics is no different and may often seem like a foreign language. These notations
More informationChapter 8: MULTIPLE CONTINUOUS RANDOM VARIABLES
Charles Boncelet Probabilit Statistics and Random Signals" Oord Uniersit Press 06. ISBN: 978-0-9-0005-0 Chapter 8: MULTIPLE CONTINUOUS RANDOM VARIABLES Sections 8. Joint Densities and Distribution unctions
More informationCOS402- Artificial Intelligence Fall Lecture 10: Bayesian Networks & Exact Inference
COS402- Artificial Intelligence Fall 2015 Lecture 10: Bayesian Networks & Exact Inference Outline Logical inference and probabilistic inference Independence and conditional independence Bayes Nets Semantics
More informationCS 540: Machine Learning Lecture 1: Introduction
CS 540: Machine Learning Lecture 1: Introduction AD January 2008 AD () January 2008 1 / 41 Acknowledgments Thanks to Nando de Freitas Kevin Murphy AD () January 2008 2 / 41 Administrivia & Announcement
More informationOutline. CSE 573: Artificial Intelligence Autumn Agent. Partial Observability. Markov Decision Process (MDP) 10/31/2012
CSE 573: Artificial Intelligence Autumn 2012 Reasoning about Uncertainty & Hidden Markov Models Daniel Weld Many slides adapted from Dan Klein, Stuart Russell, Andrew Moore & Luke Zettlemoyer 1 Outline
More informationCS Lecture 3. More Bayesian Networks
CS 6347 Lecture 3 More Bayesian Networks Recap Last time: Complexity challenges Representing distributions Computing probabilities/doing inference Introduction to Bayesian networks Today: D-separation,
More informationComputer Science CPSC 322. Lecture 18 Marginalization, Conditioning
Computer Science CPSC 322 Lecture 18 Marginalization, Conditioning Lecture Overview Recap Lecture 17 Joint Probability Distribution, Marginalization Conditioning Inference by Enumeration Bayes Rule, Chain
More informationReasoning Under Uncertainty: Bayesian networks intro
Reasoning Under Uncertainty: Bayesian networks intro Alan Mackworth UBC CS 322 Uncertainty 4 March 18, 2013 Textbook 6.3, 6.3.1, 6.5, 6.5.1, 6.5.2 Lecture Overview Recap: marginal and conditional independence
More informationEE562 ARTIFICIAL INTELLIGENCE FOR ENGINEERS
EE562 ARTIFICIAL INTELLIGENCE FOR ENGINEERS Lecture 16, 6/1/2005 University of Washington, Department of Electrical Engineering Spring 2005 Instructor: Professor Jeff A. Bilmes Uncertainty & Bayesian Networks
More informationExact Inference: Variable Elimination
Readings: K&F 9.2 9. 9.4 9.5 Exact nerence: Variable Elimination ecture 6-7 Apr 1/18 2011 E 515 tatistical Methods pring 2011 nstructor: u-n ee University o Washington eattle et s revisit the tudent Network
More informationCS 188: Artificial Intelligence Spring Announcements
CS 188: Artificial Intelligence Spring 2011 Lecture 16: Bayes Nets IV Inference 3/28/2011 Pieter Abbeel UC Berkeley Many slides over this course adapted from Dan Klein, Stuart Russell, Andrew Moore Announcements
More informationAnnouncements. CS 188: Artificial Intelligence Spring Probability recap. Outline. Bayes Nets: Big Picture. Graphical Model Notation
CS 188: Artificial Intelligence Spring 2010 Lecture 15: Bayes Nets II Independence 3/9/2010 Pieter Abbeel UC Berkeley Many slides over the course adapted from Dan Klein, Stuart Russell, Andrew Moore Current
More informationAlgorithms and Data Structures 2014 Exercises and Solutions Week 14
lgorithms and ata tructures 0 xercises and s Week Linear programming. onsider the following linear program. maximize x y 0 x + y 7 x x 0 y 0 x + 3y Plot the feasible region and identify the optimal solution.
More informationMASSACHUSETTS INSTITUTE OF TECHNOLOGY 6.436J/15.085J Fall 2008 Recitation 13 10/31/2008. Markov Chains
MASSACHUSETTS INSTITUTE OF TECHNOLOGY 6.436J/5.085J Fall 008 Recitation 3 0/3/008 Marko Chains Problem 9 from Poisson process exercises in [BT] Fact: If there is a single recurrent class, the frequency
More informationProbabilistic Models
Bayes Nets 1 Probabilistic Models Models describe how (a portion of) the world works Models are always simplifications May not account for every variable May not account for all interactions between variables
More information«Develop a better understanding on Partial fractions»
«Develop a better understanding on Partial ractions» ackground inormation: The topic on Partial ractions or decomposing actions is irst introduced in O level dditional Mathematics with its applications
More information15-780: Grad AI Lecture 19: Graphical models, Monte Carlo methods. Geoff Gordon (this lecture) Tuomas Sandholm TAs Erik Zawadzki, Abe Othman
15-780: Grad AI Lecture 19: Graphical models, Monte Carlo methods Geoff Gordon (this lecture) Tuomas Sandholm TAs Erik Zawadzki, Abe Othman Admin Reminder: midterm March 29 Reminder: project milestone
More informationCS 188: Artificial Intelligence Spring Announcements
CS 188: Artificial Intelligence Spring 2011 Lecture 14: Bayes Nets II Independence 3/9/2011 Pieter Abbeel UC Berkeley Many slides over the course adapted from Dan Klein, Stuart Russell, Andrew Moore Announcements
More informationMath/EECS 1028M: Discrete Mathematics for Engineers Winter Suprakash Datta
Math/EECS 1028M: Discrete Mathematics for Engineers Winter 2017 Suprakash Datta datta@cse.yorku.ca Office: CSEB 3043 Phone: 416-736-2100 ext 77875 Course page: http://www.eecs.yorku.ca/course/1028 Administrivia
More informationDifferential Equations
LOCUS Dierential Equations CONCEPT NOTES 0. Motiation 0. Soling Dierential Equations LOCUS Dierential Equations Section - MOTIVATION A dierential equation can simpl be said to be an equation inoling deriaties
More informationPropositional Logic: Bottom-Up Proofs
Propositional Logic: Bottom-Up Proofs CPSC 322 Logic 3 Textbook 5.2 Propositional Logic: Bottom-Up Proofs CPSC 322 Logic 3, Slide 1 Lecture Overview 1 Recap 2 Bottom-Up Proofs 3 Soundness of Bottom-Up
More informationFigure 1: Bayesian network for problem 1. P (A = t) = 0.3 (1) P (C = t) = 0.6 (2) Table 1: CPTs for problem 1. (c) P (E B) C P (D = t) f 0.9 t 0.
Probabilistic Artiicial Intelligence Problem Set 3 Oct 27, 2017 1. Variable elimination In this exercise you will use variable elimination to perorm inerence on a bayesian network. Consider the network
More informationCS 5522: Artificial Intelligence II
CS 5522: Artificial Intelligence II Bayes Nets Instructor: Alan Ritter Ohio State University [These slides were adapted from CS188 Intro to AI at UC Berkeley. All materials available at http://ai.berkeley.edu.]
More informationCS Lecture 4. Markov Random Fields
CS 6347 Lecture 4 Markov Random Fields Recap Announcements First homework is available on elearning Reminder: Office hours Tuesday from 10am-11am Last Time Bayesian networks Today Markov random fields
More informationMachine Learning Lecture 14
Many slides adapted from B. Schiele, S. Roth, Z. Gharahmani Machine Learning Lecture 14 Undirected Graphical Models & Inference 23.06.2015 Bastian Leibe RWTH Aachen http://www.vision.rwth-aachen.de/ leibe@vision.rwth-aachen.de
More information4 : Exact Inference: Variable Elimination
10-708: Probabilistic Graphical Models 10-708, Spring 2014 4 : Exact Inference: Variable Elimination Lecturer: Eric P. ing Scribes: Soumya Batra, Pradeep Dasigi, Manzil Zaheer 1 Probabilistic Inference
More informationLogic: Resolution Proofs; Datalog
Logic: ; Datalog CPSC 322 Logic 5 Textbook 5.2; 12.2 Logic: ; Datalog CPSC 322 Logic 5, Slide 1 Lecture Overview 1 Recap 2 Logic: ; Datalog CPSC 322 Logic 5, Slide 2 Proofs A proof is a mechanically derivable
More informationCS 343: Artificial Intelligence
CS 343: Artificial Intelligence Bayes Nets Prof. Scott Niekum The University of Texas at Austin [These slides based on those of Dan Klein and Pieter Abbeel for CS188 Intro to AI at UC Berkeley. All CS188
More informationVISUAL PHYSICS ONLINE RECTLINEAR MOTION: UNIFORM ACCELERATION
VISUAL PHYSICS ONLINE RECTLINEAR MOTION: UNIFORM ACCELERATION Predict Obsere Explain Exercise 1 Take an A4 sheet of paper and a heay object (cricket ball, basketball, brick, book, etc). Predict what will
More informationECE 6504: Advanced Topics in Machine Learning Probabilistic Graphical Models and Large-Scale Learning
ECE 6504: Advanced Topics in Machine Learning Probabilistic Graphical Models and Large-Scale Learning Topics Markov Random Fields: Representation Conditional Random Fields Log-Linear Models Readings: KF
More informationLECTURE 3 3.1Rules of Vector Differentiation
LETURE 3 3.1Rules of Vector Differentiation We hae defined three kinds of deriaties inoling the operator grad( ) i j k, x y z 1 3 di(., x y z curl( i x 1 j y k z 3 d The good news is that you can apply
More informationLecture 18: Reinforcement Learning Sanjeev Arora Elad Hazan
COS 402 Machine Learning and Artificial Intelligence Fall 2016 Lecture 18: Reinforcement Learning Sanjeev Arora Elad Hazan Some slides borrowed from Peter Bodik and David Silver Course progress Learning
More informationReasoning Under Uncertainty: Belief Network Inference
Reasoning Under Uncertainty: Belief Network Inference CPSC 322 Uncertainty 5 Textbook 10.4 Reasoning Under Uncertainty: Belief Network Inference CPSC 322 Uncertainty 5, Slide 1 Lecture Overview 1 Recap
More informationCS 188: Artificial Intelligence Fall 2009
CS 188: Artificial Intelligence Fall 2009 Lecture 14: Bayes Nets 10/13/2009 Dan Klein UC Berkeley Announcements Assignments P3 due yesterday W2 due Thursday W1 returned in front (after lecture) Midterm
More information15-780: Graduate Artificial Intelligence. Bayesian networks: Construction and inference
15-780: Graduate Artificial Intelligence ayesian networks: Construction and inference ayesian networks: Notations ayesian networks are directed acyclic graphs. Conditional probability tables (CPTs) P(Lo)
More informationFinite Automata Theory and Formal Languages TMV027/DIT321 LP4 2018
Finite Automata Theory and Formal Languages TMV027/DIT321 LP4 2018 Lecture 9 Ana Bove April 19th 2018 Recap: Regular Expressions Algebraic representation of (regular) languages; R, S ::= a R + S RS R......
More informationAnnouncements. CS 188: Artificial Intelligence Spring Bayes Net Semantics. Probabilities in BNs. All Conditional Independences
CS 188: Artificial Intelligence Spring 2011 Announcements Assignments W4 out today --- this is your last written!! Any assignments you have not picked up yet In bin in 283 Soda [same room as for submission
More informationPlanning and Optimal Control
Planning and Optimal Control 1. Markov Models Lars Schmidt-Thieme Information Systems and Machine Learning Lab (ISMLL) Institute for Computer Science University of Hildesheim, Germany 1 / 22 Syllabus Tue.
More informationProbability. CS 3793/5233 Artificial Intelligence Probability 1
CS 3793/5233 Artificial Intelligence 1 Motivation Motivation Random Variables Semantics Dice Example Joint Dist. Ex. Axioms Agents don t have complete knowledge about the world. Agents need to make decisions
More informationECE 5775 (Fall 17) High-Level Digital Design Automation. Scheduling: Exact Methods
ECE 5775 (Fall 17) High-Level Digital Design Automation Scheduling: Exact Methods Announcements Sign up for the first student-led discussions today One slot remaining Presenters for the 1st session will
More informationWhat you need to know about Kalman Filters
Readings: K&F: 4.5, 12.2, 12.3, 12.4, 18.1, 18.2, 18.3, 18.4 Switching Kalman Filter Dynamic Bayesian Networks Graphical Models 10708 Carlos Guestrin Carnegie Mellon University November 27 th, 2006 1 What
More informationMATH 18.01, FALL PROBLEM SET # 2
MATH 18.01, FALL 2012 - PROBLEM SET # 2 Professor: Jared Speck Due: by Thursday 4:00pm on 9-20-12 (in the boxes outside of Room 2-255 during the day; stick it under the door if the room is locked; write
More informationAnnouncements. Solution to Assignment 3 is posted Assignment 4 is available. c D. Poole and A. Mackworth 2017 CPSC 322 Lecture 8 1 / 25
Announcements Solution to Assignment 3 is posted Assignment 4 is available c D. Poole and A. Mackworth 2017 CPSC 322 Lecture 8 1 / 25 Review: So far... Constraint satisfaction problems defined in terms
More informationDecision Theory: Q-Learning
Decision Theory: Q-Learning CPSC 322 Decision Theory 5 Textbook 12.5 Decision Theory: Q-Learning CPSC 322 Decision Theory 5, Slide 1 Lecture Overview 1 Recap 2 Asynchronous Value Iteration 3 Q-Learning
More informationReasoning Under Uncertainty: Introduction to Probability
Reasoning Under Uncertainty: Introduction to Probability CPSC 322 Uncertainty 1 Textbook 6.1 Reasoning Under Uncertainty: Introduction to Probability CPSC 322 Uncertainty 1, Slide 1 Lecture Overview 1
More informationOutline. CSE 573: Artificial Intelligence Autumn Bayes Nets: Big Picture. Bayes Net Semantics. Hidden Markov Models. Example Bayes Net: Car
CSE 573: Artificial Intelligence Autumn 2012 Bayesian Networks Dan Weld Many slides adapted from Dan Klein, Stuart Russell, Andrew Moore & Luke Zettlemoyer Outline Probabilistic models (and inference)
More informationComputational Genomics. Systems biology. Putting it together: Data integration using graphical models
02-710 Computational Genomics Systems biology Putting it together: Data integration using graphical models High throughput data So far in this class we discussed several different types of high throughput
More informationTHE FIFTH DIMENSION EQUATIONS
JP Journal of Mathematical Sciences Volume 7 Issues 1 & 013 Pages 41-46 013 Ishaan Publishing House This paper is aailable online at http://www.iphsci.com THE FIFTH DIMENSION EQUATIONS Niittytie 1B16 03100
More informationOutline. Bayesian Networks: Belief Propagation in Singly Connected Networks. Form of Evidence and Notation. Motivation
Outline Bayesian : in Singly Connected Huizhen u Dept. Computer Science, Uni. of Helsinki Huizhen u (U.H.) Bayesian : in Singly Connected Feb. 16 1 / 25 Huizhen u (U.H.) Bayesian : in Singly Connected
More informationECE 6504: Advanced Topics in Machine Learning Probabilistic Graphical Models and Large-Scale Learning
ECE 6504: Advanced Topics in Machine Learning Probabilistic Graphical Models and Large-Scale Learning Topics Summary of Class Advanced Topics Dhruv Batra Virginia Tech HW1 Grades Mean: 28.5/38 ~= 74.9%
More informationNotes on Linear Minimum Mean Square Error Estimators
Notes on Linear Minimum Mean Square Error Estimators Ça gatay Candan January, 0 Abstract Some connections between linear minimum mean square error estimators, maximum output SNR filters and the least square
More informationUNDERSTAND MOTION IN ONE AND TWO DIMENSIONS
SUBAREA I. COMPETENCY 1.0 UNDERSTAND MOTION IN ONE AND TWO DIMENSIONS MECHANICS Skill 1.1 Calculating displacement, aerage elocity, instantaneous elocity, and acceleration in a gien frame of reference
More informationHomework 3/ Solutions
MTH 310-3 Abstract Algebra I and Number Theory S17 Homework 3/ Solutions Exercise 1. Prove the following Theorem: Theorem Let R and S be rings. Define an addition and multiplication on R S by for all r,
More informationSampling from Bayes Nets
from Bayes Nets http://www.youtube.com/watch?v=mvrtaljp8dm http://www.youtube.com/watch?v=geqip_0vjec Paper reviews Should be useful feedback for the authors A critique of the paper No paper is perfect!
More informationUncertainty and Bayesian Networks
Uncertainty and Bayesian Networks Tutorial 3 Tutorial 3 1 Outline Uncertainty Probability Syntax and Semantics for Uncertainty Inference Independence and Bayes Rule Syntax and Semantics for Bayesian Networks
More informationBayesian Networks. Vibhav Gogate The University of Texas at Dallas
Bayesian Networks Vibhav Gogate The University of Texas at Dallas Intro to AI (CS 4365) Many slides over the course adapted from either Dan Klein, Luke Zettlemoyer, Stuart Russell or Andrew Moore 1 Outline
More informationComputational Complexity of Bayesian Networks
Computational Complexity of Bayesian Networks UAI, 2015 Complexity theory Many computations on Bayesian networks are NP-hard Meaning (no more, no less) that we cannot hope for poly time algorithms that
More informationBayesian belief networks. Inference.
Lecture 13 Bayesian belief networks. Inference. Milos Hauskrecht milos@cs.pitt.edu 5329 Sennott Square Midterm exam Monday, March 17, 2003 In class Closed book Material covered by Wednesday, March 12 Last
More informationCS 343: Artificial Intelligence
CS 343: Artificial Intelligence Bayes Nets: Sampling Prof. Scott Niekum The University of Texas at Austin [These slides based on those of Dan Klein and Pieter Abbeel for CS188 Intro to AI at UC Berkeley.
More informationProbabilistic Graphical Models
Probabilistic Graphical Models Lecture 12 Dynamical Models CS/CNS/EE 155 Andreas Krause Homework 3 out tonight Start early!! Announcements Project milestones due today Please email to TAs 2 Parameter learning
More informationAn AI-ish view of Probability, Conditional Probability & Bayes Theorem
An AI-ish view of Probability, Conditional Probability & Bayes Theorem Review: Uncertainty and Truth Values: a mismatch Let action A t = leave for airport t minutes before flight. Will A 15 get me there
More information10/18/2017. An AI-ish view of Probability, Conditional Probability & Bayes Theorem. Making decisions under uncertainty.
An AI-ish view of Probability, Conditional Probability & Bayes Theorem Review: Uncertainty and Truth Values: a mismatch Let action A t = leave for airport t minutes before flight. Will A 15 get me there
More informationDecision Theory: Markov Decision Processes
Decision Theory: Markov Decision Processes CPSC 322 Lecture 33 March 31, 2006 Textbook 12.5 Decision Theory: Markov Decision Processes CPSC 322 Lecture 33, Slide 1 Lecture Overview Recap Rewards and Policies
More informationBayesian Networks. Exact Inference by Variable Elimination. Emma Rollon and Javier Larrosa Q
Bayesian Networks Exact Inference by Variable Elimination Emma Rollon and Javier Larrosa Q1-2015-2016 Emma Rollon and Javier Larrosa Bayesian Networks Q1-2015-2016 1 / 25 Recall the most usual queries
More informationCS 188: Artificial Intelligence Fall 2011
CS 188: Artificial Intelligence Fall 2011 Lecture 20: HMMs / Speech / ML 11/8/2011 Dan Klein UC Berkeley Today HMMs Demo bonanza! Most likely explanation queries Speech recognition A massive HMM! Details
More informationFinal Examination CS 540-2: Introduction to Artificial Intelligence
Final Examination CS 540-2: Introduction to Artificial Intelligence May 7, 2017 LAST NAME: SOLUTIONS FIRST NAME: Problem Score Max Score 1 14 2 10 3 6 4 10 5 11 6 9 7 8 9 10 8 12 12 8 Total 100 1 of 11
More informationw + 5 = 20 11x + 10 = 76
Course: 8 th Grade Math DETAIL LESSON PLAN Lesson 5..2 Additional Practice TSW solve equations with fractions and decimals. Big Idea How can I eliminate fractions and decimals in equations? Objective 8.EE.7b
More informationGraphical Models. Lecture 10: Variable Elimina:on, con:nued. Andrew McCallum
Graphical Models Lecture 10: Variable Elimina:on, con:nued Andrew McCallum mccallum@cs.umass.edu Thanks to Noah Smith and Carlos Guestrin for some slide materials. 1 Last Time Probabilis:c inference is
More informationIntroduction to Probabilistic Reasoning. Image credit: NASA. Assignment
Introduction to Probabilistic Reasoning Brian C. Williams 16.410/16.413 November 17 th, 2010 11/17/10 copyright Brian Williams, 2005-10 1 Brian C. Williams, copyright 2000-09 Image credit: NASA. Assignment
More informationBayesian Networks. Vibhav Gogate The University of Texas at Dallas
Bayesian Networks Vibhav Gogate The University of Texas at Dallas Intro to AI (CS 6364) Many slides over the course adapted from either Dan Klein, Luke Zettlemoyer, Stuart Russell or Andrew Moore 1 Outline
More informationBrief overview of autodifferentiation
Brief oeriew of audifferentiation CS 690N, Spring 07 Adanced Natural Language Processing http://people.cs.umass.edu/~brenocon/anlp07/ Brendan O Connor College of Information Computer Sciences Uniersity
More informationArtificial Intelligence Markov Chains
Artificial Intelligence Markov Chains Stephan Dreiseitl FH Hagenberg Software Engineering & Interactive Media Stephan Dreiseitl (Hagenberg/SE/IM) Lecture 12: Markov Chains Artificial Intelligence SS2010
More information4 Limit and Continuity of Functions
Module 2 : Limits and Continuity of Functions Lecture 4 : Limit at a point Objectives In this section you will learn the following The sequential concept of limit of a function The definition of the limit
More informationExact Inference Algorithms Bucket-elimination
Exact Inference Algorithms Bucket-elimination COMPSCI 276, Spring 2013 Class 5: Rina Dechter (Reading: class notes chapter 4, Darwiche chapter 6) 1 Belief Updating Smoking lung Cancer Bronchitis X-ray
More informationUncertainty and knowledge. Uncertainty and knowledge. Reasoning with uncertainty. Notes
Approximate reasoning Uncertainty and knowledge Introduction All knowledge representation formalism and problem solving mechanisms that we have seen until now are based on the following assumptions: All
More information