Skip to content

rca22/LightGBM.Net

Repository files navigation

LightGBM.Net

.Net wrapper for LightGBM

Package NuGet
LightGBMNet.Train NuGet version
LightGBMNet.Tree NuGet version
  • Native LightGBM binaries in NuGet package are compiled for Intel/AMD 64 bit processors with Visual Studio 2022 (requires corresponding Visual C++ 2022 redistributable package to be installed).
  • Training generates both a simple wrapper around the native LightGBM ensemble, and a corresponding 100% managed tree ensemble implementation.
  • Managed implementation is fully self-contained in LightGBMNet.Tree (a .NET 6 assembly), with rigorous unit testing to ensure native and managed models generate identical outputs.
  • See training unit tests for usage examples.
  • GPU support:
    • Compile native LightGBM DLL/EXE files for your GPU configuration as per the instructions here.
    • Copy the native LightGBM files with GPU support over the CPU only versions in the native directory (or over those found in the build\x64 directory of the NuGet package)
    • Set DeviceType parameter to GPU.

About

.Net wrapper around the LightGBM library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages