-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
61 lines (59 loc) · 1.88 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
<html>
<head>
<link rel="stylesheet" type="text/css" href="styles.css" media="screen"/>
<title>decision tree</title>
</head>
<body onLoad="init()">
<div class="main">
<div class="upControls">
<div class="color-select" label="#33CCFF"> </div>
<div class="color-select" label="#009933"> </div>
<div class="color-select" label="#FF6600"> </div>
<div class="color-select" label="#FFC508"> </div>
<button id="clearBtn" class="clearBtn">clear</button>
</div>
<br/>
<div class="graph">
<div class="y-axis" style="height: 416px;">
<div>400</div>
<div>350</div>
<div>300</div>
<div>250</div>
<div>200</div>
<div>150</div>
<div>100</div>
<div>50</div>
<div>0</div>
</div>
<div class="canvas-wrapper" style="height: 416px;">
<canvas id="myCanvas" id="myCanvas" width="400" height="400"></canvas>
</div>
<div class="x-axis">
<div>0</div>
<div>50</div>
<div>100</div>
<div>150</div>
<div>200</div>
<div>250</div>
<div>300</div>
<div>350</div>
<div>400</div>
</div>
</div>
<div class="generateButtons">
<button id="xorGenBtn">XOR</button>
<button id="linearGenBtn">Linear</button>
<button id="insideGenBtn">Inside</button>
<button id="defaultGenBtn">Default</button>
</div>
<button id="next" class="clearBtn">Next</button>
<button id="nextGain" class="clearBtn">Next Gain</button>
<h1>Gains: </h1>
<h2 class="gain"></h2>
<br/>
<div class="tree" id="displayTree"></div>
</div>
<script type="text/javascript" src="decisionTree.js"></script>
<script type="text/javascript" src="script.js"></script>
</body>
</html>