o19s / hello-ltr

Set of Jupyter notebooks demonstrating Learning to Rank integrated with Solr and Elasticsearch
Apache License 2.0
165 stars 62 forks source link

Lambdamart returns same score for popular documents and non popular documents #71

Closed meg261995 closed 2 years ago

meg261995 commented 3 years ago

Hi Team,

I am using the same code used here in hello-ltr to improve my search. My relevance score is from 4 and goes till 0. 4,3,2,1,0. I have used customer interaction details such as clicks, views, add to carts, ratings etc along with some of the product attributes in my feature set. I have 2 documents in which one is extremely popular and the other is not. i.e clicks, views, add to carts, ratings values are very high for one and for the other it is very low. However the lambdamart model returns the same rescore score for these 2 documents. As a result the non popular doc is displayed on top instead of the popular one. Can someone please help me understand this behavior and how to solve it??

meg261995 commented 2 years ago

No one replied