<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://en.formulasearchengine.com/index.php?action=history&amp;feed=atom&amp;title=Nonlinear_realization</id>
	<title>Nonlinear realization - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://en.formulasearchengine.com/index.php?action=history&amp;feed=atom&amp;title=Nonlinear_realization"/>
	<link rel="alternate" type="text/html" href="https://en.formulasearchengine.com/index.php?title=Nonlinear_realization&amp;action=history"/>
	<updated>2026-05-03T09:47:51Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.0-wmf.28</generator>
	<entry>
		<id>https://en.formulasearchengine.com/index.php?title=Nonlinear_realization&amp;diff=29406&amp;oldid=prev</id>
		<title>en&gt;Yobot: WP:CHECKWIKI error fixes using AWB (9814)</title>
		<link rel="alternate" type="text/html" href="https://en.formulasearchengine.com/index.php?title=Nonlinear_realization&amp;diff=29406&amp;oldid=prev"/>
		<updated>2013-12-23T08:20:26Z</updated>

		<summary type="html">&lt;p&gt;&lt;a href=&quot;/index.php?title=WP:CHECKWIKI&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;WP:CHECKWIKI (page does not exist)&quot;&gt;WP:CHECKWIKI&lt;/a&gt; error fixes using &lt;a href=&quot;/index.php?title=Testwiki:AWB&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Testwiki:AWB (page does not exist)&quot;&gt;AWB&lt;/a&gt; (9814)&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;Variable elimination&amp;#039;&amp;#039;&amp;#039; (VE) is a simple and general [[Bayesian inference|exact inference]] algorithm in [[probabilistic graphical model]]s, such as [[Bayesian network]]s and [[Markov random field]]s.&amp;lt;ref&amp;gt;Zhang, N.L., Poole, D.: A Simple Approach to Bayesian Network Computations. In:7th Canadian Conference on Artificial Intelligence, pp. 171–178. Springer, New York(1994)&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;zhang&amp;quot;&amp;gt;Zhang, N.L., Poole, D.:A Simple Approach to Bayesian Network Computations.In: 7th Canadian Conference on Artificial Intelligence,pp. 171--178. Springer, New York (1994)&amp;lt;/ref&amp;gt; It can be used for inference of [[maximum a posteriori]] (MAP) state or estimation of [[marginal distribution]] over a subset of variables. The algorithm has exponential time complexity, but could be efficient in practice for the low-[[treewidth]] graphs, if the proper elimination order is used.&lt;br /&gt;
&lt;br /&gt;
==Inference==&lt;br /&gt;
The most common query type is in the form &amp;lt;math&amp;gt;p(X|E = e)&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; are disjoint subsets of &amp;lt;math&amp;gt;U&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt; is observed taking value &amp;lt;math&amp;gt;e&amp;lt;/math&amp;gt;. A basic algorithm to computing p(X|E = e) is called &amp;#039;&amp;#039;variable elimination&amp;#039;&amp;#039; (VE), first put forth in.&amp;lt;ref name=&amp;quot;zhang&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
Algorithm 1, called sum-out (SO), eliminates a single variable &amp;lt;math&amp;gt;v&amp;lt;/math&amp;gt; from a set &amp;lt;math&amp;gt;\phi&amp;lt;/math&amp;gt; of potentials,&amp;lt;ref&amp;gt;Koller,D.,Friedman,N.:ProbabilisticGraphicalModels:PrinciplesandTechniques. MIT Press, Cambridge, MA (2009)&amp;lt;/ref&amp;gt; and returns the resulting set of potentials. The algorithm collect-relevant simply returns those potentials in &amp;lt;math&amp;gt;\phi&amp;lt;/math&amp;gt; involving variable &amp;lt;math&amp;gt;v&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Algorithm 1&amp;#039;&amp;#039;&amp;#039; sum-out(&amp;lt;math&amp;gt;v&amp;lt;/math&amp;gt;,&amp;lt;math&amp;gt;\phi&amp;lt;/math&amp;gt;)&lt;br /&gt;
:&amp;lt;math&amp;gt;\Psi&amp;lt;/math&amp;gt; = collect-relevant(&amp;lt;math&amp;gt;v&amp;lt;/math&amp;gt;,&amp;lt;math&amp;gt;\phi&amp;lt;/math&amp;gt;)&lt;br /&gt;
:&amp;lt;math&amp;gt;\Psi&amp;lt;/math&amp;gt; = the product of all potentials in &amp;lt;math&amp;gt;\Phi&amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt;\tau = \sum_{v} \Psi&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;return&amp;#039;&amp;#039;&amp;#039; &amp;lt;math&amp;gt;(\phi - \Psi)   \cup \{\tau\}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Algorithm 2, taken from,&amp;lt;ref name=&amp;quot;zhang&amp;quot; /&amp;gt; computes &amp;lt;math&amp;gt;p(X|E = e)&amp;lt;/math&amp;gt; from a discrete Bayesian network B. VE calls SO to eliminate variables one by one. More specifically, in Algorithm 2, &amp;lt;math&amp;gt;\phi&amp;lt;/math&amp;gt; is the set C of CPTs for B, &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt; is a list of query variables, &amp;lt;math&amp;gt;E&amp;lt;/math&amp;gt;is a list of observed variables, &amp;lt;math&amp;gt;e&amp;lt;/math&amp;gt; is the corresponding list of observed values, and &amp;lt;math&amp;gt;\sigma&amp;lt;/math&amp;gt; is an elimination ordering for variables &amp;lt;math&amp;gt;U - XE&amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;XE&amp;lt;/math&amp;gt; denotes &amp;lt;math&amp;gt;X \cup E&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Algorithm 2&amp;#039;&amp;#039;&amp;#039; VE(&amp;lt;math&amp;gt;\phi, X, E, e, \sigma&amp;lt;/math&amp;gt;)&lt;br /&gt;
:Multiply evidence potentials with appropriate CPTs While σ is not empty&lt;br /&gt;
:Remove the first variable &amp;lt;math&amp;gt;v&amp;lt;/math&amp;gt; from &amp;lt;math&amp;gt;\sigma&amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt;\phi&amp;lt;/math&amp;gt; = sum-out&amp;lt;math&amp;gt;(v,\phi)&amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt;p(X, E = e)&amp;lt;/math&amp;gt; = the product of all potentials &amp;lt;math&amp;gt;\Psi \in \phi &amp;lt;/math&amp;gt; &lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;return&amp;#039;&amp;#039;&amp;#039; &amp;lt;math&amp;gt;p(X,E = e)/ \sum_{X} p(X,E = e)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
{{Reflist}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Graphical models]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{statistics-stub}}&lt;br /&gt;
{{comp-sci-stub}}&lt;/div&gt;</summary>
		<author><name>en&gt;Yobot</name></author>
	</entry>
</feed>