-
Notifications
You must be signed in to change notification settings - Fork 2
/
plots_dict.dvc.yaml
59 lines (58 loc) · 1.35 KB
/
plots_dict.dvc.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
plots:
test_vs_train_confusion:
x: actual_class
y:
train_classes.csv: predicted_class
test_classes.csv: [predicted_class, predicted_class2]
title: Compare test vs train confusion matrix
template: confusion
x_label: Actual class
y_label: Predicted class
evaluation/test/plots/confusion_matrix.json: # Configure template and axes.
template: confusion
x: actual
y: predicted
logs.csv:
x: actual
y: [predicted_class, predicted_class2]
ROC: # Combine multiple data sources.
x: fpr
y:
evaluation/train/plots/roc.json: tpr
evaluation/test/plots/roc.json: tpr
confusion: # x dict
x:
dir/actual.csv: actual
y:
dir/preds.csv: predicted
template: confusion
roc_vs_prc: # multiple x values
x:
precision_recall.json: recall
roc.json: fpr
y:
precision_recall.json: precision
roc.json: tpr
evaluation/importance.png: # Plot an image.
stages:
stage_one:
cmd: python train.py input plots
deps:
- input
plots:
- plot1
- plot2:
cache: true
- plot3:
persist: true
- plot4:
persist: false
x: "2"
- plot5:
cache: false
y: epoch
y_label: Epochs
title: test run
template: confusion
x: auc
x_label: AUC