GClasses
GClasses::GIsomap Class Reference

Detailed Description

Isomap is a manifold learning algorithm that uses the Floyd-Warshall algorithm to compute an estimate of the geodesic distance between every pair of points using local neighborhoods, and then uses classic multidimensional scaling to compute a low-dimensional projection.

#include <GManifold.h>

Inheritance diagram for GClasses::GIsomap:
GClasses::GTransform

Public Member Functions

 GIsomap (size_t neighborCount, size_t targetDims, GRand *pRand)
 
 GIsomap (GDomNode *pNode)
 
virtual ~GIsomap ()
 
void dropDisconnectedPoints ()
 If there are any points that are not connected to the main group, just drop them instead of throwing an exception. (Note that this may cause the results to contain a different number of rows than the input.) More...
 
virtual GMatrixreduce (const GMatrix &in)
 Performs NLDR. More...
 
GDomNodeserialize (GDom *pDoc) const
 Serializes 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

bool m_dropDisconnectedPoints
 
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::GIsomap::GIsomap ( size_t  neighborCount,
size_t  targetDims,
GRand pRand 
)
GClasses::GIsomap::GIsomap ( GDomNode pNode)
virtual GClasses::GIsomap::~GIsomap ( )
virtual

Member Function Documentation

void GClasses::GIsomap::dropDisconnectedPoints ( )
inline

If there are any points that are not connected to the main group, just drop them instead of throwing an exception. (Note that this may cause the results to contain a different number of rows than the input.)

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

Performs NLDR.

Implements GClasses::GTransform.

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

Serializes this object.

void GClasses::GIsomap::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

bool GClasses::GIsomap::m_dropDisconnectedPoints
protected
size_t GClasses::GIsomap::m_neighborCount
protected
GNeighborFinder* GClasses::GIsomap::m_pNF
protected
GRand* GClasses::GIsomap::m_pRand
protected
size_t GClasses::GIsomap::m_targetDims
protected