Bayesian Networks. 2. Separation in Graphs
|
|
- Melanie Poole
- 6 years ago
- Views:
Transcription
1 ayesian Netwks ayesian Netwks 2. Separation in raphs Lars Schmidt-Thieme Infmation Systems and Machine Learning Lab (ISMLL) Institute f usiness conomics and Infmation Systems & Institute f omputer Science University of Hildesheim ourse on ayesian Netwks, summer term /30 ayesian Netwks 1. Separation in Undirected raphs 2. Properties of Ternary Relations on Sets 3. Separation in irected raphs ourse on ayesian Netwks, summer term /30
2 ayesian Netwks / 1. Separation in Undirected raphs raphs efinition 1. Let V be any set and P 2 (V ) := {{x, y} x, y V } be a subset of sets of undered pairs of V. Then := (V, ) is called an undirected graph. The elements of V are called vertices nodes, the elements of edges. Let e = {x, y} be an edge, then we call the vertices x, y incident to the edge e. We call two vertices x, y V adjacent, if there is an edge {x, y}. The set of all vertices adjacent with a given vertex x V is called its fan: fan(x) := {y V {x, y} } H igure 1: xample graph. ourse on ayesian Netwks, summer term /30 ayesian Netwks / 1. Separation in Undirected raphs Paths on graphs efinition 2. Let V be a set. We call V := i N V i the set of finite sequences in V. The length of a sequence s V is denoted by s. Let = (V, ) be a graph. We call := V := {p V {p i, p i+1 }, i = 1,..., p 1} the set of paths on. ny contiguous subsequence of a path p is called a subpath of p, i.e. any path (p i, p i+1,..., p j ) with 1 i j n. The subpath (p 2, p 3,..., p n 1 ) is called the interi of p. path of length p 2 is called proper. H igure 2: xample graph. The sequences (,,, H) (,,, ) ( ) are paths on, but the sequences (,,, ) (, H,, ) are not. ourse on ayesian Netwks, summer term /30
3 ayesian Netwks / 1. Separation in Undirected raphs Separation in graphs (u-separation) efinition 3. Let := (V, ) be a graph. Let Z V be a subset of vertices. We say, two vertices x, y V are u- separated by Z in, if every path from x to y contains some vertex of Z ( p : p 1 = x, p p = y i {1,..., n} : p i Z). We write I (X, Y Z) f the statement, that X and Y are u-separated by Z in. I is called u-separation relation in. Let X, Y, Z V be three disjoint subsets of vertices. We say, the vertices X and Y are u-separated by Z in, if every path from any vertex from X to any vertex from Y is separated by Z, i.e., contains some vertex of Z. igure 3: p. 179]. (a) I(, I I) xample f u-separation [H97, (b) ourse on ayesian Netwks, summer term /30 ayesian Netwks / 1. Separation in Undirected raphs Separation in graphs (u-separation) (a) I(, I I) (b)(,ii) (c) I( {, }, {, H} I {, }) (d)({, ) (a) I(, I I) (a) I(, I I) (b)(,ii) (b)(,ii) (c) I( {, }, {, H} I {, }) (d)({, ), {,H} (c) I( {, }, {, H} I {, }) (d)({, ), {,H} I {,I}), }, {, igure H} I {, 4: }) Me examples (d)({, f ), u-separation {,H} I {,I})[H97, p. 179]. ourse on ayesian Netwks, summer term /30
4 ayesian Netwks / 1. Separation in Undirected raphs Properties of u-separation / no chardality u-separation the chdality property does not hold (in general). (e) Weak Transitivity & :::} (d) hdality igure 5: ounterexample f chdality in undirected graphs (u-separation) [H97, p. 189]. ourse on ayesian Netwks, summer term /30 ayesian Netwks / 1. Separation in Undirected raphs Properties of u-separation symmetry decomposition composition strong union weak union contraction intersection strong transitivity weak transitivity chdality relation u-separation ourse on ayesian Netwks, summer term /30
5 ayesian Netwks / 1. Separation in Undirected raphs hecking u-separation To test, if f a given graph = (V, ) two given sets X, Y V of vertices are u-separated by a third given set Z V of vertices, we may use standard breadth-first search to compute all vertices that can be reached from X (see, e.g., [OW02], [LR90]). 1 breadth-first search(, X) : 2 bder := X 3 reached := 4 while bder do 5 reached := reached bder 6 bder := fan (bder) \ reached 7 od 8 return reached checking u-separation we have to tweak the algithm 1. not to add vertices from Z to the bder and 2. to stop if a vertex of Y has been reached. 1 check-u-separation(, X, Y, Z) : 2 bder := X 3 reached := 4 while bder do 5 reached := reached bder 6 bder := fan (bder) \ reached \ Z 7 if bder Y 8 return false 9 fi 10 od 11 return true igure 6: readth-first search algithm f enumerating all vertices reachable from X. igure 7: readth-first search algithm f checking u-separation of X and Y by Z. ourse on ayesian Netwks, summer term /30 ayesian Netwks 1. Separation in Undirected raphs 2. Properties of Ternary Relations on Sets 3. Separation in irected raphs ourse on ayesian Netwks, summer term /30
6 ayesian Netwks / 2. Properties of Ternary Relations on Sets Symmetry efinition 4. Let V be any set and I a ternary relation on P(V ), i.e., I (P(V )) 3. I is called symmetric, if I(X, Y Z) I(Y, X Z) uilding Probabilistic Models (a) Symmetry igure 8: xamples f symmetry [H97, p. 186]. (b) ecomposition ourse on ayesian Netwks, summer term /30 ayesian Netwks / 2. Properties of Ternary Relations on Sets =? ecomposition and omposition (c) Weak Union efinition 5. I is called (right-)decomposable, if I(X, Y Z) I(X, Y Z) f any Y Y I is called (right-)composable, if I(X, Y Z) and I(X, Y Z) I(X, Y(d) ontraction Y Z) uilding Probabilistic Models =? (e) Intersection PTnTTl' ~ ~ " (a) Symmetry (b) ecomposition igure 9: xamples f decomposition [H97, p. 186]. ourse on ayesian Netwks, summer term /30
7 ayesian Netwks / 2. Properties of Ternary Relations on Sets Union efinition 6. I is called strongly unionable, if I(X, Y Z) I(X, Y Z Z ) uilding Probabilistic Models f all Z disjunct with X, Y I is called (right-)weakly unionable, if I(X, Y Z) I(X, Y (Y \ Y ) Z) f any Y Y (a) Symmetry (b) ecomposition uilding Probabilistic Models =? (a) Strang Union 6 5. uilding Probabilistic Models (b) Strang Transitivity (a) Symmetry (c) Weak Union igure 10: xamples f a) strong union and b) weak union [H97, p. 186,189]. ourse on ayesian Netwks, summer term /30 ayesian Netwks / 2. Properties of Ternary Relations on Sets ontraction and Intersection =? (b) ecomposition (a) Symmetry efinition 7. I is (e) called Weak Transitivity (right-)contractable, (d) ontraction (b) ecomposition (c) Weak if Union I(X, Y Z) and I(X, Y Y Z) I(X, Y Y Z) =? I is called (right-)intersectable, if & :::} =? I(X, Y Y Z) and I(X, Y Y Z) I(X, Y Y Z) (c) Weak Union PTnTTl' ~ ~ " (e) Intersection (d) ontraction (d) hdality =? (d) ontraction PTnTTl' ~ ~ " (e) Intersection igure 11: xamples f a) contraction and b) intersection [H97, p. 186]. ourse on ayesian Netwks, summer term /30
8 ayesian Netwks / 2. Properties of Ternary Relations on Sets Transitivity efinition 8. I is called strongly transitive, if I(X, Y Z) I(X, {v} Z) I({v}, Y Z) v V \ Z I is called weakly transitive, if I(X, Y Z) and I(X, Y Z {v}) I(X, {v} Z) I({v}, Y Z) v V \Z (a) Strang Union (b) Strang Transitivity (e) Weak Transitivity (b) Strang Transitivity (e) Weak Transitivity igure 12: xamples f a) strong transitivity and b) weak transitivity. [H97, p. 189] ourse on ayesian Netwks, summer term /30 ayesian Netwks / 2. Properties of Ternary Relations on Sets hdality efinition 9. I is called chdal, if & :::} I({a}, {c} {b, d}) and I({b}, {d} {a, c}) I({a}, {c} {b}) I({a}, {c} {d}) (d) hdality :::} a a a a b d & b d b d b d c c igure 13: xample f chdality. c c (d) hdality ourse on ayesian Netwks, summer term /30
9 ayesian Netwks 1. Separation in Undirected raphs 2. Properties of Ternary Relations on Sets 3. Separation in irected raphs ourse on ayesian Netwks, summer term /30 ayesian Netwks / 3. Separation in irected raphs irected graphs efinition 10. Let V be any set and V V be a subset of sets of dered pairs of V. Then := (V, ) is called a directed graph. The elements of V are called vertices nodes, the elements of edges. The set of all vertices with an edge to a given vertex x V is called its fanin: fanin(x) := {y V (y, x) } I J H Let e = (x, y) be an edge, then we call the vertices x, y incident to the edge e. We call two vertices x, y V adjacent, if there is an edge (x, y) (y, x). The set of all vertices with an edge from a given vertex x V is called its fanout: fanout(x) := {y V (x, y) } K igure 14: anin (ange) and fanout (green) of a node (blue). ourse on ayesian Netwks, summer term /30 L
10 ayesian Netwks / 3. Separation in irected raphs Paths on directed graphs efinition 11. Let = (V, ) be a directed graph. We call := V := {p V (p i, p i+1 ), i = 1,..., p 1} the set of paths on. two vertices x, y V we denote by [x,y] := {p V p 1 = x, p p = y} the set of paths from x to y. The notions of subpath, interi, and proper path carry over to directed graphs. igure 15: xample f a cycle. proper path p = (p 1,..., p n ) with p 1 = p n is called cyclic. path without cyclic subpath is called a simple path. graph without a cyclic path is called directed acyclig graph (). ourse on ayesian Netwks, summer term /30 ayesian Netwks / 3. Separation in irected raphs Paths on directed graphs (2/2) efinition 12. a vertices of the fanout are also called children child(x) := fanout(x) := {y V (x, y) } and the vertices of the fanin parents: pa(x) := fanin(x) := {y V (y, x) } Vertices y with a proper path from y to x are called ancests of x: anc(x) := {y V p : p 2, p 1 = y, p p = x} Vertices y with a proper path from x to y are called descendents of x: desc(x) := {y V p : p 2, p 1 = x, p p = y} Vertices that are not a descendent of x are called nondescendents of x. I K igure 16: Parents/anin (ange) and additional ancests (light ange), children/fanout (green) and additional descendants (light green) of a node (blue). ourse on ayesian Netwks, summer term /30 J H L
11 ayesian Netwks / 3. Separation in irected raphs hains efinition 13. Let := (V, ) be a directed graph. We can construct an undirected skeleton u() := (V, u()) of by dropping the directions of the edges: u() := {{x, y} (x, y) (y, x) } The paths on u() are called chains of : := u() i.e., a chain is a sequence of vertices that are linked by a fward a backward edge. If we want to stress the directions of the linking edges, we denote a chain p = (p 1,..., p n ) by igure 17: hain (,,,, ) on directed graph and path on undirected skeleton. p 1 p 2 p 3 p n 1 p n The notions of length, subchain, interi and proper carry over from undirected paths to chains. ourse on ayesian Netwks, summer term /30 ayesian Netwks / 3. Separation in irected raphs locked chains efinition 14. Let := (V, ) be a directed graph. We call a chain p 1 p 2 p 3 a head-to-head meeting. Let Z V be a subset of vertices. Then a chain p is called blocked at position i by Z, if f its subchain (p i 1, p i, p i+1 ) there is { p i Z, if not p i 1 p i p i+1 p i Z anc(z), else igure 18: hain (,,,, ) is blocked by Z = {} at 2. ourse on ayesian Netwks, summer term /30
12 ayesian Netwks / 3. Separation in irected raphs locked chains / me examples igure 19: hain (,,,, ) is blocked by Z = at 3. igure 20: hain (,,,, ) is not blocked by Z = {} at 3. ourse on ayesian Netwks, summer term /30 ayesian Netwks / 3. Separation in irected raphs locked chains / rationale The notion of blocking is choosen in a way so that chains model "flow of causal influence" through a causal netwk where the states of the vertices Z are already know. 2) iverging connection / common cause: flu flu nausea fever nausea fever 1) Serial connection / intermediate cause: flu flu 3) onverging connection / common effect: flu salmonella flu salmonella nausea nausea nausea nausea pal pal pal pal Models "discounting" [Nea03, p. 51]. ourse on ayesian Netwks, summer term /30
13 ayesian Netwks / 3. Separation in irected raphs The mal graph efinition 15. Let := (V, ) be a. s the mal graph of we denote the undirected skeleton graph of plus additional edges between each two parents of a vertex, i.e. mal() := (V, ) with := u() {{x, y} z V : x, y pa(z)} igure 22: and its mal graph. ourse on ayesian Netwks, summer term /30 ayesian Netwks / 3. Separation in irected raphs Separation in s (d-separation) Let := (V, ) be a. Let X, Y, Z V be three disjoint subsets of vertices. We say, the vertices X and Y are separated by Z in, if (i) every chain from any vertex from X to any vertex from Y is blocked by Z equivalently (ii) X and Y are u-separated by Z in the mal graph of the ancestral hull of X Y Z. We write I (X, Y Z) f the statement, that X and Y are separated by Z in. igure 23: re the vertices and separated by in? ourse on ayesian Netwks, summer term /30
14 ayesian Netwks / 3. Separation in irected raphs Separation in s (d-separation) / examples igure 24: and are separated by in. ourse on ayesian Netwks, summer term /30 ayesian Netwks / 3. Separation in irected raphs Separation in s (d-separation) / me examples igure 25: and are not separated by {, } in. ourse on ayesian Netwks, summer term /30
15 ayesian Netwks / 3. Separation in irected raphs hecking d-separation To test, if f a given graph = (V, ) two given sets X, Y V of vertices are d-separated by a third given set Z V of vertices, we may build the mal graph of the ancestral hull and apply the u-separation criterion. 1 check-d-separation(, X, Y, Z) : 2 := mal(anc (X Y Z)) 3 return check-u-separation(, X, Y, Z) igure 26: lgithm f checking d-separation via u-separation in the mal graph. drawback of this algithm is that we have to rebuild the mal graph of the ancestral hull whenever X Y changes. ourse on ayesian Netwks, summer term /30 ayesian Netwks / 3. Separation in irected raphs hecking d-separation Instead of constructing a mal graph, we can modify a breadth-first search f chains to find all vertices not d- separated from X by Z in. The breadth-first search must not hop over head-to-head meetings with the middle vertex not in Z n having an descendent in Z. 1 enumerate-d-separation( = (V, ), X, Z) : 2 bderward := 3 bderackward := X \ Z 4 reached := 5 while bderward bderackward do 6 reached := reached (bderward \ Z) bderackward x y z fanout(y) if y Z anc(z) z fanin(y) igure 27: Restricted breadth-first search of non-blocked chains. 7 bderward := fanout (bderackward (bderward \ Z)) \ reached 8 bderackward := fanin (bderackward (bderward (Z anc(z)))) \ Z \ reached 9 od 10 return V \ reached igure 28: lgithm f enumerating all vertices d-separated from X by Z in via restricted breadth-first search (see [Nea03, p ] f another fmulation). ourse on ayesian Netwks, summer term /30
16 ayesian Netwks / 3. Separation in irected raphs Properties of d-separation / no strong union d-separation the strong union property does not hold. I is called strongly unionable, if I(X, Y Z) I(X, Y Z Z ) f all Z disjunct with X, Y X Y X Y Z Z (a) Strang Union igure 29: xample f strong union in undirected graphs (u-separation) [H97, p. 189]. igure 30: ounterexample f strong unions in s (d-separation). (b) Strang Transitivity ourse on ayesian Netwks, summer term /30 (e) Weak Transitivity ayesian Netwks / 3. Separation in irected raphs Properties of d-separation / no strong transitivity d-separation the strong transitivity property does not hold. I is called strongly transitive, if & I(X, Y Z) I(X, {v} Z) I({v}, Y Z) :::} v V \ Z x (d) hdality z y ion (b) Strang Transitivity igure 31: xample f strong transitivity in undirected graphs (u-separation) [H97, p. 189]. igure 32: ounterexample f strong transitivity in s (d-separation). ourse on ayesian Netwks, summer term /30 v
17 ayesian Netwks / 3. Separation in irected raphs Properties of d-separation symmetry decomposition composition strong union weak union contraction intersection strong transitivity weak transitivity chdality relation u-separation d-separation ourse on ayesian Netwks, summer term /30 ayesian Netwks / 3. Separation in irected raphs References [H97] nrique astillo, José Manuel utiérrez, and li S. Hadi. xpert Systems and Probabilistic Netwk Models. Springer, New Yk, [LR90] Thomas H. men, harles. Leiserson, and Ronald L. Rivest. lgithms. MIT Press, ambridge, Massachusetts, Introduction to [Nea03] Richard. Neapolitan. Learning ayesian Netwks. Prentice Hall, [OW02] [VP90] Thomas Ottmann and Peter Widmayer. lgithmen und atenstrukturen. Spektrum Verlag, Heidelberg, Thomas Verma and Judea Pearl. ausal netwks: semantics and expressiveness. In Ross. Shachter, Tod S. Levitt, Laveen N. Kanal, and John. Lemmer, edits, Uncertainty in rtificial Intelligence 4, pages Nth-Holland, msterdam, ourse on ayesian Netwks, summer term /30
Machine Learning Lecture 16
ourse Outline Machine Learning Lecture 16 undamentals (2 weeks) ayes ecision Theory Probability ensity stimation Undirected raphical Models & Inference 28.06.2016 iscriminative pproaches (5 weeks) Linear
More informationCAUSAL NETWORKS: SEMANTICS AND EXPRESSIVENESS*
Uncertainty in Artificial Intelligence 4 R.D. Shachter, T.S. Levitt, L.N. Kanal, J.F. Lemmer (Editors) Elsevier Science Publishers B.V. (North-Holland), 1990 69 CAUSAL NETWORKS: SEMANTICS AND EXPRESSIVENESS*
More informationLars Schmidt-Thieme, Information Systems and Machine Learning Lab (ISMLL), University of Hildesheim, Germany, Course on Artificial Intelligence,
Course on Artificial Intelligence, winter term 2012/2013 0/35 Artificial Intelligence Artificial Intelligence 3. Constraint Satisfaction Problems Lars Schmidt-Thieme Information Systems and Machine Learning
More information3.1 Basic Definitions and Applications
Graphs hapter hapter Graphs. Basic efinitions and Applications Graph. G = (V, ) n V = nodes. n = edges between pairs of nodes. n aptures pairwise relationship between objects: Undirected graph represents
More informationA note on the pairwise Markov condition in directed Markov fields
TECHNICAL REPORT R-392 April 2012 A note on the pairwise Markov condition in directed Markov fields Judea Pearl University of California, Los Angeles Computer Science Department Los Angeles, CA, 90095-1596,
More informationGraph. Vertex. edge. Directed Graph. Undirected Graph
Module : Graphs Dr. Natarajan Meghanathan Professor of Computer Science Jackson State University Jackson, MS E-mail: natarajan.meghanathan@jsums.edu Graph Graph is a data structure that is a collection
More informationPaths. Path is a sequence of edges that begins at a vertex of a graph and travels from vertex to vertex along edges of the graph.
Paths Path is a sequence of edges that begins at a vertex of a graph and travels from vertex to vertex along edges of the graph. Formal Definition of a Path (Undirected) Let n be a nonnegative integer
More informationGraphical Models and Markov Blankets
Stephan Stahlschmidt Ladislaus von Bortkiewicz Chair of Statistics C.A.S.E. Center for Applied Statistics and Economics Humboldt-Universität zu Berlin Motivation 1-1 Why Graphical Models? Illustration
More informationCausal Networks: Semantics and Expressiveness*
Causal Networks: Semantics and Expressiveness* Thomas Verina & Judea Pearl Cognitive Systems Laboratory, Computer Science Department University of California Los Angeles, CA 90024
More informationAv. Prof. Mello Moraes, 2231, , São Paulo, SP - Brazil
" Generalizing Variable Elimination in Bayesian Networks FABIO GAGLIARDI COZMAN Escola Politécnica, University of São Paulo Av Prof Mello Moraes, 31, 05508-900, São Paulo, SP - Brazil fgcozman@uspbr Abstract
More informationAnalysis of Algorithms Prof. Karen Daniels
UMass Lowell omputer Science 91.404 nalysis of lgorithms Prof. Karen aniels Spring, 2013 hapter 22: raph lgorithms & rief Introduction to Shortest Paths [Source: ormen et al. textbook except where noted]
More informationMaximal Prime Subgraph Decomposition of Bayesian Networks: A Relational Database Perspective
Maximal Prime ubgraph ecomposition of ayesian Networks: Relational atabase Perspective an Wu chool of omputer cience University of Windsor Windsor Ontario anada N9 3P4 Michael Wong epartment of omputer
More informationA Simplified Correctness Proof for a Well-Known Algorithm Computing Strongly Connected Components
A Simplified Correctness Proof for a Well-Known Algorithm Computing Strongly Connected Components Ingo Wegener FB Informatik, LS2, Univ. Dortmund, 44221 Dortmund, Germany wegener@ls2.cs.uni-dortmund.de
More informationCONDITIONAL INDEPENDENCE AND ITS REPRESENTATIONS*
CONDITIONAL INDEPENDENCE AND ITS REPRESENTATIONS* JUDEA PEARL, DAN GEIGER, THOMAS VERMA This paper summarizes recent investigations into the nature of informational dependencies and their representations.
More informationEscola Politécnica, University of São Paulo Av. Prof. Mello Moraes, 2231, , São Paulo, SP - Brazil
Generalizing Variable Elimination in Bayesian Networks FABIO GAGLIARDI COZMAN Escola Politécnica, University of São Paulo Av. Prof. Mello Moraes, 2231, 05508-900, São Paulo, SP - Brazil fgcozman@usp.br
More informationLesson 22: Basic Graph Concepts
Lesson 22: asic Graph oncepts msc 175 iscrete Mathematics 1. Introduction graph is a mathematical object that is used to model different relations between objects and processes: Linked list Flowchart of
More informationResearch Article Structural Learning about Directed Acyclic Graphs from Multiple Databases
Abstract and Applied Analysis Volume 2012, Article ID 579543, 9 pages doi:10.1155/2012/579543 Research Article Structural Learning about Directed Acyclic Graphs from Multiple Databases Qiang Zhao School
More informationarxiv:submit/ [math.co] 9 May 2011
arxiv:submit/0243374 [math.co] 9 May 2011 Connectivity and tree structure in finite graphs J. Carmesin R. Diestel F. Hundertmark M. Stein 6 May, 2011 Abstract We prove that, for every integer k 0, every
More informationSeparators and Adjustment Sets in Markov Equivalent DAGs
Proceedings of the Thirtieth AAAI Conference on Artificial Intelligence (AAAI-16) Separators and Adjustment Sets in Markov Equivalent DAGs Benito van der Zander and Maciej Liśkiewicz Institute of Theoretical
More informationThese notes present some properties of chordal graphs, a set of undirected graphs that are important for undirected graphical models.
Undirected Graphical Models: Chordal Graphs, Decomposable Graphs, Junction Trees, and Factorizations Peter Bartlett. October 2003. These notes present some properties of chordal graphs, a set of undirected
More informationIntroduction to information theory and coding - Lecture 1 on Graphical models
Introduction to information theory and coding - Lecture 1 on Graphical models Louis Wehenkel Department of Electrical Engineering and Computer Science University of Liège Montefiore - Liège - October,
More informationDesign and Analysis of Algorithms
S 101, Winter 2018 esign and nalysis of lgorithms Lecture 3: onnected omponents lass URL: http://vlsicad.ucsd.edu/courses/cse101-w18/ nd of Lecture 2: s, Topological Order irected cyclic raph.g., Vertices
More information1 Connected components in undirected graphs
Lecture 10 Connected components of undirected and directed graphs Scribe: Luke Johnston (2016) and Mary Wootters (2017) Date: October 25, 2017 Much of the following notes were taken from Tim Roughgarden
More informationCISC 320 Introduction to Algorithms Fall Lecture 15 Depth First Search
IS 320 Introduction to lgorithms all 2014 Lecture 15 epth irst Search 1 Traversing raphs Systematic search of every edge and vertex of graph (directed or undirected) fficiency: each edge is visited no
More informationIntroduction to Algorithms Third Edition
Thomas H. Cormen Charles E. Leiserson Ronald L. Rivest Clifford Stein Introduction to Algorithms Third Edition The MIT Press Cambridge, Massachusetts London, England Preface xiü I Foundations Introduction
More informationBayesian Networks and Decision Graphs
ayesian Networks and ecision raphs hapter 7 hapter 7 p. 1/27 Learning the structure of a ayesian network We have: complete database of cases over a set of variables. We want: ayesian network structure
More informationL10 Graphs. Alice E. Fischer. April Alice E. Fischer L10 Graphs... 1/37 April / 37
L10 Graphs lice. Fischer pril 2016 lice. Fischer L10 Graphs... 1/37 pril 2016 1 / 37 Outline 1 Graphs efinition Graph pplications Graph Representations 2 Graph Implementation 3 Graph lgorithms Sorting
More informationCS473-Algorithms I. Lecture 13-A. Graphs. Cevdet Aykanat - Bilkent University Computer Engineering Department
CS473-Algorithms I Lecture 3-A Graphs Graphs A directed graph (or digraph) G is a pair (V, E), where V is a finite set, and E is a binary relation on V The set V: Vertex set of G The set E: Edge set of
More informationInf 496/596 Topics in Informatics: Analysis of Social Network Data
Inf 496/596 Topics in Informatics: Analysis of Social Network Data Jagdish S. Gangolly Department of Informatics College of Computing & Information State University of New York at Albany Lecture 1B (Graphs)
More informationGraph Representations and Traversal
COMPSCI 330: Design and Analysis of Algorithms 02/08/2017-02/20/2017 Graph Representations and Traversal Lecturer: Debmalya Panigrahi Scribe: Tianqi Song, Fred Zhang, Tianyu Wang 1 Overview This lecture
More informationChapter 9: Elementary Graph Algorithms Basic Graph Concepts
hapter 9: Elementary Graph lgorithms asic Graph oncepts msc 250 Intro to lgorithms graph is a mathematical object that is used to model different situations objects and processes: Linked list Tree (partial
More informationProblem Solving as State Space Search. Assignments
Problem olving as tate pace earch rian. Williams 6.0- ept th, 00 lides adapted from: 6.0 Tomas Lozano Perez, Russell and Norvig IM rian Williams, Fall 0 ssignments Remember: Problem et #: Java warm up
More informationCompiling Constraint Networks into AND/OR Multi-Valued Decision Diagrams (AOMDDs)
ompiling onstraint Networks into N/OR Multi-Valued ecision iagrams (OMs) Robert Mateescu and Rina echter onald ren School of Information and omputer Science University of alifornia, Irvine, 92697-3425
More informationReading. Graph Terminology. Graphs. What are graphs? Varieties. Motivation for Graphs. Reading. CSE 373 Data Structures. Graphs are composed of.
Reading Graph Reading Goodrich and Tamassia, hapter 1 S 7 ata Structures What are graphs? Graphs Yes, this is a graph. Graphs are composed of Nodes (vertices) dges (arcs) node ut we are interested in a
More informationThomas H. Cormen Charles E. Leiserson Ronald L. Rivest. Introduction to Algorithms
Thomas H. Cormen Charles E. Leiserson Ronald L. Rivest Introduction to Algorithms Preface xiii 1 Introduction 1 1.1 Algorithms 1 1.2 Analyzing algorithms 6 1.3 Designing algorithms 1 1 1.4 Summary 1 6
More informationMarkov Equivalence in Bayesian Networks
Markov Equivalence in Bayesian Networks Ildikó Flesch and eter Lucas Institute for Computing and Information Sciences University of Nijmegen Email: {ildiko,peterl}@cs.kun.nl Abstract robabilistic graphical
More informationLecture 13. Reading: Weiss, Ch. 9, Ch 8 CSE 100, UCSD: LEC 13. Page 1 of 29
Lecture 13 Connectedness in graphs Spanning trees in graphs Finding a minimal spanning tree Time costs of graph problems and NP-completeness Finding a minimal spanning tree: Prim s and Kruskal s algorithms
More informationIntroduction to Graphs. common/notes/ppt/
Introduction to Graphs http://people.cs.clemson.edu/~pargas/courses/cs212/ common/notes/ppt/ Introduction Graphs are a generalization of trees Nodes or verticies Edges or arcs Two kinds of graphs irected
More informationHomework Assignment #3 Graph
CISC 4080 Computer Algorithms Spring, 2019 Homework Assignment #3 Graph Some of the problems are adapted from problems in the book Introduction to Algorithms by Cormen, Leiserson and Rivest, and some are
More informationA Schedulability-Preserving Transformation Scheme from Boolean- Controlled Dataflow Networks to Petri Nets
Schedulability-Preserving ransformation Scheme from oolean- ontrolled Dataflow Networks to Petri Nets ong Liu Edward. Lee University of alifornia at erkeley erkeley,, 94720, US {congliu,eal}@eecs. berkeley.edu
More informationA GRAPH FROM THE VIEWPOINT OF ALGEBRAIC TOPOLOGY
A GRAPH FROM THE VIEWPOINT OF ALGEBRAIC TOPOLOGY KARL L. STRATOS Abstract. The conventional method of describing a graph as a pair (V, E), where V and E repectively denote the sets of vertices and edges,
More informationLecture 10: Strongly Connected Components, Biconnected Graphs
15-750: Graduate Algorithms February 8, 2016 Lecture 10: Strongly Connected Components, Biconnected Graphs Lecturer: David Witmer Scribe: Zhong Zhou 1 DFS Continued We have introduced Depth-First Search
More informationLecture 10. Elementary Graph Algorithm Minimum Spanning Trees
Lecture 10. Elementary Graph Algorithm Minimum Spanning Trees T. H. Cormen, C. E. Leiserson and R. L. Rivest Introduction to Algorithms, 3rd Edition, MIT Press, 2009 Sungkyunkwan University Hyunseung Choo
More informationGeometric Data Structures
Geometric Data Structures 1 Data Structure 2 Definition: A data structure is a particular way of organizing and storing data in a computer for efficient search and retrieval, including associated algorithms
More informationCanonical Forms and Algorithms for Steiner Trees in Uniform Orientation Metrics
Canonical Forms and Algorithms for Steiner Trees in Uniform Orientation Metrics M. Brazil D.A. Thomas J.F. Weng M. Zachariasen December 13, 2002 Abstract We present some fundamental structural properties
More informationChapter 2 PRELIMINARIES. 1. Random variables and conditional independence
Chapter 2 PRELIMINARIES In this chapter the notation is presented and the basic concepts related to the Bayesian network formalism are treated. Towards the end of the chapter, we introduce the Bayesian
More informationAlgorithm Design (8) Graph Algorithms 1/2
Graph Algorithm Design (8) Graph Algorithms / Graph:, : A finite set of vertices (or nodes) : A finite set of edges (or arcs or branches) each of which connect two vertices Takashi Chikayama School of
More informationDefinition of Graphs and Trees. Representation of Trees.
Definition of Graphs and Trees. Representation of Trees. Chapter 6 Definition of graphs (I) A directed graph or digraph is a pair G = (V,E) s.t.: V is a finite set called the set of vertices of G. E V
More informationTCOM 501: Networking Theory & Fundamentals. Lecture 11 April 16, 2003 Prof. Yannis A. Korilis
TOM 50: Networking Theory & undamentals Lecture pril 6, 2003 Prof. Yannis. Korilis 2 Topics Routing in ata Network Graph Representation of a Network Undirected Graphs Spanning Trees and Minimum Weight
More informationThe vertex set is a finite nonempty set. The edge set may be empty, but otherwise its elements are two-element subsets of the vertex set.
Math 3336 Section 10.2 Graph terminology and Special Types of Graphs Definition: A graph is an object consisting of two sets called its vertex set and its edge set. The vertex set is a finite nonempty
More informationTrees. 3. (Minimally Connected) G is connected and deleting any of its edges gives rise to a disconnected graph.
Trees 1 Introduction Trees are very special kind of (undirected) graphs. Formally speaking, a tree is a connected graph that is acyclic. 1 This definition has some drawbacks: given a graph it is not trivial
More informationToday More about Trees. Introduction to Computers and Programming. Spanning trees. Generic search algorithm. Prim s algorithm Kruskal s algorithm
Introduction to omputers and Programming Prof. I. K. Lundqvist Lecture 8 pril Today More about Trees panning trees Prim s algorithm Kruskal s algorithm eneric search algorithm epth-first search example
More informationUNIT IV -NON-LINEAR DATA STRUCTURES 4.1 Trees TREE: A tree is a finite set of one or more nodes such that there is a specially designated node called the Root, and zero or more non empty sub trees T1,
More informationGraph Theory. Probabilistic Graphical Models. L. Enrique Sucar, INAOE. Definitions. Types of Graphs. Trajectories and Circuits.
Theory Probabilistic ical Models L. Enrique Sucar, INAOE and (INAOE) 1 / 32 Outline and 1 2 3 4 5 6 7 8 and 9 (INAOE) 2 / 32 A graph provides a compact way to represent binary relations between a set of
More informationV8 Molecular decomposition of graphs
V8 Molecular decomposition of graphs - Most cellular processes result from a cascade of events mediated by proteins that act in a cooperative manner. - Protein complexes can share components: proteins
More informationDiscrete Structures CISC 2315 FALL Graphs & Trees
Discrete Structures CISC 2315 FALL 2010 Graphs & Trees Graphs A graph is a discrete structure, with discrete components Components of a Graph edge vertex (node) Vertices A graph G = (V, E), where V is
More informationGeometric Streaming Algorithms with a Sorting Primitive (TR CS )
Geometric Streaming Algorithms with a Sorting Primitive (TR CS-2007-17) Eric Y. Chen School of Computer Science University of Waterloo Waterloo, ON N2L 3G1, Canada, y28chen@cs.uwaterloo.ca Abstract. We
More informationBinary Relations McGraw-Hill Education
Binary Relations A binary relation R from a set A to a set B is a subset of A X B Example: Let A = {0,1,2} and B = {a,b} {(0, a), (0, b), (1,a), (2, b)} is a relation from A to B. We can also represent
More informationCheng Soon Ong & Christian Walder. Canberra February June 2018
Cheng Soon Ong & Christian Walder Research Group and College of Engineering and Computer Science Canberra February June 2018 Outlines Overview Introduction Linear Algebra Probability Linear Regression
More informationLecture 5: Graphs & their Representation
Lecture 5: Graphs & their Representation Why Do We Need Graphs Graph Algorithms: Many problems can be formulated as problems on graphs and can be solved with graph algorithms. To learn those graph algorithms,
More informationControl Flow Graphs. (From Matthew S. Hetch. Flow Analysis of Computer Programs. North Holland ).
Control Flow Graphs (From Matthew S. Hetch. Flow Analysis of Computer Programs. North Holland. 1977. ). 38 Control Flow Graphs We will now discuss flow graphs. These are used for global optimizations (as
More informationMarkov Random Fields
3750 Machine earning ecture 4 Markov Random ields Milos auskrecht milos@cs.pitt.edu 5329 ennott quare 3750 dvanced Machine earning Markov random fields Probabilistic models with symmetric dependences.
More informationGraphs: Connectivity. A graph. Transportation systems. Social networks
graph raphs: onnectivity ordi ortadella and ordi Petit epartment of omputer Science Source: Wikipedia The network graph formed by Wikipedia editors (edges) contributing to different Wikipedia language
More informationThese definitions cover some basic terms and concepts of graph theory and how they have been implemented as C++ classes.
hapter 5. raph Theory *raph Theory, *Mathematics raph theory is an area of mathematics which has been incorporated into IS to solve some specific problems in oolean operations and sweeping. It may be also
More informationUsing a Model of Human Cognition of Causality to Orient Arcs in Structural Learning
Using a Model of Human Cognition of Causality to Orient Arcs in Structural Learning A dissertation submitted in partial fulfillment of the requirements for the degree of Doctor of Philosophy at George
More informationLecture 22 Tuesday, April 10
CIS 160 - Spring 2018 (instructor Val Tannen) Lecture 22 Tuesday, April 10 GRAPH THEORY Directed Graphs Directed graphs (a.k.a. digraphs) are an important mathematical modeling tool in Computer Science,
More informationOn 2-Subcolourings of Chordal Graphs
On 2-Subcolourings of Chordal Graphs Juraj Stacho School of Computing Science, Simon Fraser University 8888 University Drive, Burnaby, B.C., Canada V5A 1S6 jstacho@cs.sfu.ca Abstract. A 2-subcolouring
More informationGraph Algorithms Using Depth First Search
Graph Algorithms Using Depth First Search Analysis of Algorithms Week 8, Lecture 1 Prepared by John Reif, Ph.D. Distinguished Professor of Computer Science Duke University Graph Algorithms Using Depth
More informationLecture 2 - Graph Theory Fundamentals - Reachability and Exploration 1
CME 305: Discrete Mathematics and Algorithms Instructor: Professor Aaron Sidford (sidford@stanford.edu) January 11, 2018 Lecture 2 - Graph Theory Fundamentals - Reachability and Exploration 1 In this lecture
More informationIntroduction to Graphs
Graphs Introduction to Graphs Graph Terminology Directed Graphs Special Graphs Graph Coloring Representing Graphs Connected Graphs Connected Component Reading (Epp s textbook) 10.1-10.3 1 Introduction
More informationConsistency and Set Intersection
Consistency and Set Intersection Yuanlin Zhang and Roland H.C. Yap National University of Singapore 3 Science Drive 2, Singapore {zhangyl,ryap}@comp.nus.edu.sg Abstract We propose a new framework to study
More informationProgramming Abstractions
Programming bstractions S 1 0 6 X ynthia ee Upcoming Topics raphs! 1. asics What are they? ow do we represent them? 2. Theorems What are some things we can prove about graphs? 3. readth-first search on
More informationSources for this lecture. 3. Matching in bipartite and general graphs. Symmetric difference
S-72.2420 / T-79.5203 Matching in bipartite and general graphs 1 3. Matching in bipartite and general graphs Let G be a graph. A matching M in G is a set of nonloop edges with no shared endpoints. Let
More informationIntroduction III. Graphs. Motivations I. Introduction IV
Introduction I Graphs Computer Science & Engineering 235: Discrete Mathematics Christopher M. Bourke cbourke@cse.unl.edu Graph theory was introduced in the 18th century by Leonhard Euler via the Königsberg
More informationFUZZY BOOLEAN ALGEBRAS AND LUKASIEWICZ LOGIC. Angel Garrido
Acta Universitatis Apulensis ISSN: 1582-5329 No. 22/2010 pp. 101-111 FUZZY BOOLEAN ALGEBRAS AND LUKASIEWICZ LOGIC Angel Garrido Abstract. In this paper, we analyze the more adequate tools to solve many
More informationGraphical Analysis of Value of Information in Decision Models
From: FLAIRS-01 Proceedings. Copyright 2001, AAAI (www.aaai.org). All rights reserved. Graphical Analysis of Value of Information in Decision Models Songsong Xu Kim-Leng Poh Department of lndustrial &
More informationLOGIC AND DISCRETE MATHEMATICS
LOGIC AND DISCRETE MATHEMATICS A Computer Science Perspective WINFRIED KARL GRASSMANN Department of Computer Science University of Saskatchewan JEAN-PAUL TREMBLAY Department of Computer Science University
More informationCrown-free highly arc-transitive digraphs
Crown-free highly arc-transitive digraphs Daniela Amato and John K Truss University of Leeds 1. Abstract We construct a family of infinite, non-locally finite highly arc-transitive digraphs which do not
More informationHamiltonian cycles in bipartite quadrangulations on the torus
Hamiltonian cycles in bipartite quadrangulations on the torus Atsuhiro Nakamoto and Kenta Ozeki Abstract In this paper, we shall prove that every bipartite quadrangulation G on the torus admits a simple
More informationCS 206 Introduction to Computer Science II
CS 206 Introduction to Computer Science II 04 / 06 / 2018 Instructor: Michael Eckmann Today s Topics Questions? Comments? Graphs Definition Terminology two ways to represent edges in implementation traversals
More informationPebble Sets in Convex Polygons
2 1 Pebble Sets in Convex Polygons Kevin Iga, Randall Maddox June 15, 2005 Abstract Lukács and András posed the problem of showing the existence of a set of n 2 points in the interior of a convex n-gon
More informationCMSC 380. Graph Terminology and Representation
CMSC 380 Graph Terminology and Representation GRAPH BASICS 2 Basic Graph Definitions n A graph G = (V,E) consists of a finite set of vertices, V, and a finite set of edges, E. n Each edge is a pair (v,w)
More informationCS2 Algorithms and Data Structures Note 10. Depth-First Search and Topological Sorting
CS2 Algorithms and Data Structures Note 10 Depth-First Search and Topological Sorting In this lecture, we will analyse the running time of DFS and discuss a few applications. 10.1 A recursive implementation
More informationUNIT III TREES. A tree is a non-linear data structure that is used to represents hierarchical relationships between individual data items.
UNIT III TREES A tree is a non-linear data structure that is used to represents hierarchical relationships between individual data items. Tree: A tree is a finite set of one or more nodes such that, there
More informationCrossing Families. Abstract
Crossing Families Boris Aronov 1, Paul Erdős 2, Wayne Goddard 3, Daniel J. Kleitman 3, Michael Klugerman 3, János Pach 2,4, Leonard J. Schulman 3 Abstract Given a set of points in the plane, a crossing
More informationA generalization of Mader s theorem
A generalization of Mader s theorem Ajit A. Diwan Department of Computer Science and Engineering Indian Institute of Technology, Bombay Mumbai, 4000076, India. email: aad@cse.iitb.ac.in 18 June 2007 Abstract
More informationHomework 5: Graphs, Minimum Spanning Trees, and Dijkstra Shortest-Path
Homework 5: Graphs, Minimum Spanning Trees, and Dijkstra Shortest-Path 1. (4 points) A graph is Hamiltonian if there is a cycle in the graph visiting each vertex exactly once. Give an example of an Eulerian
More informationDFS on Directed Graphs BOS. Outline and Reading ( 6.4) Digraphs. Reachability ( 6.4.1) Directed Acyclic Graphs (DAG s) ( 6.4.4)
S on irected Graphs OS OR JK SO LX W MI irected Graphs S 1.3 1 Outline and Reading ( 6.4) Reachability ( 6.4.1) irected S Strong connectivity irected cyclic Graphs (G s) ( 6.4.4) Topological Sorting irected
More informationFMA901F: Machine Learning Lecture 6: Graphical Models. Cristian Sminchisescu
FMA901F: Machine Learning Lecture 6: Graphical Models Cristian Sminchisescu Graphical Models Provide a simple way to visualize the structure of a probabilistic model and can be used to design and motivate
More informationIntroductory Combinatorics
Introductory Combinatorics Third Edition KENNETH P. BOGART Dartmouth College,. " A Harcourt Science and Technology Company San Diego San Francisco New York Boston London Toronto Sydney Tokyo xm CONTENTS
More informationLesson 5.5. Minimum Spanning Trees. Explore This
Lesson. St harles ounty Minimum Spanning Trees s in many of the previous lessons, this lesson focuses on optimization. Problems and applications here center on two types of problems: finding ways of connecting
More informationCausal Explanation with Background Knowledge. Bhaskara Reddy Moole
Causal Explanation with Background Knowledge Bhaskara Reddy Moole bhaskarareddy@wondertechnology.com School of Management Walden University, 155 Fifth Ave South Minneapolis, MN 55401. Marco Valtorta mgv@cse.sc.edu
More informationTesting Independencies in Bayesian Networks with i-separation
Proceedings of the Twenty-Ninth International Florida Artificial Intelligence Research Society Conference Testing Independencies in Bayesian Networks with i-separation Cory J. Butz butz@cs.uregina.ca University
More informationNumber Theory and Graph Theory
1 Number Theory and Graph Theory Chapter 6 Basic concepts and definitions of graph theory By A. Satyanarayana Reddy Department of Mathematics Shiv Nadar University Uttar Pradesh, India E-mail: satya8118@gmail.com
More informationWEEK 1 CLASS NOTES AARON G. CASS
WEEK 1 LSS NOTES RON G. SS Sc 250, Spring 2009 aron G. ass epartment of omputer Science Union ollege ELERITY PROLEM celebrity is a person known by all, but who knows nobody. In the celebrity problem, we
More informationReading. Graph Introduction. What are graphs? Graphs. Motivation for Graphs. Varieties. Reading. CSE 373 Data Structures Lecture 18
Reading Graph Introduction Reading Section 9.1 S 373 ata Structures Lecture 18 11/25/02 Graph Introduction - Lecture 18 2 What are graphs? Yes, this is a graph. Graphs Graphs are composed of Nodes (vertices)
More informationA New Approach For Convert Multiply-Connected Trees in Bayesian networks
A New Approach For Convert Multiply-Connected Trees in Bayesian networks 1 Hussein Baloochian, Alireza khantimoory, 2 Saeed Balochian 1 Islamic Azad university branch of zanjan 2 Islamic Azad university
More informationTreewidth and graph minors
Treewidth and graph minors Lectures 9 and 10, December 29, 2011, January 5, 2012 We shall touch upon the theory of Graph Minors by Robertson and Seymour. This theory gives a very general condition under
More information6. Lecture notes on matroid intersection
Massachusetts Institute of Technology 18.453: Combinatorial Optimization Michel X. Goemans May 2, 2017 6. Lecture notes on matroid intersection One nice feature about matroids is that a simple greedy algorithm
More informationA Transformational Characterization of Markov Equivalence for Directed Maximal Ancestral Graphs
A Transformational Characterization of Markov Equivalence for Directed Maximal Ancestral Graphs Jiji Zhang Philosophy Department Carnegie Mellon University Pittsburgh, PA 15213 jiji@andrew.cmu.edu Abstract
More information