leaves icon indicating copy to clipboard operation
leaves copied to clipboard

LightGBM v4 support

Open painhardcore opened this issue 1 year ago • 3 comments

Currently only version=v3 is supported v4 was released a while ago https://github.com/microsoft/LightGBM/releases/tag/v4.0.0 Latest version is v4.4 https://github.com/microsoft/LightGBM/releases/tag/v4.4.0

painhardcore avatar Jul 09 '24 11:07 painhardcore

My company has released an MIT-licensed library for using lightgbm v4 by way of purego rather than cgo. It might be an alternative. Depending on your use case, it might have some rough edges.

biorisk avatar Aug 28 '24 22:08 biorisk

Hi @biorisk, thank you for your suggestion, but I'm looking for Go only lib without CGO or linking to something external.

painhardcore avatar Sep 08 '24 20:09 painhardcore

golightly does not support batch predictions @painhardcore

lp1985621 avatar Feb 20 '25 12:02 lp1985621

if someone needs a support of the v4, chances are changing following code block is enough. Similar ad-hoc solution is also applied in original repo.

you should add a code block for the "v4" string.

I guess it will be nice if some tests are added.

AnyCPU avatar Jul 22 '25 10:07 AnyCPU