<div dir="ltr">Hi~ Manu<div><br></div><div>I was glad to see you were interested in Xapian, especially the learning to rank project. There are two branch in my repo. The one named gsoc2014 is followed the thought of Parth's work in which we not assign the test set for each ranking and in another one gsoc2014-evaluation we assign the training set and test set explicitly so that we can get the evaluation score of each ranking algorithm based on its performance on the test set. In a nutshell, my suggestion is to choose the gsoc2014-evaluation.</div><div><br></div><div>As to your compile errors, I have tested the branch just now and it works well on my side. Maybe you should read the HACKING under the xapian-core. It can help you to know how to hacking on Xapian more clearer. Take it easy. It also takes me many time before I can contribute something.</div></div><div class="gmail_extra"><br><div class="gmail_quote">2014-12-06 10:01 GMT+08:00 Manu Gupta <span dir="ltr"><<a href="mailto:gmanu@umich.edu" target="_blank">gmanu@umich.edu</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi <div><br></div><div>Thank you!!</div><div><br></div><div>I tried building the letor for both the branches and unfortunately both of them do not build :</div><div><br></div><div>gsoc2014 branch gives an error at :</div><div><br></div><div><div>C -DPIC -o .libs/ranklist.o</div><div>ranklist.cc: In member function 'void Xapian::RankList::sort_by_score()':</div><div>ranklist.cc:98:6: error: unused variable 'fvv_size' [-Werror=unused-variable]</div><div>ranklist.cc: In member function 'void Xapian::RankList::sort_by_label()':</div><div>ranklist.cc:108:6: error: unused variable 'fvv_size' [-Werror=unused-variable]</div><div>cc1plus: all warnings being treated as errors</div><div>make[3]: *** [ranklist.lo] Error 1</div><div>make[3]: Leaving directory `/home/manugupt1/han/xapian/xapian-letor'</div><div>make[2]: *** [all-recursive] Error 1</div><div>make[2]: Leaving directory `/home/manugupt1/han/xapian/xapian-letor'</div><div>make[1]: *** [all] Error 2</div><div>make[1]: Leaving directory `/home/manugupt1/han/xapian/xapian-letor'</div></div><div><br></div><div><br></div><div>and gsoc2014-evaluation branch has:</div><div><br></div><div><div>emanager.cc  -fPIC -DPIC -o .libs/featuremanager.o</div><div>featuremanager.cc:89:1: error: unused parameter 'did1' [-Werror=unused-parameter]</div><div>cc1plus: all warnings being treated as errors</div><div>make[3]: *** [featuremanager.lo] Error 1</div><div>make[3]: Leaving directory `/home/manugupt1/han/xapian/xapian-letor'</div><div>make[2]: *** [all-recursive] Error 1</div><div>make[2]: Leaving directory `/home/manugupt1/han/xapian/xapian-letor'</div><div>make[1]: *** [all] Error 2</div><div>make[1]: Leaving directory `/home/manugupt1/han/xapian/xapian-letor'</div><div>make: *** [all] Error 2</div></div><div><br></div><div><br></div><div>Also, if I am looking at LETOR tutorials, I should probably take a look at how they work with xapian right, which is documented here at :</div><div><br></div><div><a href="http://trac.xapian.org/wiki/GSoC2014/Learning%20to%20Rank%20Hanxiao%20Sun/Report" target="_blank">http://trac.xapian.org/wiki/GSoC2014/Learning%20to%20Rank%20Hanxiao%20Sun/Report</a><br></div><div><br></div><div>Thanks a lot</div></div><div class="gmail_extra"><br clear="all"><div><div><div dir="ltr"><font face="arial,helvetica,sans-serif"><span style="font-family:times new roman,serif"><font>Best Regards<span class="HOEnZb"><font color="#888888"><br>Manu Gupta</font></span></font></span><br></font></div></div></div><span class="">
<br><div class="gmail_quote">On Thu, Dec 4, 2014 at 8:44 PM, Olly Betts <span dir="ltr"><<a href="mailto:olly@survex.com" target="_blank">olly@survex.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>On Thu, Dec 04, 2014 at 08:28:32PM -0500, Manu Gupta wrote:<br>
> I was trying to build Han's code and was stuck here. It seems to me that<br>
> his code is trying to generate pdf for them.<br>
><br>
> Is it possible to modify the make files to stop building the documentation.<br>
<br>
</span>You can run the top-level configure with --disable-documentation.<br>
<br>
Cheers,<br>
    Olly<br>
</blockquote></div><br></span></div>
<br>_______________________________________________<br>
Xapian-devel mailing list<br>
<a href="mailto:Xapian-devel@lists.xapian.org">Xapian-devel@lists.xapian.org</a><br>
<a href="http://lists.xapian.org/mailman/listinfo/xapian-devel" target="_blank">http://lists.xapian.org/mailman/listinfo/xapian-devel</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div style="background-color:rgb(255,255,255)"><font face="simhei, sans-serif"><span style="font-size:12px;line-height:18px">孙晗晓(Hansel Sun)</span></font></div><div style="background-color:rgb(255,255,255)"><span style="background-color:transparent;font-size:12px;line-height:18px"><font face="simhei, sans-serif">Master </font></span><span style="background-color:transparent;font-size:12px;line-height:18px"><font face="simhei, sans-serif">Student </font></span><span style="background-color:transparent;font-size:12px;line-height:18px"><font face="simhei, sans-serif">of </font></span><span style="font-family:simhei,sans-serif;font-size:12px;line-height:18px">Computer Science</span><span style="background-color:transparent;font-size:12px;line-height:18px"><font face="simhei, sans-serif"> at Institute of Computing Technology,Chinese Academy of Sciences(ICT) </font></span>
</div><div style="font-size:12px;line-height:18px;background-color:rgb(255,255,255)"><font face="simhei, sans-serif">Email:<a href="mailto:Email%3Asunhanxiaoisme@gmail.com" target="_blank">sunhanxiaoisme@gmail.com</a>       </font></div><div style="background-color:rgb(255,255,255)"><span style="background-color:transparent;font-size:12px;line-height:18px"><font face="simhei, sans-serif">Mobile</font></span><font face="simhei, sans-serif" style="font-size:12px;line-height:18px">: (86)186-0025-6936    </font></div><div style="font-family:'lucida Grande',Verdana;font-size:12px;line-height:18px;background-color:rgb(255,255,255)"><br></div><div style="font-family:'lucida Grande',Verdana;font-size:12px;line-height:18px;background-color:rgb(255,255,255)"><hr><font color="gray" size="1" face="Arial">This email (including any attachments) is confidential and may be legally privileged. If you received this email in error, please delete it immediately and do not copy it or use it for any purpose or disclose its contents to any other person. Thank you.<br><br>本电邮(包括任何附件)可能含有机密资料并受法律保护。如您不是正确的收件人,请您立即删除本邮件。请不要将本电邮进行复制并用作任何其他用途、或透露本邮件之内容。谢谢。</font></div></div></div>
</div>