2021-08-22 12:24:50 +00:00
|
|
|
---
|
|
|
|
title: LightGBM
|
|
|
|
---
|
|
|
|
|
2025-02-13 11:21:35 +00:00
|
|
|
The [lightgbm_example](https://github.com/clearml/clearml/blob/master/examples/frameworks/lightgbm/lightgbm_example.py)
|
2021-08-22 12:24:50 +00:00
|
|
|
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
|
2025-02-06 15:31:11 +00:00
|
|
|
* Creates a task named `LightGBM` in the `examples` project.
|
2021-08-22 12:24:50 +00:00
|
|
|
|
|
|
|
## Scalars
|
|
|
|
|
2025-02-06 15:31:11 +00:00
|
|
|
The scalars logged in the task can be visualized in a plot, which appears in the ClearML web UI, in the task's **SCALARS** tab.
|
2021-08-22 12:24:50 +00:00
|
|
|
|
|
|
|

|
|
|
|
|
|
|
|
## Hyperparameters
|
|
|
|
|
2023-01-12 10:49:55 +00:00
|
|
|
ClearML automatically logs the configurations applied to LightGBM. They appear in **CONFIGURATIONS > HYPERPARAMETERS > GENERAL**.
|
2021-08-22 12:24:50 +00:00
|
|
|
|
|
|
|

|
|
|
|
|
|
|
|
## Artifacts
|
|
|
|
|
2025-02-06 15:31:11 +00:00
|
|
|
Models created by the task appear in the task's **ARTIFACTS** tab. ClearML automatically logs and tracks
|
2022-01-13 07:42:36 +00:00
|
|
|
models and any snapshots created using LightGBM.
|
2021-08-22 12:24:50 +00:00
|
|
|
|
|
|
|

|
|
|
|
|
|
|
|
## Console
|
|
|
|
|
2022-05-22 07:27:30 +00:00
|
|
|
All other console output appears in **CONSOLE**.
|
2021-08-22 12:24:50 +00:00
|
|
|
|
|
|
|

|
|
|
|
|
|
|
|
|