mirror of
https://github.com/clearml/clearml-docs
synced 2025-02-01 06:56:56 +00:00
18 lines
827 B
Markdown
18 lines
827 B
Markdown
|
---
|
||
|
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)
|
||
|
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](../../../img/examples_sklearn_matplotlib_example_01.png)
|