Isis 3 Programmer Reference
Isis::PrincipalComponentAnalysis Class Reference

Principal Component Analysis class. More...

#include <PrincipalComponentAnalysis.h>

Collaboration diagram for Isis::PrincipalComponentAnalysis:
Collaboration graph

Public Member Functions

 PrincipalComponentAnalysis (const int n)
 Constructs the PrincipalComponentAnalysis object. More...
 
 PrincipalComponentAnalysis (TNT::Array2D< double > transform)
 
void AddData (const double *data, const unsigned int count)
 
void ComputeTransform ()
 
TNT::Array2D< double > Transform (TNT::Array2D< double > data)
 
TNT::Array2D< double > Inverse (TNT::Array2D< double > data)
 
TNT::Array2D< double > TransformMatrix ()
 
int Dimensions ()
 

Private Member Functions

void ComputeInverse ()
 

Private Attributes

bool p_hasTransform
 
int p_dimensions
 
TNT::Array2D< double > p_transform
 
TNT::Array2D< double > p_inverse
 
std::vector< Isis::MultivariateStatistics * > p_statistics
 

Detailed Description

Principal Component Analysis class.

This class is used to apply Principal Component Analysis

to transform multivariate data into its principal components as well as invert it from component space.

If you would like to see PrincipalComponentAnalysis being used in implementation, see pca.cpp or decorstretch.cpp

Author
2006-05-18 Jacob Danton
History:
2016-08-28 Kelvin Rodriguez - Added string concatinations to properly convert numbers using QString::number to squash conversion warnings. Part of porting to OS X 10.11.

Definition at line 35 of file PrincipalComponentAnalysis.h.

Constructor & Destructor Documentation

◆ PrincipalComponentAnalysis()

Isis::PrincipalComponentAnalysis::PrincipalComponentAnalysis ( const int  n)

Constructs the PrincipalComponentAnalysis object.

Definition at line 17 of file PrincipalComponentAnalysis.cpp.


The documentation for this class was generated from the following files: