#include <ManifoldParzen2.h>
Inheritance diagram for PLearn::ManifoldParzen2:
Public Types | |
typedef GaussMix | inherited |
Public Member Functions | |
ManifoldParzen2 () | |
ManifoldParzen2 (int the_nneighbors, int the_ncomponents, bool use_last_eigenvalue=true, real scale_factor=1) | |
virtual void | build () |
simply calls inherited::build() then build_() | |
virtual void | makeDeepCopyFromShallowCopy (map< const void *, void * > &copies) |
Transforms a shallow copy into a deep copy. | |
PLEARN_DECLARE_OBJECT (ManifoldParzen2) | |
Declares name and deepCopy methods. | |
virtual void | train () |
trains the model | |
Protected Attributes | |
int | nneighbors |
how many neighbors should we consider | |
int | ncomponents |
how many components do we want to remember from the PCA | |
bool | use_last_eigenval |
real | scale_factor |
double | global_lambda0 |
Private Member Functions | |
void | build_ () |
This does the actual building. |
|
Reimplemented from PLearn::GaussMix. Definition at line 64 of file ManifoldParzen2.h. |
|
Definition at line 55 of file ManifoldParzen2.cc. |
|
Definition at line 64 of file ManifoldParzen2.cc. |
|
simply calls inherited::build() then build_()
Reimplemented from PLearn::GaussMix. Definition at line 70 of file ManifoldParzen2.cc. References build_(). Referenced by train(). |
|
This does the actual building.
Reimplemented from PLearn::GaussMix. Definition at line 78 of file ManifoldParzen2.cc. Referenced by build(). |
|
Transforms a shallow copy into a deep copy.
Reimplemented from PLearn::GaussMix. Definition at line 81 of file ManifoldParzen2.cc. References PLERROR. |
|
Declares name and deepCopy methods.
|
|
trains the model
Reimplemented from PLearn::GaussMix. Definition at line 151 of file ManifoldParzen2.cc. References build(), PLearn::center(), PLearn::computeLocalPrincipalComponents(), PLearn::dist(), global_lambda0, k, PLearn::TVec< T >::length(), PLearn::TMat< T >::length(), PLearn::VMat::length(), PLearn::Mat, ncomponents, nneighbors, PLERROR, PLearn::GaussMix::resizeStuffBeforeTraining(), scale_factor, use_last_eigenval, PLearn::Vec, and PLearn::VMat::width(). |
|
Definition at line 61 of file ManifoldParzen2.h. Referenced by train(). |
|
how many components do we want to remember from the PCA
Definition at line 57 of file ManifoldParzen2.h. Referenced by train(). |
|
how many neighbors should we consider
Definition at line 56 of file ManifoldParzen2.h. Referenced by train(). |
|
Definition at line 60 of file ManifoldParzen2.h. Referenced by train(). |
|
Definition at line 59 of file ManifoldParzen2.h. Referenced by train(). |