Documentation examples

This commit is contained in:
allegroai
2020-12-24 00:30:32 +02:00
parent 7edc998824
commit a29a655a6e
50 changed files with 223 additions and 37 deletions

View File

@@ -9,9 +9,11 @@ from sklearn.model_selection import train_test_split
import numpy as np
import matplotlib.pyplot as plt
from clearml import Task
# Connecting ClearML with the current process,
# from here on everything is logged automatically
task = Task.init(project_name="examples", task_name="scikit-learn joblib example")
iris = datasets.load_iris()

View File

@@ -124,6 +124,8 @@ def plot_learning_curve(estimator, title, X, y, axes=None, ylim=None, cv=None, n
return plt
# Connecting ClearML with the current process,
# from here on everything is logged automatically
Task.init('examples', 'scikit-learn matplotlib example')
fig, fig_axes = plt.subplots(1, 3, figsize=(30, 10))