#ifndef DATASETS_H #define DATASETS_H #include "Dataset.h" namespace platform { using namespace std; class Datasets { private: string path; fileType_t fileType; string sfileType; map> datasets; bool discretize; void load(); // Loads the list of datasets public: explicit Datasets(bool discretize, string sfileType) : discretize(discretize), sfileType(sfileType) { load(); }; vector getNames(); vector getFeatures(const string& name) const; int getNSamples(const string& name) const; string getClassName(const string& name) const; int getNClasses(const string& name); vector getClassesCounts(const string& name) const; map> getStates(const string& name) const; pair>&, vector&> getVectors(const string& name); pair>&, vector&> getVectorsDiscretized(const string& name); pair getTensors(const string& name); bool isDataset(const string& name) const; void loadDataset(const string& name) const; }; }; #endif