RankSVM Training, validating, & predicting ========================================== Acknowledgement: Logging is provided by easylogging++ up-to-date site: https://github.com/easylogging/easyloggingpp Requirements: CMAKE, GCC(C++) or any c++11 compatible compiler, boost libraries(program_options), Eigen3. How to build(Release): 1.copy the source files to an empty directory 2.mkdir Release 3.cd Release # In the Release directory 4.cmake -DCMAKE_BUILD_TYPE=Release .. # Change the Release to Debug for Debug build How to build it under windows(un-tested) 1.Install & configure: Eigen3 & boost 2.use cmake or VS What if I want to: 1.add a program option: in train.cpp or split.cpp add description to desc.add_options() add control flow in main() 2.add a new training model: create a new model .h file in ./model add a .cpp create a new class inherit from RSVM provide member functions: string getName() int train(RidList &D) int predict(RidList &D,vector &res) add a new option when reading model file(RSVM::loadModel) 3.support new data format(dataProvider.h)? currently only support .rid; almost impossible to change 4.support new data source? checkout fileDataProvider.h multiplex in main()