#ifndef TEST_UTILS_H #define TEST_UTILS_H #include #include #include #include #include #include "ArffFiles.h" #include "CPPFImdlp.h" using namespace std; bool file_exists(const std::string& name); pair, map> discretize(vector& X, mdlp::labels_t& y, vector features); vector discretizeDataset(vector& X, mdlp::labels_t& y); tuple>, vector, vector, string, map>> loadFile(const string& name); tuple, string, map>> loadDataset(const string& name, bool class_last, bool discretize_dataset); #endif //TEST_UTILS_H #