-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
81 lines (78 loc) · 2.12 KB
/
index.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
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
<!doctype html>
<html>
<head>
<title>flower Training Accuracy</title>
</head>
<body>
<h3 id="waiting-msg">Waiting for server...</h3>
<p>
<span style="font-size:16px" id="trainingStatus"></span>
<p>
<div id="predictContainer" style="font-size:16px;display:none">
flower data: <span id="predictSample"></span>
<button style="font-size:18px;padding:5px;margin-right:10px" id="predict-button">Predict flower</button><p>
Predicted flower Type: <span style="font-weight:bold" id="predictResult"></span>
</div>
<div id="userPredictContainer" style="font-size:16px;display:none">
user flower data: <span id="userPredictSample"></span>
<button style="font-size:18px;padding:5px;margin-right:10px;color:green;" id="user-predict-button">Predict user flower</button><p>
user Predicted flower Type: <span style="font-weight:bold" id="userPredictResult"></span>
</div>
<div id="sliderInputStuff" />
<div>
<div id="d3_flower_stuff" />
<table border="2">
<tbody>
<thead>
<tr>
<th colspan="2">USER INPUT FLOWER</th>
</tr>
</thead>
<tr>
<td>
SEPAL LENGTH
</td>
<td id="SEPAL_LENGTH_Input">
n/a
</td>
</tr>
<tr>
<td>
SEPAL WIDTH
</td>
<td id="SEPAL_WIDTH_Input">
n/a
</td>
</tr>
<tr>
<td>
PETAL LENGTH
</td>
<td id="PETAL_LENGTH_Input">
n/a
</td>
</tr>
<tr>
<td>
PETAL WIDTH
</td>
<td id="PETAL_WIDTH_Input">
n/a
</td>
</tr>
</tbody>
</table>
</div>
<script src="dist/bundle.js"></script>
<style>
html,
body {
font-family: Roboto, sans-serif;
color: #5f6368;
}
body {
background-color: rgb(248, 249, 250);
}
</style>
</body>
</html>