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

Do inference in Java #2777

Closed
sergun opened this issue Feb 19, 2020 · 1 comment
Closed

Do inference in Java #2777

sergun opened this issue Feb 19, 2020 · 1 comment
Labels

Comments

@sergun
Copy link

sergun commented Feb 19, 2020

Hi!

What is the easiest way to train lightgbm model in python and make predictions from java?

I see jpmml functionalty but wonder f there are no easier to take model and make predictions in java.

Thanks!

@StrikerRUS
Copy link
Collaborator

You can generate JAVA wrapper for C API functions via SWIG package: https://lightgbm.readthedocs.io/en/latest/Installation-Guide.html#build-java-wrapper. And then call prediction function.
Also, refer to #909.

@lock lock bot locked as resolved and limited conversation to collaborators Apr 19, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants