Skip to main content


The lightgbm_example script demonstrates the integration of ClearML into code that uses LightGBM.

The example script does the following:

  • Creates a dataset for LightGBM to train a model
  • Specifies configuration which are automatically captured by ClearML
  • Saves model which ClearML automatically captures
  • Creates an experiment named LightGBM, which is associated with the examples project.


The scalars logged in the experiment can be visualized in a plot, which appears in the ClearML web UI, in the experiment's page > RESULTS > SCALARS.

LightGBM scalars


ClearML automatically logs the configurations applied to LightGBM. They appear in CONFIGURATIONS > HYPER PARAMETERS > GENERAL.

LightGBM hyperparameters


Model artifacts associated with the experiment appear in the info panel of the EXPERIMENTS tab and in the info panel of the MODELS tab.

LightGBM model


All other console output appears in RESULTS > CONSOLE.

LightGBM console