LightGBM

A LightGBM model can be used both for classification and for regression.

LightGBM is one of the histogram-based Gradient Boosting methods. This makes training efficient, in particular with large data sets.

Supported properties

ONNX support

Samples of the export of LightGBM models can be found here: ONNX export of LightGBM.

LightGBM 1:

Classification limitation

With classification models, only the output of the labels is mapped in the PLC. The scores/probabilities are not available in the PLC.

Supported data types

A distinction must be made between "supported datatype" and "preferred datatype". The preferred datatype corresponds to the precision of the execution engine.

The preferred datatype is floating point 64 (E_MLLDT_FP64-LREAL).

When using a supported datatype, an efficient type conversion automatically takes place in the library. Slight losses of performance can occur due to the type conversion.

A list of the supported datatypes can be found in ETcMllDataType.