Isis Developer Reference
|
Principal Component Analysis class. More...
#include <PrincipalComponentAnalysis.h>
Public Member Functions | |
PrincipalComponentAnalysis (const int n) | |
Constructs the PrincipalComponentAnalysis object. | |
PrincipalComponentAnalysis (TNT::Array2D< double > transform) | |
~PrincipalComponentAnalysis () | |
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 () |
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
Isis::PrincipalComponentAnalysis::PrincipalComponentAnalysis | ( | const int | n | ) |
Constructs the PrincipalComponentAnalysis object.
Isis::PrincipalComponentAnalysis::PrincipalComponentAnalysis | ( | TNT::Array2D< double > | transform | ) |
References _FILEINFO_, and Isis::IException::Programmer.
|
inline |
void Isis::PrincipalComponentAnalysis::AddData | ( | const double * | data, |
const unsigned int | count ) |
References _FILEINFO_, and Isis::IException::Programmer.
void Isis::PrincipalComponentAnalysis::ComputeTransform | ( | ) |
References _FILEINFO_, Isis::E, and Isis::IException::Programmer.
|
inline |
TNT::Array2D< double > Isis::PrincipalComponentAnalysis::Inverse | ( | TNT::Array2D< double > | data | ) |
References _FILEINFO_, and Isis::IException::Programmer.
TNT::Array2D< double > Isis::PrincipalComponentAnalysis::Transform | ( | TNT::Array2D< double > | data | ) |
References _FILEINFO_, and Isis::IException::Programmer.
|
inline |