#ifndef MLPP_PCA_OLD_H #define MLPP_PCA_OLD_H // // PCA.hpp // // Created by Marc Melikyan on 10/2/20. // #include "core/math/math_defs.h" #include class MLPPPCAOld { public: MLPPPCAOld(std::vector> inputSet, int k); std::vector> principalComponents(); real_t score(); private: std::vector> inputSet; std::vector> X_normalized; std::vector> U_reduce; std::vector> Z; int k; }; #endif /* PCA_hpp */