-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathindex.html
98 lines (86 loc) · 4.38 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>ai-js,</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="">
<meta name="author" content="">
<!-- Le styles -->
<link href="assets/css/bootstrap.css" rel="stylesheet">
<style>
body {
padding-top: 60px; /* 60px to make the container go all the way to the bottom of the topbar */
}
</style>
<link href="assets/css/bootstrap-responsive.css" rel="stylesheet">
<link href="assets/css/main.css" rel="stylesheet">
<!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<!-- Le fav and touch icons -->
<link rel="shortcut icon" href="../assets/ico/favicon.ico">
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="../assets/ico/apple-touch-icon-114-precomposed.png">
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="../assets/ico/apple-touch-icon-72-precomposed.png">
<link rel="apple-touch-icon-precomposed" href="../assets/ico/apple-touch-icon-57-precomposed.png">
</head>
<body>
<div class="navbar navbar-fixed-top">
<div class="navbar-inner">
<div class="container">
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</a>
<a class="brand" href="#">le-ai-js</a>
<div class="nav-collapse">
<ul class="nav">
<li class="active"><a href="#">Home</a></li>
<!--
<li><a href="#algorithms">Algorithms</a></li>
<li><a href="#visualizations">Visualizations</a></li>
<li><a href="#downloads">Downloads</a></li>
<li><a href="#about">About</a></li>
-->
</ul>
</div><!--/.nav-collapse -->
</div>
</div>
</div>
<div class="container">
<h1>le-ai-js - The Learning/Educational AI library</h1>
<p>ai-js aspires to be a full-featured Artificial Intelligence library, written purely in javascript.</p>
<div class="row">
<div class="span7">
<canvas id="myCanvas" width='600px' height='400px' style="background:#F3F3F5" ></canvas>
<p><a href="#" class="btn btn-success" id='run-btn'>Run K-means</a> iterations: <span id='info'></span> </p>
</div>
<div class="span4">
<h3>K-means</h3>
<p>K-means is an heuristic algorithm for unsupervised learning, which aims to partition n observations into k clusters in which each observation belongs to the cluster with the nearest mean. This results into a partitioning of the data space into Voronoi cells.</p>
<h3>Visualization</h3>
<p>In the visualization to the left, a dataset of 300 points is assigned three cluster centroids. When you press the button
'Start' the k-means algorithm will try to find three clusters of points and move the centroids to the center of the corresponding cluster.</p>
</div>
</div>
<footer class="footer">
<p class="pull-right"><a href="#">Back to top</a></p>
<p>Using the <a href="http://twitter.github.com/bootstrap/" target="_blank"> bootstrap</a> template.</p>
<p>Created by Vassilis Triglianos and Vassilis Papapanagiotou - <a href="http://www.ceid.upatras.gr/" target="_blank">Computer Engineering and Informatics Department</a>, University of Patras</p>
</footer>
</div> <!-- /container -->
<!-- Le javascript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
<script src="assets/js/bootstrap.min.js"></script>
<script type="text/javascript" src="src/visualizations/lib/paper.js"></script>
<script type="text/javascript" src="src/visualizations/js/kmeans-data.js" ></script>
<script type="text/javascript" src="src/kmeans/kmeans-instrumented.js" ></script>
<script type="text/paperscript" src="src/visualizations/js/kmeans-vis.js" canvas="myCanvas"></script>
<script type="text/javascript">
</script>
</body>
</html>