-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsample.html
More file actions
80 lines (79 loc) · 2.37 KB
/
Copy pathsample.html
File metadata and controls
80 lines (79 loc) · 2.37 KB
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
<!DOCTYPE html>
<!--
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
-->
<html>
<head>
<title>Computing error measures for Time Series Forecasting</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="./libs/zepto/zepto.js"></script>
<script src="./ts-error-measures.js"></script>
<style>
.columns{
clear: both;
}
.column {
width: 15%;
float: left;
}
.final {
width: 40%;
}
.measures {
clear: both;
}
.warning {
color: red;
}
.tmse-measure {
display: inline;
}
textarea {
width: 10em;
height: 5em;
}
</style>
<script>
$(function () {
$("#calculate").click(function () {
TSEM.compare( $("#problem_name").val(), "desired", "yielded", "results");
});
}
);
</script>
</head>
<body>
<h1>Computing error measures for Time Series Forecasting</h1>
<div>
<h3>Problem description</h3>
<label for="problem_name">Problem name:</label>
<input type="text" value="" id="problem_name" size="50"/>
</div>
<div class="columns">
<h3>Data</h3>
<div class="column">
<h4>Desired values</h4>
<textarea id="desired"></textarea>
<p><span id="msgLeft"></span></p>
</div>
<div class="column">
<h4>Yielded values</h4>
<textarea id="yielded"></textarea>
<p><span id="msgRight"></span></p>
</div>
<div class="column">
<h4>Options</h4>
<button id="calculate">Calculate</button>
</div>
</div>
<div>
<div class="measures">
<h3>Error measures</h3>
<div id="results"></div>
</div>
</div>
</body>
</html>