angleto / liblinear

BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Can I use this library for the ranking task? #6

Open simsong opened 6 years ago

simsong commented 6 years ago

From @TheEdoardo93 on October 20, 2017 9:9

Hi, I'm a computer science student based in Milan. I want to know if I can use this library (especially, with the Python interface/wrapper) for the ranking task. I want to learn a ranking function in Learning to Rank style. It is possible?

Thanks for the answer!

Copied from original issue: cjlin1/liblinear#38

simsong commented 6 years ago

From @cjlin1 on October 20, 2017 10:38

Please check

http://www.csie.ntu.edu.tw/~cjlin/libsvmtools/#large_scale_ranksvm

TheEdoardo93 writes:

Hi, I'm a computer science student based in Milan. I want to know if I can use this library (especially, with the Python interface/wrapper) for the ranking task. I want to learn a ranking function in Learning to Rank style. It is possible?

Thanks for the answer!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.*

simsong commented 6 years ago

From @TheEdoardo93 on October 20, 2017 12:51

Thanks. 1) I see that this library is written in C/C++. Is there any available Python wrapper/binding? 2) So, this library doesn't permit to perform learning to rank task?

Thanks for your answer

Edoardo Casiraghi edoardo.casiraghi.93@gmail.com

Il giorno 20 ott 2017, alle ore 12:38, cjlin1 notifications@github.com ha scritto:

Please check

http://www.csie.ntu.edu.tw/~cjlin/libsvmtools/#large_scale_ranksvm

TheEdoardo93 writes:

Hi, I'm a computer science student based in Milan. I want to know if I can use this library (especially, with the Python interface/wrapper) for the ranking task. I want to learn a ranking function in Learning to Rank style. It is possible?

Thanks for the answer!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.*

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/cjlin1/liblinear/issues/38#issuecomment-338171339, or mute the thread https://github.com/notifications/unsubscribe-auth/ASwOu0EBgsxtnnemGPOnch6w78wqwtYXks5suHgggaJpZM4QAY5-.

simsong commented 6 years ago

From @cjlin1 on October 20, 2017 13:8

We don't but it should be easy to modify liblinear's python setting here.. TheEdoardo93 writes:

Thanks. I see that this library is written in C/C++. Is there any available Python wrapper/binding?

Thanks for your answer

Edoardo Casiraghi edoardo.casiraghi.93@gmail.com

Il giorno 20 ott 2017, alle ore 12:38, cjlin1 notifications@github.com ha scritto:

Please check

http://www.csie.ntu.edu.tw/~cjlin/libsvmtools/#large_scale_ranksvm

TheEdoardo93 writes:

Hi, I'm a computer science student based in Milan. I want to know if I can use this library (especially, with the Python interface/wrapper) for the ranking task. I want to learn a ranking function in Learning to Rank style. It is possible?

Thanks for the answer!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.*

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/cjlin1/liblinear/issues/38#issuecomment-338171339 ;, or mute the thread https://github.com/notifications/unsubscribe-auth/ASwOu0EBgsxtnnemGPOnch6w78wqwtYXks5suHgggaJpZM4QAY5- ;.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.*

simsong commented 6 years ago

From @TheEdoardo93 on October 23, 2017 8:4

Sorry, what do you mean by "modify liblinear's python setting here"? 1) Do I have to modify only the settings (so only the parameters to pass to the training model) or change the code of this library, i.e., implement a wrapper for ranking task? 2) The first step of generating the pair-wise combination of training examples, i.e., transforms a n-class ranking problem into a two-class classification problem, who do this step? This library or a code written by me?