airalcorn2 / RankNet

My (slightly modified) Keras implementation of RankNet and PyTorch implementation of LambdaRank.
MIT License
247 stars 47 forks source link

Some confuses about ranknet #2

Closed Sean0719 closed 5 years ago

Sean0719 commented 5 years ago

Hi,

Sorry to disturb you. For me I have confused about the weight that the network learned. This means that for each query [q1,q2,...qn] with documents[d1,d2....dm] the network will learn the w1i[w11,w12....] for the query1 and w2i[w21,w22....] for the query2? Could you please give me some helps. Thank you very much.

Sean

airalcorn2 commented 5 years ago

Sorry, I do not understand your question.

Sean0719 commented 5 years ago

I mean that when do training, you will train different weight for the different query or all queries share the same weight. Thanks.

airalcorn2 commented 5 years ago

The model learns one set of weights.