From dd42e186d534f195d5368753d02493f9ce32a184 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ricardo=20Monta=C3=B1ana?= Date: Tue, 25 Apr 2023 17:16:04 +0200 Subject: [PATCH] Reformat Arfffiles.h --- src/fimdlp/ArffFiles.h | 20 +++++--------------- 1 file changed, 5 insertions(+), 15 deletions(-) diff --git a/src/fimdlp/ArffFiles.h b/src/fimdlp/ArffFiles.h index 38531af..ff8bbc5 100644 --- a/src/fimdlp/ArffFiles.h +++ b/src/fimdlp/ArffFiles.h @@ -19,26 +19,16 @@ private: public: ArffFiles(); - - void load(const string &, bool = true); - + void load(const string&, bool = true); vector getLines() const; - unsigned long int getSize() const; - string getClassName() const; - string getClassType() const; - - static string trim(const string &); - - vector> &getX(); - - vector &getY(); - + static string trim(const string&); + vector>& getX(); + vector& getY(); vector> getAttributes() const; - - static vector factorize(const vector &labels_t); + static vector factorize(const vector& labels_t); }; #endif \ No newline at end of file