GClasses
GClasses::GLLE Class Reference

Detailed Description

Locally Linear Embedding is a manifold learning algorithm that uses sparse matrix techniques to efficiently compute a low-dimensional projection.

#include <GManifold.h>

Inheritance diagram for GClasses::GLLE:
GClasses::GTransform

Public Member Functions

 GLLE (size_t neighborCount, size_t targetDims, GRand *pRand)
 
 GLLE (GDomNode *pNode)
 
virtual ~GLLE ()
 
virtual GMatrixreduce (const GMatrix &in)
 Performs NLDR. More...
 
GDomNodeserialize (GDom *pDoc) const
 Serialize this object. More...
 
void setNeighborFinder (GNeighborFinder *pNF)
 Specifies to use the neighborhoods determined by the specified neighbor-finder instead of the nearest Euclidean-distance neighbors to establish local linearity. If this method is called, it will also use the number of neighbors and the data associated with pNF, and ignore the number of neighbors specified to the constructor, and ignore the data passed to the "transform" method. More...
 
- Public Member Functions inherited from GClasses::GTransform
 GTransform ()
 
 GTransform (const GDomNode *pNode)
 
virtual ~GTransform ()
 

Protected Attributes

size_t m_neighborCount
 
GNeighborFinderm_pNF
 
GRandm_pRand
 
size_t m_targetDims
 

Additional Inherited Members

- Protected Member Functions inherited from GClasses::GTransform
virtual GDomNodebaseDomNode (GDom *pDoc, const char *szClassName) const
 Child classes should use this in their implementation of serialize. More...
 

Constructor & Destructor Documentation

GClasses::GLLE::GLLE ( size_t  neighborCount,
size_t  targetDims,
GRand pRand 
)
GClasses::GLLE::GLLE ( GDomNode pNode)
virtual GClasses::GLLE::~GLLE ( )
virtual

Member Function Documentation

virtual GMatrix* GClasses::GLLE::reduce ( const GMatrix in)
virtual

Performs NLDR.

Implements GClasses::GTransform.

GDomNode* GClasses::GLLE::serialize ( GDom pDoc) const

Serialize this object.

void GClasses::GLLE::setNeighborFinder ( GNeighborFinder pNF)

Specifies to use the neighborhoods determined by the specified neighbor-finder instead of the nearest Euclidean-distance neighbors to establish local linearity. If this method is called, it will also use the number of neighbors and the data associated with pNF, and ignore the number of neighbors specified to the constructor, and ignore the data passed to the "transform" method.

Member Data Documentation

size_t GClasses::GLLE::m_neighborCount
protected
GNeighborFinder* GClasses::GLLE::m_pNF
protected
GRand* GClasses::GLLE::m_pRand
protected
size_t GClasses::GLLE::m_targetDims
protected