GClasses
|
This wraps two two-way-incremental-transoforms to form a single combination transform. More...
#include <GTransform.h>
Public Member Functions | |
GTwoWayTransformChainer (GTwoWayIncrementalTransform *pFirst, GTwoWayIncrementalTransform *pSecond) | |
General-purpose constructor. | |
GTwoWayTransformChainer (GDomNode *pNode, GLearnerLoader &ll) | |
Deserializing constructor. | |
virtual | ~GTwoWayTransformChainer () |
virtual GDomNode * | serialize (GDom *pDoc) |
See the comment for GTwoWayIncrementalTransform::serialize. | |
virtual void | train (GMatrix &data) |
See the comment for GTwoWayIncrementalTransform::train. | |
virtual void | transform (const double *pIn, double *pOut) |
See the comment for GTwoWayIncrementalTransform::transform. | |
virtual void | untransform (const double *pIn, double *pOut) |
See the comment for GTwoWayIncrementalTransform::untransform. | |
virtual void | untransformToDistribution (const double *pIn, GPrediction *pOut) |
See the comment for GTwoWayIncrementalTransform::untransformToDistribution. | |
Protected Attributes | |
GTwoWayIncrementalTransform * | m_pFirst |
GTwoWayIncrementalTransform * | m_pSecond |
This wraps two two-way-incremental-transoforms to form a single combination transform.
GClasses::GTwoWayTransformChainer::GTwoWayTransformChainer | ( | GTwoWayIncrementalTransform * | pFirst, |
GTwoWayIncrementalTransform * | pSecond | ||
) |
General-purpose constructor.
GClasses::GTwoWayTransformChainer::GTwoWayTransformChainer | ( | GDomNode * | pNode, |
GLearnerLoader & | ll | ||
) |
Deserializing constructor.
virtual GClasses::GTwoWayTransformChainer::~GTwoWayTransformChainer | ( | ) | [virtual] |
See the comment for GTwoWayIncrementalTransform::serialize.
Implements GClasses::GIncrementalTransform.
virtual void GClasses::GTwoWayTransformChainer::train | ( | GMatrix & | data | ) | [virtual] |
See the comment for GTwoWayIncrementalTransform::train.
Implements GClasses::GIncrementalTransform.
virtual void GClasses::GTwoWayTransformChainer::transform | ( | const double * | pIn, |
double * | pOut | ||
) | [virtual] |
See the comment for GTwoWayIncrementalTransform::transform.
Implements GClasses::GIncrementalTransform.
virtual void GClasses::GTwoWayTransformChainer::untransform | ( | const double * | pIn, |
double * | pOut | ||
) | [virtual] |
See the comment for GTwoWayIncrementalTransform::untransform.
Implements GClasses::GTwoWayIncrementalTransform.
virtual void GClasses::GTwoWayTransformChainer::untransformToDistribution | ( | const double * | pIn, |
GPrediction * | pOut | ||
) | [virtual] |
See the comment for GTwoWayIncrementalTransform::untransformToDistribution.
Implements GClasses::GTwoWayIncrementalTransform.