jma127 / pyltr

Python learning to rank (LTR) toolkit

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

non IR applications

senjed opened this issue · comments

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?

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.