-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
33 lines (33 loc) · 1.25 KB
/
index.html
File metadata and controls
33 lines (33 loc) · 1.25 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.5.6/p5.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.5.6/addons/p5.dom.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@tensorflow/tfjs@0.11.7"></script>
<script src="sketch.js"></script>
<style>
p { word-wrap: break-word; }
</style>
</head>
<body style="font-family: Inconsolata; font-weight: 20; background-color: rgb(100, 100, 100);">
<center>
<h1>Tensorflow.js Regression Demo</h1>
Select the type of Regression function:
<select id="polynomialType">
<option value="Linear">Linear</option>
<option value="Binomial">Binomial</option>
<option value="Trinomial">Trinomial</option>
</select>
type of Learning:
<select id="learningType">
<option value="SGD">SGD</option>
<option value="Adam">ADAM</option>
</select>
<button type="button" onclick="changeCanvas()">Go</button><br><br>
<div id="p5Canvas" style="width: windowWidth; height: 690px;"></div>
<p style="color: papayawhip">Tap or Hold on the Canvas to draw...</p>
<footer>© Copyright 2018 N.CHANDRA KANTH</footer>
</center>
</body>
</html>