1 #ifndef PrincipalComponentAnalysis_h 2 #define PrincipalComponentAnalysis_h 26 #include "tnt/tnt_array2d.h" 56 void AddData(
const double *data,
const unsigned int count);
58 TNT::Array2D<double>
Transform(TNT::Array2D<double> data);
59 TNT::Array2D<double>
Inverse(TNT::Array2D<double> data);
68 void ComputeInverse();
72 TNT::Array2D<double> p_transform, p_inverse;
73 std::vector<Isis::MultivariateStatistics *> p_statistics;
int Dimensions()
Definition: PrincipalComponentAnalysis.h:63
~PrincipalComponentAnalysis()
Definition: PrincipalComponentAnalysis.h:55
void ComputeTransform()
Definition: PrincipalComponentAnalysis.cpp:81
Principal Component Analysis class.
Definition: PrincipalComponentAnalysis.h:51
TNT::Array2D< double > TransformMatrix()
Definition: PrincipalComponentAnalysis.h:60
TNT::Array2D< double > Transform(TNT::Array2D< double > data)
Definition: PrincipalComponentAnalysis.cpp:131
TNT::Array2D< double > Inverse(TNT::Array2D< double > data)
Definition: PrincipalComponentAnalysis.cpp:142
PrincipalComponentAnalysis(const int n)
Constructs the PrincipalComponentAnalysis object.
Definition: PrincipalComponentAnalysis.cpp:33
Namespace for ISIS/Bullet specific routines.
Definition: Apollo.h:31
void AddData(const double *data, const unsigned int count)
Definition: PrincipalComponentAnalysis.cpp:64