cjlin1 / liblinear

LIBLINEAR -- A Library for Large Linear Classification
https://www.csie.ntu.edu.tw/~cjlin/liblinear/
BSD 3-Clause "New" or "Revised" License
1k stars 343 forks source link

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

Open TheEdoardo93 opened 7 years ago

TheEdoardo93 commented 7 years ago

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!

cjlin1 commented 7 years ago

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.*

TheEdoardo93 commented 7 years ago

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-.

cjlin1 commented 7 years ago

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.*

TheEdoardo93 commented 7 years ago

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?

simsong commented 6 years ago

This issue was moved to angleto/liblinear#6