Example edits (#158)

This commit is contained in:
pollfly
2022-01-13 09:42:36 +02:00
committed by GitHub
parent 15d28865c3
commit 5ea532ebd8
12 changed files with 98 additions and 132 deletions

View File

@@ -3,28 +3,25 @@ title: scikit-learn with Joblib
---
The [sklearn_joblib_example.py](https://github.com/allegroai/clearml/blob/master/examples/frameworks/scikit-learn/sklearn_joblib_example.py)
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 `scikit-learn joblib examplescikit-learn joblib example`, which is associated with the `examples` project.
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
`scikit-learn joblib examplescikit-learn joblib example`, which is associated with the `examples` project.
## Plots
**ClearML** automatically logs the scatter plot, which appears in the experiment's page in the **ClearML web UI**, under
**RESULTS** **>** **PLOTS**.
ClearML automatically logs the scatter plot, which appears in the [experiment's page](../../../webapp/webapp_exp_track_visual.md)
in the ClearML web UI, under **RESULTS** **>** **PLOTS**.
![image](../../../img/examples_sklearn_joblib_example_06.png)
## Artifacts
Model artifacts associated with the experiment appear in the info panel of the **EXPERIMENTS** tab and in the info panel
of the **MODELS** tab.
The experiment info panel shows model tracking, including the model name and design (in this case, no design was stored).
Models created by the experiment appear in the experiments **ARTIFACTS** tab.
![image](../../../img/examples_sklearn_joblib_example_01.png)
The model info panel contains the model details, including:
* Model URL
* Framework
* Snapshot locations.
Clicking on the model name takes you to the [models page](../../../webapp/webapp_model_viewing.md), where you can
view the models details and access the model.
![image](../../../img/examples_sklearn_joblib_example_02.png)