MTK++ Latest version: 0.2.0

pca.h
Go to the documentation of this file.
00001 
00033 #ifndef PCA_H
00034 #define PCA_H
00035 
00036 #include <iostream>
00037 #include <string>
00038 #include <vector>
00039 #include <fstream>
00040 #include <iomanip>
00041 #include <stdlib.h>
00042 #include <sstream>
00043 #include <math.h>
00044 
00045 #include "Utils/constants.h"
00046 #include "BaseStats.h"
00047 #include "table.h"
00048 
00049 namespace MTKpp
00050 {
00051 
00052 class sheet;
00053 // ============================================================
00054 // Class : pca()
00055 // ------------------------------------------------------------
00062 // ============================================================
00063 class pca : public BaseStats
00064 {
00065 public:
00069     pca();
00070 
00076     pca(table<double>* X, sheet* output);
00077 
00079     //virtual ~pca();
00080 
00085     int run(int nKeep);
00086 
00087 protected:
00101     table<double>* itsX;
00102 
00106     unsigned int   nRows;
00107 
00111     unsigned int   nColumns;
00112 
00116     sheet*         outModel;
00117 };
00118 
00119 } // MTKpp namespace
00120 
00121 #endif // PCA_H

Generated on Fri Dec 23 2011 09:28:51 for MTK++ by Doxygen 1.7.5.1