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

Possible to support LGBMRanker? #3

travisbrady opened this issue Apr 11, 2017 · 4 comments


None yet
4 participants
Copy link

commented Apr 11, 2017

Is it possible to support ?
If so I'd be happy to contribute, just not sure if it's even doable.



This comment has been minimized.

Copy link

commented Apr 11, 2017

The doability depends on the definition of the "lambdarank" objective function - this is a piece of code that transforms the raw GBT score to the final user score.

Once known, create an appropriate subclass of org.jpmml.lightgbm.ObjectiveFunction and register it with the org.jpmml.lightgbm.GBDT#parseObjectiveFunction(...) method:


This comment has been minimized.

Copy link

commented Apr 12, 2017

Got it, thank you. I'll do some investigating.


This comment has been minimized.

Copy link

commented Dec 5, 2017

Do you have any update on this?

Exception in thread "main" java.lang.IllegalArgumentException: lambdarank                                
        at org.jpmml.lightgbm.GBDT.parseObjectiveFunction(                                 
        at org.jpmml.lightgbm.GBDT.load(                                                    
        at org.jpmml.lightgbm.LightGBMUtil.loadGBDT(                                
        at org.jpmml.lightgbm.LightGBMUtil.loadGBDT(                                
        at org.jpmml.lightgbm.Main.main(  

This comment has been minimized.

Copy link

commented Mar 26, 2019

Are there any updates on when/if this will be supported? Thank you in advance!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.