Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Want to use PythonAPI to train and predict. #13

Open
nalin-mathur opened this issue Sep 12, 2019 · 2 comments
Open

Want to use PythonAPI to train and predict. #13

nalin-mathur opened this issue Sep 12, 2019 · 2 comments

Comments

@nalin-mathur
Copy link

nalin-mathur commented Sep 12, 2019

Hi,

I wanted to use the code in a similar way as used in LightGBM where I just import LightGBM and use LGBMRanker to train, make predictions, etc.

I am currently using the Unbias_LightGBM/examples/lambdarank/train.conf file to train.
Can you please guide me to how I can do the same for this repo?

@acbull
Copy link
Owner

acbull commented Sep 16, 2019

Sorry, I think at this point this repo doesn't support PythonAPI, and can only be used via the log file. Some modification of the API is required to make it work. I'll let you know when I fix it out. Thanks.

@Gyys1992
Copy link

Gyys1992 commented Jun 2, 2020

Curious to see if there is any update on this? Or @nalin-mathur if you have figured out a work around?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants