The xgboost_sample.py example demonstrates integrating ClearML into code that trains a network on the scikit-learn iris classification dataset, using XGBoost to do the following:

and scikit-learn to score accuracy (sklearn.metrics.accuracy_score).

ClearML automatically logs input model, output model, model checkpoints (snapshots), feature importance plot, tree plot, and output to console.

When the script runs, it creates an experiment named XGBoost simple example, which is associated with the examples project.


The feature importance plot and tree plot appear RESULTS > PLOTS.



All other console output appears in RESULTS > LOG.



Model artifacts associated with the experiment appear in the experiment info panel (in the EXPERIMENTS tab), and in the model info panel (in the MODELS tab).

The experiment info panel shows model tracking, including the model name and design (in this case, no design was stored).


The model info panel contains the model details, including the model design (which is also in the experiment info panel), the label enumeration, model URL, and framework.