GClasses
|
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>
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 GMatrix * | reduce (const GMatrix &in) |
Performs NLDR. More... | |
GDomNode * | serialize (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 |
GNeighborFinder * | m_pNF |
GRand * | m_pRand |
size_t | m_targetDims |
Additional Inherited Members | |
Protected Member Functions inherited from GClasses::GTransform | |
virtual GDomNode * | baseDomNode (GDom *pDoc, const char *szClassName) const |
Child classes should use this in their implementation of serialize. More... | |
GClasses::GIsomap::GIsomap | ( | size_t | neighborCount, |
size_t | targetDims, | ||
GRand * | pRand | ||
) |
GClasses::GIsomap::GIsomap | ( | GDomNode * | pNode | ) |
|
virtual |
|
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.)
Performs NLDR.
Implements GClasses::GTransform.
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.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |