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

Decision path and Leaf index prediction for LightGBM #1162

Open
akhiliyengar opened this issue Jan 29, 2025 · 2 comments
Open

Decision path and Leaf index prediction for LightGBM #1162

akhiliyengar opened this issue Jan 29, 2025 · 2 comments

Comments

@akhiliyengar
Copy link

Hi Team,
I''d like some support on getting leaf indices and decisions paths exported for LightGBM predictions. Currently it seems that only classes and probability is supported as an output. I see that this feature is available for Random forests and Decision trees. I am happy to chip in to try and add this capability.

Would the approach or implementation linked below be the best way to get this feature for LightGBM.

#563

Please advice.

@akhiliyengar akhiliyengar changed the title Decision path and Lead index prediction for LightGBM Decision path and Leaf index prediction for LightGBM Jan 29, 2025
@xadupre
Copy link
Collaborator

xadupre commented Feb 3, 2025

That's what I would recommend. The converter for lightgbm is implemented in onnxmltools.

@ajryan
Copy link

ajryan commented Feb 10, 2025

Created issue in onnxmltools for this onnx/onnxmltools#710

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