question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support for LGBMRanker?

See original GitHub issue

Hello there,

I am wondering if the current implementation supports convertion from LightGBMRanker which is part of the LightGBM package? Is there anything special to the LightGBMRanker and will the converter for LGBMRegressor works in this case? Here is the error I got when I try to convert the LGBMRanker

MissingConverter: Unable to find converter for model type <class 'lightgbm.sklearn.LGBMRanker'>.
It usually means the pipeline being converted contains a
transformer or a predictor with no corresponding converter implemented.
Please fill an issue at https://github.com/microsoft/hummingbird.

This is the doc to LGBMRanker https://lightgbm.readthedocs.io/en/latest/pythonapi/lightgbm.LGBMRanker.html

Thanks in advance!

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
ksaurcommented, Jun 26, 2020

Hi @go2ready, thanks for filing this! We don’t currently have a converter for LGBMRanker, but from a quick glance it looks similar enough that a few modifications to the converter for LGBMRegressor might make it work. We’ll look into it and get back to you!

0reactions
ksaurcommented, Jul 21, 2020

@go2ready - This was in today’s release 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

lightgbm.LGBMRanker — LightGBM 3.3.3.99 documentation
LightGBM ranker. ... scikit-learn doesn't support ranking applications yet, therefore this class is not really compatible with the sklearn ...
Read more >
Possible to support LGBMRanker? · Issue #3 - GitHub
Is it possible to support https://github.com/Microsoft/LightGBM/blob/master/python-package/lightgbm/sklearn.py#L639 ?
Read more >
How to use the lightgbm.LGBMRanker function in ... - Snyk
LGBMRanker function in lightgbm. To help you get started, we've selected a few lightgbm examples, based on popular ways it is used in...
Read more >
Learning-to-rank with LightGBM (Code example in python)
LightGBM is a framework developed by Microsoft that that uses tree based learning algorithms. One of the cool things about LightGBM is that ......
Read more >
A Practical Guide to LambdaMART in LightGbm
LambdaMART is the boosted tree version of LambdaRank, based on RankNet. Boosted trees especially LambdaMART have been proved to be very ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found