#ifndef RANKSVM_H #define RANKSVM_H #include #include #include"../tools/dataProvider.h" class RSVM //Virtual base class for all RSVM operations { protected: Eigen::VectorXd* model; public: virtual int train(DataProvider &D)=0; int test(); int saveModel(string fname); static RSVM loadModel(string fname); string getName(); Eigen::MatrixXd getModel(); Eigen::MatrixXd setModel(); }; #endif