generated from khuyentran1401/cicd-mlops-demo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathreport.html
56 lines (49 loc) · 2.41 KB
/
report.html
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
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="refresh" content="5">
<title>DVC Plot</title>
<script src="https://cdn.jsdelivr.net/npm/[email protected]"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]"></script>
<style>
table {
border-spacing: 15px;
}
</style>
</head>
<body>
<div id="params_yaml" style="text-align: center; padding: 10x">
<p>params_yaml</p>
<div style="display: flex;justify-content: center;">
<table>
<thead>
<tr><th>Best hyperparameters </th></tr>
</thead>
<tbody>
<tr><td>{'svm__C': 1, 'svm__gamma': 0.1, 'svm__kernel': 'rbf'}</td></tr>
</tbody>
</table>
</div>
</div>
<div id="metrics_json" style="text-align: center; padding: 10x">
<p>metrics_json</p>
<div style="display: flex;justify-content: center;">
<table>
<thead>
<tr><th style="text-align: right;"> accuracy</th></tr>
</thead>
<tbody>
<tr><td style="text-align: right;"> 0.60625</td></tr>
</tbody>
</table>
</div>
</div>
<div id = "static_accuracy">
<script type = "text/javascript">
var spec = {"$schema": "https://vega.github.io/schema/vega-lite/v5.json", "data": {"values": [{"step": "0", "accuracy": "0.60625", "rev": "workspace"}]}, "title": "accuracy", "width": 300, "height": 300, "params": [{"name": "smooth", "value": 0.001, "bind": {"input": "range", "min": 0.001, "max": 1, "step": 0.001}}], "layer": [{"mark": "line", "encoding": {"x": {"field": "step", "type": "quantitative", "title": "step"}, "y": {"field": "accuracy", "type": "quantitative", "title": "accuracy", "scale": {"zero": false}}, "color": {"field": "rev", "type": "nominal"}}, "transform": [{"loess": "accuracy", "on": "step", "groupby": ["rev", "filename", "field", "filename::field"], "bandwidth": {"signal": "smooth"}}]}, {"mark": {"type": "point", "tooltip": {"content": "data"}}, "encoding": {"x": {"field": "step", "type": "quantitative", "title": "step"}, "y": {"field": "accuracy", "type": "quantitative", "title": "accuracy", "scale": {"zero": false}}, "color": {"field": "rev", "type": "nominal"}}}]};
vegaEmbed('#static_accuracy', spec);
</script>
</div>
</body>
</html>