An official website of the United States government
Here’s how you know
Official websites use .gov
A
.gov website belongs to an official government
organization in the United States.
Secure .gov websites use HTTPS
A
lock
( ) or https:// means you’ve safely connected to
the .gov website. Share sensitive information only on official,
secure websites.
Isis 3 Programmer 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) | |
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 |
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
Definition at line 35 of file PrincipalComponentAnalysis.h.
Isis::PrincipalComponentAnalysis::PrincipalComponentAnalysis | ( | const int | n | ) |
Constructs the PrincipalComponentAnalysis object.
Definition at line 17 of file PrincipalComponentAnalysis.cpp.
Isis::PrincipalComponentAnalysis::PrincipalComponentAnalysis | ( | TNT::Array2D< double > | transform | ) |
Definition at line 32 of file PrincipalComponentAnalysis.cpp.
|
inline |
Definition at line 39 of file PrincipalComponentAnalysis.h.
void Isis::PrincipalComponentAnalysis::AddData | ( | const double * | data, |
const unsigned int | count ) |
Definition at line 48 of file PrincipalComponentAnalysis.cpp.
|
private |
Definition at line 101 of file PrincipalComponentAnalysis.cpp.
void Isis::PrincipalComponentAnalysis::ComputeTransform | ( | ) |
Definition at line 65 of file PrincipalComponentAnalysis.cpp.
|
inline |
Definition at line 47 of file PrincipalComponentAnalysis.h.
TNT::Array2D< double > Isis::PrincipalComponentAnalysis::Inverse | ( | TNT::Array2D< double > | data | ) |
Definition at line 126 of file PrincipalComponentAnalysis.cpp.
TNT::Array2D< double > Isis::PrincipalComponentAnalysis::Transform | ( | TNT::Array2D< double > | data | ) |
Definition at line 115 of file PrincipalComponentAnalysis.cpp.
|
inline |
Definition at line 44 of file PrincipalComponentAnalysis.h.
|
private |
Definition at line 54 of file PrincipalComponentAnalysis.h.
|
private |
Definition at line 53 of file PrincipalComponentAnalysis.h.
|
private |
Definition at line 56 of file PrincipalComponentAnalysis.h.
|
private |
Definition at line 57 of file PrincipalComponentAnalysis.h.
|
private |
Definition at line 56 of file PrincipalComponentAnalysis.h.