Skip to content

Support loading lightgbm model from a file #6296

@prodanovic

Description

@prodanovic

Is your feature request related to a problem? Please describe.
Our data scientists are training lightgbm models in python, and our inference runtime is in C#. We are very much interested in using ML.NET to run inference, however loading the model from a file is not yet supported in ML.NET. Is there an obstacle in adding this additional binding already available in lightgbm C++ API ?

Describe the solution you'd like
Add LGBM_BoosterLoadModelFromString binding to WrappedLightGbmInterface () available in https://github.com/Microsoft/LightGBM/blob/master/include/LightGBM/c_api.h

Describe alternatives you've considered
An alternative is to convert our models to ONNX and not use ML.NET runtime.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestlightgbmBugs related lightgbm

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions