This repository has been archived by the owner on Sep 4, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
129 lines (120 loc) · 4.14 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
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
128
129
<!DOCTYPE html>
<html lang="en">
<head>
<title>ml-es6-modules</title>
<link rel="stylesheet" type="text/css" href="src/css/style.css" />
<script
defer
async
type="text/javascript"
src="./dist/index.bundle.js"
></script>
</head>
<body class="center">
<header class="coral">
<h1>Machine Learning as ES6 Modules</h1>
</header>
<button id="go">
Go
</button>
<div id="datasets">
<h4>Datasets</h4>
<button class="datasets" id="random">Random</button>
<button class="datasets" id="circle">Circle</button>
<button class="datasets" id="multi-circle">Multi Circle</button>
<button class="datasets" id="gaussian">Gaussian</button>
<button class="datasets" id="exclusive">Exclusive</button>
<button class="datasets" id="spiral">Spiral</button>
<button class="datasets" id="stripes-v">Stripes V</button>
<button class="datasets" id="stripes-h">Stripes H</button>
</div>
<div class="box">
<button class="execute">Execute</button>
<p>SVM linear</p>
<div class="drawer">
<canvas id="svm-linear-canvas" width="400px" height="400px"></canvas>
</div>
<div class="options" id="svm-linear-options">
<div class="algorithm" id="svm-linear-options-algorithm"></div>
<div class="draw" id="svm-linear-options-draw"></div>
</div>
</div>
<div class="box">
<button class="execute">Execute</button>
<p>SVM poly</p>
<div class="drawer">
<canvas id="svm-poly-canvas" width="400px" height="400px"></canvas>
</div>
<div class="options" id="svm-poly-options">
<div class="algorithm" id="svm-poly-options-algorithm"></div>
<div class="draw" id="svm-poly-options-draw"></div>
</div>
</div>
<div class="box">
<button class="execute">Execute</button>
<p>SVM rbf</p>
<div class="drawer">
<canvas id="svm-rbf-canvas" width="400px" height="400px"></canvas>
</div>
<div class="options" id="svm-rbf-options">
<div class="algorithm" id="svm-rbf-options-algorithm"></div>
<div class="draw" id="svm-rbf-options-draw"></div>
</div>
</div>
<div class="box">
<button class="execute">Execute</button>
<p>KNN</p>
<div class="drawer">
<canvas id="knn-canvas" width="400px" height="400px"></canvas>
</div>
<div class="options" id="knn-options">
<div class="algorithm" id="knn-options-algorithm"></div>
<div class="draw" id="knn-options-draw"></div>
</div>
</div>
<div class="box">
<button class="execute">Execute</button>
<p>RBF</p>
<div class="drawer">
<canvas id="rbf-canvas" width="400px" height="400px"></canvas>
</div>
<div class="options" id="rbf-options">
<div class="algorithm" id="rbf-options-algorithm"></div>
<div class="draw" id="rbf-options-draw"></div>
</div>
</div>
<div class="box">
<button class="execute">Execute</button>
<p>Random Forest</p>
<div class="drawer">
<canvas id="randf-canvas" width="400px" height="400px"></canvas>
</div>
<div class="options" id="randf-options">
<div class="algorithm" id="randf-options-algorithm"></div>
<div class="draw" id="randf-options-draw"></div>
</div>
</div>
<div class="box">
<button class="execute">Execute</button>
<p>Logistic Regression</p>
<div class="drawer">
<canvas id="logreg-canvas" width="400px" height="400px"></canvas>
</div>
<div class="options" id="logreg-options">
<div class="algorithm" id="logreg-options-algorithm"></div>
<div class="draw" id="logreg-options-draw"></div>
</div>
</div>
<div class="box">
<button class="execute">Execute</button>
<p>Neural Network</p>
<div class="drawer">
<canvas id="nn-canvas" width="400px" height="400px"></canvas>
</div>
<div class="options" id="nn-options">
<div class="algorithm" id="nn-options-algorithm"></div>
<div class="draw" id="nn-options-draw"></div>
</div>
</div>
</body>
</html>