#ifndef MLPP_GAUSSIAN_NB_H #define MLPP_GAUSSIAN_NB_H // // GaussianNB.hpp // // Created by Marc Melikyan on 1/17/21. // #include namespace MLPP{ class GaussianNB{ public: GaussianNB(std::vector> inputSet, std::vector outputSet, int class_num); std::vector modelSetTest(std::vector> X); double modelTest(std::vector x); double score(); private: void Evaluate(); int class_num; std::vector priors; std::vector mu; std::vector sigma; std::vector> inputSet; std::vector outputSet; std::vector y_hat; }; #endif /* GaussianNB_hpp */ }