#ifndef MLPP_GAUSSIAN_NB_H #define MLPP_GAUSSIAN_NB_H // // GaussianNB.hpp // // Created by Marc Melikyan on 1/17/21. // #include "core/math/math_defs.h" #include class MLPPGaussianNB { public: MLPPGaussianNB(std::vector> inputSet, std::vector outputSet, int class_num); std::vector modelSetTest(std::vector> X); real_t modelTest(std::vector x); real_t 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 */