2021-05-13 23:48:51 +00:00
|
|
|
---
|
|
|
|
title: scikit-learn with Matplotlib
|
|
|
|
---
|
|
|
|
|
|
|
|
The [sklearn_matplotlib_example.py](https://github.com/allegroai/clearml/blob/master/examples/frameworks/scikit-learn/sklearn_matplotlib_example.py)
|
2022-01-30 10:54:40 +00:00
|
|
|
script demonstrates the integration of ClearML into code that uses `scikit-learn` and `matplotlib`.
|
2021-05-13 23:48:51 +00:00
|
|
|
|
|
|
|
The example does the following:
|
|
|
|
* Uses `scikit-learn` to determine cross-validated training and test scores.
|
|
|
|
* Uses `matplotlib` to plot the learning curves.
|
2022-01-30 10:54:40 +00:00
|
|
|
* ClearML automatically logs the scatter diagrams for the learning curves.
|
|
|
|
* Creates an experiment named `scikit-learn matplotlib example` in the `examples` project.
|
2021-05-13 23:48:51 +00:00
|
|
|
|
|
|
|
## Plots
|
|
|
|
|
|
|
|
The learning curve plots appear in the **ClearML web UI** under **RESULTS** **>** **PLOTS**.
|
|
|
|
|
|
|
|
![image](../../../img/examples_sklearn_matplotlib_example_01.png)
|