jma127 / pyltr

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

non IR applications #14

Closed senjed closed 5 years ago

senjed commented 5 years ago

hey! I want to learn to rank several items for a non-IR application using your code. I do not have any query id. if I just pass the same qid (for example 1) for all the items, will that solve the problem?

jma127 commented 5 years ago

Hi @senjed , you may certainly do that. Just make sure query_subsample is 1.0 so that you always have something to train on.

I also caution that this will lend itself to somewhat increased overfitting.