{"id":106880,"date":"2022-07-07T00:00:00","date_gmt":"2022-07-07T00:00:00","guid":{"rendered":"https:\/\/nursingstudybay.com\/2022\/07\/07\/computer-science-bayes-network-2\/"},"modified":"2022-07-07T00:00:00","modified_gmt":"2022-07-07T00:00:00","slug":"computer-science-bayes-network-2","status":"publish","type":"post","link":"https:\/\/www.studyproessays.com\/help\/computer-science-bayes-network-2\/","title":{"rendered":"Computer Science &#8211; Bayes Network"},"content":{"rendered":"<p>Problem 1: Descendants of Effects<br \/>\nWe will investigate the absence of conditional independence guarantees between two random variables when an arbitrary descendant of a common effect is observed. We will consider the simple<br \/>\ncase of a causal chain of descendants:<br \/>\nSuppose that all random variables are binary. The marginal distributions of A and B are both<br \/>\nuniform (0.5, 0.5), and the CPTs of the common effect D0 and its descendants are as follows:<br \/>\nA B Pr(+d0 | A, B)<br \/>\n+a +b 1.0<br \/>\n+a \u2212b 0.5<br \/>\n\u2212a +b 0.5<br \/>\n\u2212a \u2212b 0.0<br \/>\nDi\u22121 Pr(+di<br \/>\n| Di\u22121)<br \/>\n+di\u22121 1.0<br \/>\n\u2212di\u22121 0.0<br \/>\n(a) Give an analytical expression for the joint distribution Pr(D0, D1, \u00b7 \u00b7 \u00b7 , Dn). Your expression<br \/>\nshould only contain CPTs from the Bayes net parameters. What is the size of the full joint<br \/>\ndistribution, and how many entries are nonzero?<br \/>\n(b) Suppose we observe Dn = +dn. Numerically compute the CPT Pr(+dn|D0). Please show how<br \/>\nyou can solve for it using the joint distribution in (a), even if you do not actually use it.<br \/>\n(c) Let\u2019s turn our attention to A and B. Give a minimal analytical expression for Pr(A, B, D0, +dn).<br \/>\nYour expression should only contain CPTs from the Bayes net parameters or the CPT you found<br \/>\nin part (b) above.<br \/>\n(d) Lastly, compute Pr(A, B | +dn). Show that A and B are not independent conditioned on Dn.<br \/>\nProblem 2: Bayes Net 1<br \/>\nThe following Bayes net is the \u201cFire Alarm Belief Network\u201d from the Sample Problems of the Belief<br \/>\nand Decision Networks tool on AIspace. All variables are binary.<br \/>\n(a) Which pair(s) of nodes are guaranteed to be independent given no observations in the Bayes<br \/>\nnet? Now suppose Alarm is observed. Identify and briefly explain the nodes whose conditional<br \/>\nindependence guarantees, given Alarm, are different from their independence guarantees, given<br \/>\nno observations.<br \/>\n(b) We are interested in computing the conditional distribution Pr(Smoke | report). Give an<br \/>\nanalytical expression in terms of the Bayes net CPTs that computes this distribution (or its<br \/>\nunnormalized version). What is the maximum size of the resultant table if all marginalization<br \/>\nis done at the end?<br \/>\n(c) We employ variable elimination to solve for the Question Assignment above. Identify a variable ordering that i)<br \/>\nyields the greatest number of operations possible, and ii) yields the fewest number of operations<br \/>\npossible. Also give the max table sizes in each case.<br \/>\n(d) Following your second variable ordering above, numerically solve for Pr(Smoke | report) using<br \/>\nthe default parameters in the applet example. You may check your answer using the applet,<br \/>\nbut you should work it out yourself and show your work.<br \/>\n2<br \/>\n(a) We can describe all guaranteed independences in the Bayes net by defining two or more subsets<br \/>\nof nodes Si<br \/>\n, such that all nodes in Si are independent of all nodes in Sj for i \u0338= j. For<br \/>\nexample, we can define S1 = {Smokes} and S2 = {Influenza, Sore Throat, Fever} given no<br \/>\nobservations. Do the same for conditionally independent nodes i) given Influenza, ii) given<br \/>\nBronchitis, and iii) given both Influenza and Bronchitis. Make sure your answers capture all<br \/>\nguaranteed independences.<br \/>\n(b) Consider using likelihood weighting to solve two queries, one in which Influenza and Smokes<br \/>\nare observed, and one in which Coughing and Wheezing are observed. Explain how the two<br \/>\ncases differ in the distribution of the resulting samples, as well as the weights that are applied<br \/>\nto the samples.<br \/>\n(c) We perform Gibbs sampling and would like to resample the Influenza variable conditioned on<br \/>\nthe current sample (+s, +st, \u2212f, \u2212b, +c, \u2212w). Give a minimal analytical expression for the<br \/>\nsampling distribution Pr(Influenza | sample) (or its unnormalized form). What is the maximum<br \/>\nsize of the table that has to be constructed?<br \/>\n(d) Numerically solve for the sampling distribution Pr(Influenza | sample) using the default parameters in the applet example. You may check your answer using the applet, but you should<br \/>\nwork it out yourself and show your work.<br \/>\nProblem 3: Bayes Net 2<br \/>\nThe following Bayes net is the \u201cSimple Diagnostic Example\u201d from the Sample Problems of the<br \/>\nBelief and Decision Networks tool on AIspace. All variables are binary.<\/p>\n<p>&#8212;&#8212;&#8212;<\/p>\n<p>Problem 1: Effects&#8217; Descendants<br \/>\nWhen an arbitrary descendent of a common effect is seen, we will look into the lack of conditional independence guarantees between two random variables. We&#8217;ll look at a simple example.<\/p>\n<p>The following is an example of a causal chain of descendants:<\/p>\n<p>Assume that all random variables are of the binary type. A and B&#8217;s marginal distributions are identical.<\/p>\n<p>The CPTs of the common effect D0 and its descendants are as follows: uniform (0.5, 0.5), and the CPTs of the common effect D0 and its descendants are as follows:<\/p>\n<p>Pr(+d0 | A, B) A B<\/p>\n<p>1.0 +a +b<\/p>\n<p>+a b 0.5+a b 0.5+a b 0.5+a<\/p>\n<p>\u2212a +b 0.5<\/p>\n<p>\u2212a \u2212b 0.0<\/p>\n<p>Di\u22121 Pr(+di<\/p>\n<p>| Di\u22121)<\/p>\n<p>+di\u22121 1.0<\/p>\n<p>\u2212di\u22121 0.0<\/p>\n<p>(a) Give an analytical expression for the joint distribution Pr(D0, D1, \u00b7 \u00b7 \u00b7 , Dn). Your expression<\/p>\n<p>should only contain CPTs from the Bayes net parameters. What is the size of<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Problem 1: Descendants of Effects We will investigate the absence of conditional independence guarantees between two random variables when an arbitrary descendant of a common\u2026<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9033,7586,1386,7589,9034,9031,7587,7588,7584,7585,9032],"tags":[8809,7838,8811,8808,8813,8807,8806,8814,8810,8812],"class_list":["post-106880","post","type-post","status-publish","format-standard","hentry","category-assignment-help-uae","category-best-dissertation-writing-service-in-australia","category-best-research-paper-writing-services-in-usa","category-capstone-project-writing-service","category-cheap-essay-writing-services-china","category-essay-writing-service-usa","category-legitimate-phd-dissertation-writing-services-usa","category-term-paper-writing-service","category-thesis-writing-service-in-canada","category-uae-best-dissertation-writing-help-service","category-write-my-essay-australia","tag-best-master-thesis-writing-service","tag-best-thesis-writing-services","tag-cheap-thesis-writing-services","tag-master-thesis-help","tag-master-thesis-writing-service","tag-thesis-help-online-free","tag-thesis-writing-help-online","tag-thesis-writing-services-cost","tag-thesis-writing-services-near-me","tag-thesis-writing-services-reviews"],"_links":{"self":[{"href":"https:\/\/www.studyproessays.com\/help\/wp-json\/wp\/v2\/posts\/106880","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.studyproessays.com\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.studyproessays.com\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.studyproessays.com\/help\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.studyproessays.com\/help\/wp-json\/wp\/v2\/comments?post=106880"}],"version-history":[{"count":0,"href":"https:\/\/www.studyproessays.com\/help\/wp-json\/wp\/v2\/posts\/106880\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.studyproessays.com\/help\/wp-json\/wp\/v2\/media?parent=106880"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.studyproessays.com\/help\/wp-json\/wp\/v2\/categories?post=106880"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.studyproessays.com\/help\/wp-json\/wp\/v2\/tags?post=106880"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}