#include <ConditionalDistribution.h>
Inheritance diagram for PLearn::ConditionalDistribution:
Public Types | |
typedef Distribution | inherited |
Public Member Functions | |
ConditionalDistribution () | |
virtual void | makeDeepCopyFromShallowCopy (map< const void *, void * > &copies) |
Transforms a shallow copy into a deep copy. | |
PLEARN_DECLARE_OBJECT (ConditionalDistribution) | |
Declares name and deepCopy methods. | |
virtual void | setInput (const Vec &input) |
Set the input part before using the inherited methods. | |
virtual void | use (const Vec &input, Vec &output) |
computes the ouptu of a trained model | |
Public Attributes | |
int | input_part_size |
|
Reimplemented from PLearn::Distribution. Reimplemented in PLearn::ConditionalGaussianDistribution. Definition at line 61 of file ConditionalDistribution.h. Referenced by ConditionalDistribution(). |
|
Definition at line 44 of file ConditionalDistribution.cc. References inherited. |
|
Transforms a shallow copy into a deep copy.
Reimplemented from PLearn::Distribution. Reimplemented in PLearn::ConditionalGaussianDistribution. Definition at line 55 of file ConditionalDistribution.cc. |
|
Declares name and deepCopy methods.
|
|
Set the input part before using the inherited methods.
Reimplemented in PLearn::ConditionalGaussianDistribution. Definition at line 61 of file ConditionalDistribution.cc. References PLERROR, and PLearn::Vec. Referenced by use(). |
|
computes the ouptu of a trained model
Reimplemented from PLearn::Distribution. Definition at line 65 of file ConditionalDistribution.cc. References PLearn::Distribution::expectation(), input_part_size, PLearn::TVec< T >::length(), setInput(), PLearn::TVec< T >::subVec(), PLearn::TMat< T >::toVec(), PLearn::Distribution::variance(), and x. |
|
Definition at line 65 of file ConditionalDistribution.h. Referenced by use(). |