Relative Content

Tag Archive for pythonsearchranking

Aggregation in the ranking model to change the unit of observation

Setup:
I need to build a ranking model to rank hotels (let’s consider a search system without personalization), so my final unit of observation in the app must be a hotel. But during training&testing my model I’ve got a client query as a unit of observation (so my data looks like this: query_id + hotel + features + target).