Representing Knowledge. CS 188: Artificial Intelligence Fall Properties of BNs. Independence? Reachability (the Bayes Ball) Example

Similar documents
Bayes Nets. CS 188: Artificial Intelligence Spring Example: Alarm Network. Building the (Entire) Joint

CS 188: Artificial Intelligence Fall Probabilistic Models

Probabilistic Models. CS 188: Artificial Intelligence Fall Independence. Example: Independence. Example: Independence? Conditional Independence

Reinforcement learning

Sections 3.1 and 3.4 Exponential Functions (Growth and Decay)

Bayes Nets. CS 188: Artificial Intelligence Fall Example: Alarm Network. Bayes Net Semantics. Building the (Entire) Joint. Size of a Bayes Net

Announcements. CS 188: Artificial Intelligence Fall Example Bayes Net. Bayes Nets. Example: Traffic. Bayes Net Semantics

Computer Propagation Analysis Tools

Announcements. CS 188: Artificial Intelligence Spring Bayes Net Semantics. Probabilities in BNs. All Conditional Independences

Exponential and Logarithmic Equations and Properties of Logarithms. Properties. Properties. log. Exponential. Logarithmic.

The sudden release of a large amount of energy E into a background fluid of density

Kalman Filter: an instance of Bayes Filter. Kalman Filter: an instance of Bayes Filter. Kalman Filter. Linear dynamics with Gaussian noise

PHYS PRACTICE EXAM 2

The Production of Polarization

[ ] 0. = (2) = a q dimensional vector of observable instrumental variables that are in the information set m constituents of u

7 Wave Equation in Higher Dimensions

Biol. 356 Lab 8. Mortality, Recruitment, and Migration Rates

Section 5: Chain Rule

Relative and Circular Motion

V The Fourier Transform

5.1 - Logarithms and Their Properties

Laplace transfom: t-translation rule , Haynes Miller and Jeremy Orloff

General Non-Arbitrage Model. I. Partial Differential Equation for Pricing A. Traded Underlying Security

Lecture 2-1 Kinematics in One Dimension Displacement, Velocity and Acceleration Everything in the world is moving. Nothing stays still.

On The Estimation of Two Missing Values in Randomized Complete Block Designs

Lecture 16 (Momentum and Impulse, Collisions and Conservation of Momentum) Physics Spring 2017 Douglas Fields

Welcome Back to Physics 215!

Combinatorial Approach to M/M/1 Queues. Using Hypergeometric Functions

Chapter 2 The Derivative Applied Calculus 107. We ll need a rule for finding the derivative of a product so we don t have to multiply everything out.

156 There are 9 books stacked on a shelf. The thickness of each book is either 1 inch or 2

Support Vector Machines

Best test practice: Take the past test on the class website

Lecture 22 Electromagnetic Waves

4.1 - Logarithms and Their Properties

Physics 240: Worksheet 16 Name

, on the power of the transmitter P t fed to it, and on the distance R between the antenna and the observation point as. r r t

Recap: Bayes Nets. CS 473: Artificial Intelligence Bayes Nets: Independence. Conditional Independence. Bayes Nets. Independence in a BN

3.6 Derivatives as Rates of Change

Math 333 Problem Set #2 Solution 14 February 2003

Two-dimensional Effects on the CSR Interaction Forces for an Energy-Chirped Bunch. Rui Li, J. Bisognano, R. Legg, and R. Bosch

t is a basis for the solution space to this system, then the matrix having these solutions as columns, t x 1 t, x 2 t,... x n t x 2 t...

Of all of the intellectual hurdles which the human mind has confronted and has overcome in the last fifteen hundred years, the one which seems to me

dt = C exp (3 ln t 4 ). t 4 W = C exp ( ln(4 t) 3) = C(4 t) 3.

Diebold, Chapter 7. Francis X. Diebold, Elements of Forecasting, 4th Edition (Mason, Ohio: Cengage Learning, 2006). Chapter 7. Characterizing Cycles

The Global Trade and Environment Model: GTEM

KINEMATICS IN ONE DIMENSION

MATHEMATICAL FOUNDATIONS FOR APPROXIMATING PARTICLE BEHAVIOUR AT RADIUS OF THE PLANCK LENGTH

Today: Falling. v, a

The average rate of change between two points on a function is d t

Chapter Q1. We need to understand Classical wave first. 3/28/2004 H133 Spring

r P + '% 2 r v(r) End pressures P 1 (high) and P 2 (low) P 1 , which must be independent of z, so # dz dz = P 2 " P 1 = " #P L L,

EECE 301 Signals & Systems Prof. Mark Fowler

Low-complexity Algorithms for MIMO Multiplexing Systems

Main Ideas in Class Today

Final Spring 2007

Announcements. CS 188: Artificial Intelligence Fall Causality? Example: Traffic. Topology Limits Distributions. Example: Reverse Traffic

1.6. Slopes of Tangents and Instantaneous Rate of Change

STUDY OF THE STRESS-STRENGTH RELIABILITY AMONG THE PARAMETERS OF GENERALIZED INVERSE WEIBULL DISTRIBUTION

Review Equations. Announcements 9/8/09. Table Tennis

Introduction to Congestion Games

An Open cycle and Closed cycle Gas Turbine Engines. Methods to improve the performance of simple gas turbine plants

Lecture 1 Overview. course mechanics. outline & topics. what is a linear dynamical system? why study linear systems? some examples

Linear Response Theory: The connection between QFT and experiments

Kinematics Vocabulary. Kinematics and One Dimensional Motion. Position. Coordinate System in One Dimension. Kinema means movement 8.

Measures the linear dependence or the correlation between r t and r t-p. (summarizes serial dependence)

Physical Limitations of Logic Gates Week 10a

Quantum Algorithms for Matrix Products over Semirings

s in boxe wers ans Put

Algorithmic Discrete Mathematics 6. Exercise Sheet

Graphs III - Network Flow

Announcements. Recap: Filtering. Recap: Reasoning Over Time. Example: State Representations for Robot Localization. Particle Filtering

Hamilton- J acobi Equation: Explicit Formulas In this lecture we try to apply the method of characteristics to the Hamilton-Jacobi equation: u t

STA 114: Statistics. Notes 2. Statistical Models and the Likelihood Function

Molecular Evolution and Phylogeny. Based on: Durbin et al Chapter 8

Simulation-Solving Dynamic Models ABE 5646 Week 2, Spring 2010

Distribution of Estimates

Pseudosteady-State Flow Relations for a Radial System from Department of Petroleum Engineering Course Notes (1997)

CS 188: Artificial Intelligence Fall Announcements

Econ107 Applied Econometrics Topic 7: Multicollinearity (Studenmund, Chapter 8)

An Automatic Door Sensor Using Image Processing

Chapter 2. First Order Scalar Equations

Unit Root Time Series. Univariate random walk

Instructor: Barry McQuarrie Page 1 of 5

2.1: What is physics? Ch02: Motion along a straight line. 2.2: Motion. 2.3: Position, Displacement, Distance

Physics 180A Fall 2008 Test points. Provide the best answer to the following questions and problems. Watch your sig figs.

5. Stochastic processes (1)

Physics 235 Chapter 2. Chapter 2 Newtonian Mechanics Single Particle

Final Exam. Tuesday, December hours, 30 minutes

Fitting Parameters in a Differential Equation With a Non-Analytical Solution

Special Subject SC434L Digital Video Coding and Compression. ASSIGNMENT 1-Solutions Due Date: Friday 30 August 2002

Exam 3 Review (Sections Covered: , )

Dynamic Estimation of OD Matrices for Freeways and Arterials

Solutions Problem Set 3 Macro II (14.452)

Some Basic Information about M-S-D Systems

Announcements. CS 188: Artificial Intelligence Fall Today. Uncertainty. Random Variables. Probabilities. Lecture 14: Probability 10/17/2006

Mathcad Lecture #8 In-class Worksheet Curve Fitting and Interpolation

Section 3.5 Nonhomogeneous Equations; Method of Undetermined Coefficients

R t. C t P t. + u t. C t = αp t + βr t + v t. + β + w t

ENGI 4430 Advanced Calculus for Engineering Faculty of Engineering and Applied Science Problem Set 9 Solutions [Theorems of Gauss and Stokes]

CHEMICAL KINETICS: 1. Rate Order Rate law Rate constant Half-life Temperature Dependence

Transcription:

C 188: Aificial Inelligence Fall 2007 epesening Knowledge ecue 17: ayes Nes III 10/25/2007 an Klein UC ekeley Popeies of Ns Independence? ayes nes: pecify complex join disibuions using simple local condiional disibuions Condiional independence makes his possible he gaph sucue of a N guaanees ceain condiional independences ecipe: shade evidence nodes Aemp 1: if wo nodes ae conneced by an undieced pah no blocked by a shaded node, hey ae condiionally independen Quesions: Wha independences does a N have? How o compue quaniies we wan fom quaniies we have Almos woks, bu no quie Whee does i beak? Answe: he v-sucue a doesn coun as a link in a pah unless shaded eachabiliy (he ayes all) Coec algoihm: hade in evidence a a souce node y o each age by seach aes: pai of (node, pevious sae ) uccesso funcion: unobseved: o any child o any paen if coming fom a child obseved: Fom paen o paen If you can each a node, i s condiionally independen of he sa node given evidence 1

Vaiables: : aining : affic : oof dips : I m sad Quesions: Causaliy? : affic When ayes nes eflec he ue causal paens: Ofen simple (nodes have fewe paens) Ofen easie o hink abou Ofen easie o elici fom expes asic affic ne e s muliply ou he join Ns need no acually be causal omeimes no causal ne exiss ove he domain E.g. conside he vaiables affic and ips End up wih aows ha eflec coelaion, no causaion Wha do he aows eally mean? opology may happen o encode causal sucue opology only guaaneed o encode condiional independencies 1/4 3/4 3/4 1/4 3/16 1/16 1/2 1/2 : evese affic evese causaliy? : Coins Exa acs don peven epesening independence, jus allow non-independence 9/16 7/16 1/3 2/3 1/7 6/7 3/16 1/16 1 2 h h 1 2 h h h h h 2

Alenae Ns ummay ayes nes compacly encode join disibuions Guaaneed independencies of disibuions can be deduced fom N gaph sucue A ayes ne may have ohe independencies ha ae no deecable unil you inspec is specific disibuion he ayes ball algoihm (aka d-sepaaion) ells us when an obsevaion of one vaiable can change belief abou anohe vaiable Infeence eminde: Alam Newok Infeence: calculaing some saisic fom a join pobabiliy disibuion s: Poseio pobabiliy: Mos likely explanaion: Infeence by Enumeaion Given unlimied ime, infeence in Ns is easy ecipe: ae he maginal pobabiliies you need Figue ou A he aomic pobabiliies you need Calculae and combine hem : Whee did we use he N sucue? We didn! 3

Nomalizaion ick In his simple mehod, we only need he N o synhesize he join enies Nomalize Infeence by Enumeaion? Nesing ums Aomic infeence is exemely slow! lighly cleve way o save wok: Move he sums as fa igh as possible : Evaluaion ee View he nesed sums as a compuaion ee: Vaiable Eliminaion: Idea os of edundan wok in he compuaion ee We can save ime if we cache all paial esuls his is he basic idea behind vaiable eliminaion ill epeaed wok: calculae P(m a) P(j a) wice, ec. 4

asic Objecs ack objecs called facos Iniial facos ae local CPs uing eliminaion, ceae new facos Anaomy of a faco: 4 numbes, one fo each value of and E asic Opeaions Fis basic opeaion: join facos Combining wo facos: Jus like a daabase join uild a faco ove he union of he domains : Vaiables inoduced Vaiables summed ou Agumen vaiables, always nonevidence vaiables asic Opeaions econd basic opeaion: maginalizaion ake a faco and sum ou a vaiable hinks a faco o a smalle one A pojecion opeaion : Vaiable Eliminaion Wha you need o know: VE caches inemediae compuaions Polynomial ime fo ee-sucued gaphs! aves ime by maginalizing vaiables ask soon as possible ahe han a he end We will see special cases of VE lae You ll have o implemen he special cases Appoximaions Exac infeence is slow, especially when you have a lo of hidden nodes Appoximae mehods give you a (close) answe, fase 5