jma127 / pyltr

Python learning to rank (LTR) toolkit
BSD 3-Clause "New" or "Revised" License
464 stars 107 forks source link

why predict function don't need qid? #12

Closed deepfuzzy closed 6 years ago

deepfuzzy commented 6 years ago

In the example: Epred = model.predict(EX) here predict function don't need qid?

jma127 commented 6 years ago

qid is not needed because it is not used as a feature in evaluation. It is only needed for grouping same-query items in training.