You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
LGBM 4.0.0 was released 3 days ago. From Friday runnertest_onnxml_lightgbm_converter.py:
> from lightgbm.basic import (
_LIB, FEATURE_IMPORTANCE_TYPE_MAPPER, _safe_call,
json_default_with_numpy)
E ImportError: cannot import name 'FEATURE_IMPORTANCE_TYPE_MAPPER' from 'lightgbm.basic' (C:\hostedtoolcache\windows\Python\3.10.11\x64\lib\site-packages\lightgbm\basic.py)
C:\hostedtoolcache\windows\Python\3.10.11\x64\lib\site-packages\onnxmltools\convert\lightgbm\operator_converters\LightGbm.py:267: ImportError
They have added an underscore to many things. Ex: FEATURE_IMPORTANCE_TYPE_MAPPER becomes _FEATURE_IMPORTANCE_TYPE_MAPPER. See microsoft/LightGBM#5654
Also in test_onnxml_lightgbm_converter.py:
FAILED tests/test_onnxml_lightgbm_converter.py::TestONNXLightGBMConverter::test_lightgbm_booster_classifier - AttributeError: 'Booster' object has no attribute 'attr'
Need to investigate what other breaking changes for us.
The text was updated successfully, but these errors were encountered:
LGBM 4.0.0 was released 3 days ago. From Friday runner
test_onnxml_lightgbm_converter.py
:They have added an underscore to many things. Ex:
FEATURE_IMPORTANCE_TYPE_MAPPER
becomes_FEATURE_IMPORTANCE_TYPE_MAPPER
. See microsoft/LightGBM#5654Also in
test_onnxml_lightgbm_converter.py
:Need to investigate what other breaking changes for us.
The text was updated successfully, but these errors were encountered: