#include <RandomVar.h>
Inheritance diagram for PLearn::ElementWiseDivisionRandomVariable:
Public Member Functions | |
ElementWiseDivisionRandomVariable (RandomVar input1, RandomVar input2) | |
RandomVariable ElementWiseDivision *. | |
virtual char * | classname () |
void | setValueFromParentsValue () |
set the field value from the values of the parents | |
bool | invertible (const Var &obs, RVInstanceArray &unobserved_parents, Var **JacobianCorrection) |
!< SUBCLASS WRITERS: IMPLEMENT FUNCTIONS BELOW //!< | |
void | EMBprop (const Vec obs, real post) |
void | EMTrainingInitialize (const RVArray ¶meters_to_learn) |
Initialization of EM training (before all the iterations start). | |
void | EMEpochInitialize () |
Initialization of an individual EMEpoch. | |
void | EMUpdate () |
const RandomVar & | X0 () |
convenience inline's | |
const RandomVar & | X1 () |
Definition at line 1364 of file RandomVar.h.
|
RandomVariable ElementWiseDivision *.
Definition at line 1538 of file RandomVar.cc. |
|
Implements PLearn::RandomVariable. Definition at line 1369 of file RandomVar.h. |
|
************ EM STUFF ********** propagate posterior information to parents in order to perform an EMupdate at the end of an EMEpoch. In the case of mixture-like RVs and their components, the posterior is the probability of the component "this" given the observation "obs". Implements PLearn::RandomVariable. Definition at line 1576 of file RandomVar.cc. References PLearn::Vec. |
|
Initialization of an individual EMEpoch. the default just propagates to the unmarked parents Reimplemented from PLearn::RandomVariable. Definition at line 1572 of file RandomVar.cc. |
|
Initialization of EM training (before all the iterations start). the default just propagates to the unmarked parents Reimplemented from PLearn::RandomVariable. Definition at line 1568 of file RandomVar.cc. |
|
update the fixed (non-random) parameters using internal learning mechanism, at end of an EMEpoch. the default just propagates to the unmarked parents. Reimplemented from PLearn::RandomVariable. Definition at line 1580 of file RandomVar.cc. References PLERROR. |
|
!< SUBCLASS WRITERS: IMPLEMENT FUNCTIONS BELOW //!< check whether it is possible to invert the function which maps the given unobserved parents to the observed value of the RV (obs). If invertible, do the inversion, and set the value fields of the RVInstances to Var's which are functionally dependent on obs. If the absolute value of the Jacobian of the map from the unobserved parents to this R.V.'s value is different from 1, then JacobianCorrection should point to a Var that is the logarithm of the determinant of this Jacobian (first derivatives) matrix. If the function is not invertible but it is possible to write P(Y==obs | unobserved_parents) in terms of the unobserved_parents logP functions, then the sub-class writer should instead redefine the logP function appropriately. Reimplemented from PLearn::FunctionalRandomVariable. Definition at line 1554 of file RandomVar.cc. References PLearn::TVec< RVInstance >::size(), X0(), and X1(). |
|
set the field value from the values of the parents
Implements PLearn::FunctionalRandomVariable. Definition at line 1548 of file RandomVar.cc. |
|
convenience inline's
Definition at line 1380 of file RandomVar.h. Referenced by invertible(), and setValueFromParentsValue(). |
|
Definition at line 1381 of file RandomVar.h. Referenced by invertible(), and setValueFromParentsValue(). |