Next: Multiplication
Up: Building Blocks for Hierarchical
Previous: First Example
Addition and multiplication nodes can be used e.g. for constructing
affine transformations between the variables. Denoting the inputs by
sk, the output is
for an addition node. The mean,
variance and expected exponential of the addition node are
|
= |
|
(4.24) |
|
= |
|
(4.25) |
|
= |
|
(4.26) |
assuming that the variables sk are independent. The derivatives
of the cost function propagate to the inputs using the chain rule
applied to each of the Equations (),
() and (). They are
|
= |
|
(4.27) |
|
= |
|
(4.28) |
|
= |
|
(4.29) |
|
= |
|
|
The equations for larger sums are obtained by induction,
e.g.
s1+s2+s3=(s1+s2)+s3.
Next: Multiplication
Up: Building Blocks for Hierarchical
Previous: First Example
Tapani Raiko
2001-12-10