Skip to main content

XGBoost Metric Reporting

The example demonstrates the integration of ClearML into code that uses XGBoost to train a network on the scikit-learn iris classification dataset. ClearML automatically captures models and scalars logged with XGBoost.

When the script runs, it creates a ClearML experiment named xgboost metric auto reporting, which is associated with the examples project.


ClearML automatically captures scalars logged with XGBoost, which can be visualized in plots in the ClearML WebApp, in the experiment's SCALARS tab.



ClearML automatically captures the model logged using the method, and saves it as an artifact.

View saved snapshots in the experiment's ARTIFACTS tab.

Artifacts tab

To view the model details, click the model name in the ARTIFACTS page, which will open the model's info tab. Alternatively, download the model.

Model info panel


All console output during the script’s execution appears in the experiment’s CONSOLE page.

Console output