mirror of
https://github.com/clearml/clearml
synced 2025-06-26 18:16:07 +00:00
Documentation examples
This commit is contained in:
@@ -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()
|
||||
|
||||
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user