1#ifndef PrincipalComponentAnalysis_h
2#define PrincipalComponentAnalysis_h
10#include "tnt/tnt_array2d.h"
40 void AddData(
const double *data,
const unsigned int count);
42 TNT::Array2D<double>
Transform(TNT::Array2D<double> data);
43 TNT::Array2D<double>
Inverse(TNT::Array2D<double> data);
52 void ComputeInverse();
56 TNT::Array2D<double> p_transform, p_inverse;
57 std::vector<Isis::MultivariateStatistics *> p_statistics;
Principal Component Analysis class.
Definition PrincipalComponentAnalysis.h:35
void ComputeTransform()
Definition PrincipalComponentAnalysis.cpp:65
int Dimensions()
Definition PrincipalComponentAnalysis.h:47
PrincipalComponentAnalysis(const int n)
Constructs the PrincipalComponentAnalysis object.
Definition PrincipalComponentAnalysis.cpp:17
void AddData(const double *data, const unsigned int count)
Definition PrincipalComponentAnalysis.cpp:48
TNT::Array2D< double > TransformMatrix()
Definition PrincipalComponentAnalysis.h:44
TNT::Array2D< double > Inverse(TNT::Array2D< double > data)
Definition PrincipalComponentAnalysis.cpp:126
TNT::Array2D< double > Transform(TNT::Array2D< double > data)
Definition PrincipalComponentAnalysis.cpp:115
~PrincipalComponentAnalysis()
Definition PrincipalComponentAnalysis.h:39
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16