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

Fix missing type in lgbm regressor #488

Merged
merged 2 commits into from
Aug 16, 2021

Conversation

janjagusch
Copy link
Contributor

Fixed a bug, where the ONNX model would take a different path through the tree compared to the LGBM regressor when tree_structure["missing_type"] == 'None' and float(tree_structure['threshold']) < 0.0.

@janjagusch janjagusch force-pushed the fix-missing-type-in-lgbm-regressor branch from c887262 to aab0e17 Compare August 9, 2021 14:54
Signed-off-by: Jan-Benedikt Jagusch <jan.jagusch@gmail.com>
@janjagusch janjagusch force-pushed the fix-missing-type-in-lgbm-regressor branch from aab0e17 to 978954e Compare August 9, 2021 14:55
@janjagusch
Copy link
Contributor Author

@xadupre, if you have time, could you please take a look at this? 🙂

it's quite important, as the ONNX graph currently produces wrong predictions in some special cases.

@xadupre xadupre merged commit cf660f0 into onnx:master Aug 16, 2021
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

Successfully merging this pull request may close these issues.

None yet

2 participants