00001 #ifndef LIBSVMFILELOADER_H_ 00002 #define LIBSVMFILELOADER_H_ 00003 00004 #include "svm.h" 00005 #include <string> 00006 00007 using namespace std; 00008 00009 namespace damina 00010 { 00020 class LibsvmFileLoader 00021 { 00022 private: 00026 string filename; 00027 00028 public: 00029 struct svm_problem *load(bool); 00030 struct svm_problem *load(bool, string); 00031 00032 LibsvmFileLoader(string); 00033 virtual ~LibsvmFileLoader(); 00034 }; 00035 00036 } 00037 00038 #endif /*LIBSVMFILELOADER_H_*/
1.5.2