Skip to content

Does lightgbm_predict4j suit for the model generated by lightgbm v2.0.5 or higher? #3

Open
@dragonclouder

Description

@dragonclouder

Noticed here exists a demo suit for v2, and i can run the UseageTest in v2 package successfully, while when i use a model generared by lightgbm v2.0.5, it produced a error: "[Tree] Tree model string format error, should contain default_value field". The default_value is contained in models generated by lightgbm's earlier version. The model file cause the error is attached below.
Thanks for any kind help in advance!

lgbm_test.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions