GClasses

GClasses::GDynamicSystemStateAligner Class Reference

This uses graph-cut to divide the data into two clusters. It then trains a linear regression model for each cluster to map from inputs to change-in-state. It then aligns the smaller cluster with the larger one such that the linear models are in agreement (as much as possible). More...

#include <GManifold.h>

Inheritance diagram for GClasses::GDynamicSystemStateAligner:
GClasses::GTransform

List of all members.

Public Member Functions

 GDynamicSystemStateAligner (size_t neighbors, GMatrix &inputs, GRand &rand)
virtual ~GDynamicSystemStateAligner ()
virtual GMatrixdoit (GMatrix &in)
 Perform the transformation.
void setSeeds (size_t a, size_t b)
 Specify the source and sink points for dividing the data into two clusters.

Static Public Member Functions

static void test ()

Protected Attributes

size_t m_neighbors
size_t m_seedA
size_t m_seedB
size_t * m_pNeighbors
double * m_pDistances
GMatrixm_inputs
GRandm_rand

Detailed Description

This uses graph-cut to divide the data into two clusters. It then trains a linear regression model for each cluster to map from inputs to change-in-state. It then aligns the smaller cluster with the larger one such that the linear models are in agreement (as much as possible).


Constructor & Destructor Documentation

GClasses::GDynamicSystemStateAligner::GDynamicSystemStateAligner ( size_t  neighbors,
GMatrix inputs,
GRand rand 
)
virtual GClasses::GDynamicSystemStateAligner::~GDynamicSystemStateAligner ( ) [virtual]

Member Function Documentation

virtual GMatrix* GClasses::GDynamicSystemStateAligner::doit ( GMatrix in) [virtual]

Perform the transformation.

Implements GClasses::GTransform.

void GClasses::GDynamicSystemStateAligner::setSeeds ( size_t  a,
size_t  b 
)

Specify the source and sink points for dividing the data into two clusters.

static void GClasses::GDynamicSystemStateAligner::test ( ) [static]

Member Data Documentation