We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Refer to #3299 (comment) for the initial discussion.
Here is the code how linear trees are dumped into txt format
LightGBM/src/io/tree.cpp
Lines 378 to 405 in fba18e4
The same information should be dumped in NodeToJSON function
NodeToJSON
Line 428 in fba18e4
Special attention should be paid to the case of uno-leaf tree:
Lines 419 to 423 in fba18e4
The text was updated successfully, but these errors were encountered:
This is a sub-issue of #2604.
Sorry, something went wrong.
@btrotta Could help with this please?
Add linear leaf models to json output (fixes #4186) (#4329)
1b5bec0
* Add linear leaf models to json output * Add closing bracket * Move test into test_engine.py and add asserts * Update tests/python_package_test/test_engine.py Co-authored-by: Nikita Titov <nekit94-08@mail.ru> * Update tests/python_package_test/test_engine.py Co-authored-by: Nikita Titov <nekit94-08@mail.ru> * Update tests/python_package_test/test_engine.py Co-authored-by: Nikita Titov <nekit94-08@mail.ru> Co-authored-by: Nikita Titov <nekit94-08@mail.ru>
No branches or pull requests
Refer to #3299 (comment) for the initial discussion.
Here is the code how linear trees are dumped into txt format
LightGBM/src/io/tree.cpp
Lines 378 to 405 in fba18e4
The same information should be dumped in
NodeToJSON
functionLightGBM/src/io/tree.cpp
Line 428 in fba18e4
Special attention should be paid to the case of uno-leaf tree:
LightGBM/src/io/tree.cpp
Lines 419 to 423 in fba18e4
The text was updated successfully, but these errors were encountered: