-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
127 lines (100 loc) · 4.02 KB
/
index.html
File metadata and controls
127 lines (100 loc) · 4.02 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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="author" content="lotusfa">
<meta name="keywords" content="error correction procedure,erro Procedure, machine learning, AI">
<link rel="icon" href="https://res.cloudinary.com/dcmnwc3ux/image/upload/v1493918347/%E8%9E%A2%E5%B9%95%E5%BF%AB%E7%85%A7_2017-05-05_%E4%B8%8A%E5%8D%881.09.00_fnw5k9.png">
<title>Error Correction Procedure</title>
<!-- Bootstrap core CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta.2/css/bootstrap.min.css" integrity="sha384-PsH8R72JQ3SOdhVi3uxftmaW6Vc51MKb0q5P2rRUpPvrszuE4W1povHYgTpBfshb" crossorigin="anonymous">
<!-- Custom styles for this template -->
<link href="https://v4-alpha.getbootstrap.com/examples/sticky-footer/sticky-footer.css" rel="stylesheet">
</head>
<body>
<!-- Begin page content -->
<div class="container">
<div id="initiator" >
<h1>Error Correction Procedure</h1>
<div class="form-group">
<label for="learning_rate">Learning Rate:</label>
<input type="text" class="form-control" id="learning_rate">
</div>
<div class="form-group">
<label for="learning_rate">Init Weight:</label>
<input type="text" class="form-control" id="init_weight">
</div>
<div class="form-group">
<label for="comment">Test Case:</label>
<textarea class="form-control" rows="5" id="test_case" onchange="update_init_weight();"></textarea>
</div>
<button type="button" class="btn btn-primary active" onclick="run_simulation();">Run Simulation</button>
</div>
<div id="simulator" style="font-size: 10px;" >
<h3 id="final_result"></h3>
<table class="table">
<thead>
<tr>
<th scope="col">Wight</th>
<th scope="col">Learning Rate</th>
<th scope="col">Score</th>
<th scope="col">#Generation</th>
<th scope="col">
<button type="button" class="btn btn-primary active btn-sm" onclick="stop_simulation();">Back</button>
</th>
</tr>
</thead>
<tbody>
<tr>
<td id="w_tag">
0,0,0,0
</td>
<td id="l_tag">
0.2
</td>
<td id="s_tag">
0
</td>
<td id="g_tag">
0
</td>
<td>
<button type="button" class="btn btn-primary active btn-sm" onclick="train(0);">Train</button>
</td>
</tr>
</tbody>
</table>
<table class="table">
<thead>
<tr>
<th scope="col">ID</th>
<th scope="col">Data (D)</th>
<th scope="col">Old Weight (W)</th>
<th scope="col">Σ(D*W)</th>
<th scope="col">(Predict==Actual)? | Error</th>
<th scope="col">New Weight (W')</th>
</tr>
</thead>
<tbody id="result">
</tbody>
</table>
</div>
</div>
<footer class="footer">
<div class="container">
<span class="text-muted">Power By: LOTUS FA, <a href="https://lotusfa.com/">lotusfa.com</a></span>
</div>
</footer>
<script src="./main.js"></script>
<!--Google Analysis -->
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-80492067-1', 'auto');
ga('send', 'pageview');
</script>
</body>
</html>