#ifndef MLPP_PCA_H #define MLPP_PCA_H // // PCA.hpp // // Created by Marc Melikyan on 10/2/20. // #include class MLPPPCA { public: MLPPPCA(std::vector> inputSet, int k); std::vector> principalComponents(); double score(); private: std::vector> inputSet; std::vector> X_normalized; std::vector> U_reduce; std::vector> Z; int k; }; #endif /* PCA_hpp */