mirror of
https://github.com/Doctorado-ML/FImdlp.git
synced 2025-08-18 00:45:52 +00:00
Reformat Arfffiles.h
This commit is contained in:
@@ -19,25 +19,15 @@ private:
|
|||||||
|
|
||||||
public:
|
public:
|
||||||
ArffFiles();
|
ArffFiles();
|
||||||
|
|
||||||
void load(const string&, bool = true);
|
void load(const string&, bool = true);
|
||||||
|
|
||||||
vector<string> getLines() const;
|
vector<string> getLines() const;
|
||||||
|
|
||||||
unsigned long int getSize() const;
|
unsigned long int getSize() const;
|
||||||
|
|
||||||
string getClassName() const;
|
string getClassName() const;
|
||||||
|
|
||||||
string getClassType() const;
|
string getClassType() const;
|
||||||
|
|
||||||
static string trim(const string&);
|
static string trim(const string&);
|
||||||
|
|
||||||
vector<vector<float>>& getX();
|
vector<vector<float>>& getX();
|
||||||
|
|
||||||
vector<int>& getY();
|
vector<int>& getY();
|
||||||
|
|
||||||
vector<pair<string, string>> getAttributes() const;
|
vector<pair<string, string>> getAttributes() const;
|
||||||
|
|
||||||
static vector<int> factorize(const vector<string>& labels_t);
|
static vector<int> factorize(const vector<string>& labels_t);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user