[Xapian-devel] Discuss a few things about already implemented methods in Rishabh's branch

Mayank Chaudhary mayankchaudhary.iitr at gmail.com
Sun Mar 9 10:34:48 GMT 2014


Hi Parth,

Before getting started to work on svmranker.cc, I need to discuss a few
things.

For *featurevector.h *-

1. I think it is a header file for the data-structure used for storing a
query relevance though it has been mentioned there that This file
responsible for transforming the document into the feature
space<https://github.com/rishabhmehrotra/xapian/blob/master/xapian-letor/featurevector.h#L1>.
Also all the methods there are
*get* and *set* except *load_relevance*(). This same method is also present
in featuremanager.h<https://github.com/rishabhmehrotra/xapian/blob/master/xapian-letor/featuremanager.h#L55>.
Implementation wise too they are same. I can't find the reason why the
same method is present in two headers.
http://trac.xapian.org/wiki/GSoC2012/LTR/TODO also shows that there
shouldn't be load_relevance() method in featurevector.h .

2. As it was mentioned in a mail by Jiarong Wei, the data member
*label*should be of type
*bool* rather than *double*. The data member *fcount* is also unused.

3. As it is a feature vector then there should be data member *queryid* but
I found out that it is in
ranklist.h<https://github.com/rishabhmehrotra/xapian/blob/master/xapian-letor/ranklist.h#L50>.

Other than that I wanted to know that has ListMLE and ListNet been tested?
And what is autoencoder.cc for and where is the "dimred/ya_ate_dimred.h"
header that has been included in it?

-Mayank
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xapian.org/pipermail/xapian-devel/attachments/20140309/188ac6e0/attachment.html>


More information about the Xapian-devel mailing list