2021-05-13 23:48:51 +00:00
|
|
|
---
|
2023-11-05 08:30:37 +00:00
|
|
|
title: scikit-learn with Joblib
|
2021-05-13 23:48:51 +00:00
|
|
|
---
|
|
|
|
|
|
|
|
The [sklearn_joblib_example.py](https://github.com/allegroai/clearml/blob/master/examples/frameworks/scikit-learn/sklearn_joblib_example.py)
|
2022-01-13 07:42:36 +00:00
|
|
|
demonstrates the integration of ClearML into code that uses `scikit-learn` and `joblib` to store a model and model snapshots,
|
|
|
|
and `matplotlib` to create a scatter diagram. When the script runs, it creates an experiment named
|
2023-09-04 12:40:42 +00:00
|
|
|
`scikit-learn joblib example` in the `examples` project.
|
2021-05-13 23:48:51 +00:00
|
|
|
|
|
|
|
## Plots
|
|
|
|
|
2022-01-13 07:42:36 +00:00
|
|
|
ClearML automatically logs the scatter plot, which appears in the [experiment's page](../../../webapp/webapp_exp_track_visual.md)
|
2022-05-22 07:27:30 +00:00
|
|
|
in the ClearML web UI, under **PLOTS**.
|
2021-05-13 23:48:51 +00:00
|
|
|
|
|
|
|
![image](../../../img/examples_sklearn_joblib_example_06.png)
|
|
|
|
|
|
|
|
## Artifacts
|
|
|
|
|
2023-10-01 07:31:48 +00:00
|
|
|
Models created by the experiment appear in the experiment's **ARTIFACTS** tab.
|
2021-05-13 23:48:51 +00:00
|
|
|
|
|
|
|
![image](../../../img/examples_sklearn_joblib_example_01.png)
|
|
|
|
|
2023-10-01 07:31:48 +00:00
|
|
|
Clicking on the model name takes you to the [model's page](../../../webapp/webapp_model_viewing.md), where you can
|
|
|
|
view the model's details and access the model.
|
2022-01-13 07:42:36 +00:00
|
|
|
|
2021-05-13 23:48:51 +00:00
|
|
|
|
|
|
|
![image](../../../img/examples_sklearn_joblib_example_02.png)
|