-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
71 lines (65 loc) · 2.18 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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Árvore</title>
<link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="css/style.css">
</head>
<body>
<div class="container-fluid">
<div id="bloco">
<div class="row">
<div class="col-4">
<form>
<div class="form-group">
<label for="salario">Salário</label>
<input type="number" id="salario" placeholder="Salário" class="form-control" style="width: 70px;">
</div>
<div class="form-group">
<label for="idade">Idade</label>
<input class="form-control" type="number" id="idade" placeholder="Idade" style="width: 60px;">
</div>
<div class="form-group">
<label for="emprestimo">Empréstimo</label>
<input class="form-control" type="number" id="emprestimo" placeholder="Empréstimo" style="width: 100px;">
</div>
<button class="btn btn-primary" type="button" id="verificar">Testar</button>
</form>
</div>
</div>
<div id="testingItem"></div>
<br/>
<b>Prediciton:</b>
<div id="decisionTreePrediction"></div>
<br/>
<b>Random Forest:</b>
<div id="randomForestPrediction"></div>
<br/>
<b>Neural:</b>
<div id="neuralPrediction"></div>
</div>
<br/>
<b>DecisionTrees:</b>
<br/>
<div class="row">
<div class="col text-center">
<div class="tree" id="displayTree" ></div>
</div>
</div>
<div class="row">
<div class="col text-center" id="botoes">
<button class="btn btn-primary" id="prev">Árvore anterior</button>
<button class="btn btn-primary" id="next">Próxima árvore</button>
</div>
</div>
</div>
</body>
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/decision-tree.js"></script>
<script type="text/javascript" src="js/jquery.csv.min.js"></script>
<script type="text/javascript" src="js/browser.js"></script>
<script type="text/javascript" src="js/buildneural.js"></script>
<script type="text/javascript" src="js/buildforest.js"></script>
<script type="text/javascript" src="js/core.js"></script>
</html>