#ifndef BEST_RESULTS_MD_H #define BEST_RESULTS_MD_H #include #include #include #include "common/Paths.h" #include "Statistics.h" namespace platform { using json = nlohmann::ordered_json; class BestResultsMd { public: BestResultsMd() = default; ~BestResultsMd() = default; void results_header(const std::vector& models, const std::string& date); void results_body(const std::vector& datasets, json& table); void results_footer(const std::map>& totals, const std::string& best_model); void postHoc_test(std::vector& postHocResults, const std::string& kind, const std::string& date); private: void openMdFile(const std::string& name); std::ofstream handler; std::vector models; }; } #endif