AyushP123

letor_error

Jul 12th, 2017
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.79 KB | None | 0 0
  1. api_letor.cc: In function ‘bool test_ranker1()’:
  2. api_letor.cc:126:47: error: no matching function for call to ‘Xapian::ListNETRanker::train_model(const char [18], const char [1])
  3.      ranker.train_model("training-data.txt", "");
  4.                                                ^
  5. In file included from ../include/xapian-letor.h:32:0,
  6.                  from api_letor.cc:28:
  7. ../include/xapian-letor/ranker.h:260:10: note: candidate: virtual void Xapian::ListNETRanker::train_model(const std::vector<Xapian::FeatureVector>&)
  8.      void train_model(const std::vector<Xapian::FeatureVector> & training_data);
  9.           ^
  10. ../include/xapian-letor/ranker.h:260:10: note:   candidate expects 1 argument, 2 provided
  11. Makefile:563: recipe for target 'api_letor.o' failed
  12. make: *** [api_letor.o] Error 1
Add Comment
Please, Sign In to add comment