Letor: returning MSet after re-ranking
Ayush Tomar
ayushtomar at gmail.com
Thu Jul 28 11:28:25 BST 2016
Hello James,
As it was discussed, at present letor_rank(const Xapian::MSet & mset)
method returns a vector of sorted docids after performing re-ranking,
whereas ideally, it should return a re-ranked MSet.
To be able to do this, I was thinking of adding rerank_mset(vector<double>
updated_weights) method to mset.h, which basically updates the weight of
each MSetItem in MSet with weights (or score, in terms of letor) obtained
after re-ranking, and then sorts the vector<Xapian::Internal::MSetItems>
items by these updated weights.
What do you think about this?
Regards,
Ayush
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xapian.org/pipermail/xapian-devel/attachments/20160728/4e464fc5/attachment.html>
More information about the Xapian-devel
mailing list