Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members

PLearn::ManifoldParzen2 Class Reference

#include <ManifoldParzen2.h>

Inheritance diagram for PLearn::ManifoldParzen2:

Inheritance graph
[legend]
Collaboration diagram for PLearn::ManifoldParzen2:

Collaboration graph
[legend]
List of all members.

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.


Member Typedef Documentation

typedef GaussMix PLearn::ManifoldParzen2::inherited
 

Reimplemented from PLearn::GaussMix.

Definition at line 64 of file ManifoldParzen2.h.


Constructor & Destructor Documentation

PLearn::ManifoldParzen2::ManifoldParzen2  ) 
 

Definition at line 55 of file ManifoldParzen2.cc.

PLearn::ManifoldParzen2::ManifoldParzen2 int  the_nneighbors,
int  the_ncomponents,
bool  use_last_eigenvalue = true,
real  scale_factor = 1
 

Definition at line 64 of file ManifoldParzen2.cc.


Member Function Documentation

void PLearn::ManifoldParzen2::build  )  [virtual]
 

simply calls inherited::build() then build_()

Reimplemented from PLearn::GaussMix.

Definition at line 70 of file ManifoldParzen2.cc.

References build_().

Referenced by train().

void PLearn::ManifoldParzen2::build_  )  [private]
 

This does the actual building.

Reimplemented from PLearn::GaussMix.

Definition at line 78 of file ManifoldParzen2.cc.

Referenced by build().

void PLearn::ManifoldParzen2::makeDeepCopyFromShallowCopy map< const void *, void * > &  copies  )  [virtual]
 

Transforms a shallow copy into a deep copy.

Reimplemented from PLearn::GaussMix.

Definition at line 81 of file ManifoldParzen2.cc.

References PLERROR.

PLearn::ManifoldParzen2::PLEARN_DECLARE_OBJECT ManifoldParzen2   ) 
 

Declares name and deepCopy methods.

void PLearn::ManifoldParzen2::train  )  [virtual]
 

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().


Member Data Documentation

double PLearn::ManifoldParzen2::global_lambda0 [protected]
 

Definition at line 61 of file ManifoldParzen2.h.

Referenced by train().

int PLearn::ManifoldParzen2::ncomponents [protected]
 

how many components do we want to remember from the PCA

Definition at line 57 of file ManifoldParzen2.h.

Referenced by train().

int PLearn::ManifoldParzen2::nneighbors [protected]
 

how many neighbors should we consider

Definition at line 56 of file ManifoldParzen2.h.

Referenced by train().

real PLearn::ManifoldParzen2::scale_factor [protected]
 

Definition at line 60 of file ManifoldParzen2.h.

Referenced by train().

bool PLearn::ManifoldParzen2::use_last_eigenval [protected]
 

Definition at line 59 of file ManifoldParzen2.h.

Referenced by train().


The documentation for this class was generated from the following files:
Generated on Tue Aug 17 16:27:18 2004 for PLearn by doxygen 1.3.7