Skip to main content

scikit-learn with Matplotlib

The sklearn_matplotlib_example.py script demonstrates the integration of ClearML into code that uses scikit-learn and matplotlib.

The example does the following:

  • Uses scikit-learn to determine cross-validated training and test scores.
  • Uses matplotlib to plot the learning curves.
  • Through ClearML, automatically logs the scatter diagrams for the learning curves.
  • Creates an experiment named scikit-learn matplotlib example which is associated with the examples project.

Plots#

The learning curve plots appear in the ClearML web UI under RESULTS > PLOTS.

image