diff options
Diffstat (limited to 'main.cpp')
-rw-r--r-- | main.cpp | 11 |
1 files changed, 1 insertions, 10 deletions
@@ -54,7 +54,7 @@ int predict() { rsvm->predict(D,L); } - LOG(INFO)<<"Training finished,saving prediction"; + LOG(INFO)<<"Finished,saving prediction"; std::ofstream fout(vm["output"].as<std::string>().c_str()); for (int i=0; i<L.size();++i) @@ -88,15 +88,6 @@ int main(int argc, char **argv) { po::store(po::parse_command_line(argc, argv, desc), vm); po::notify(vm); - /* Conjugate Gradient method test - MatrixXd A(3,3); - VectorXd b(3),x(3); - A<< 1,2,3,2,2,4,3,4,1; - b<< 1,1,1; - x<< 0,0,0; - cg_solve(A,b,x); - write_stream(std::cout,x);*/ - // Print help if necessary if (vm.count("help") || !(vm.count("train") || vm.count("validate") || vm.count("predict"))) { std::cout << desc; |