Skip to content

Commit e0d5404

Browse files
committed
add gallery.html
1 parent 8ecdf42 commit e0d5404

File tree

4 files changed

+102
-2
lines changed

4 files changed

+102
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Natural language processing.
1818
* **Plot**
1919
Swing-based data visualization library.
2020

21-
SMILE is well documented and you can browse the [javadoc](http://haifengl.github.io/smile/doc/index.html) for more information. Tutorials are available on the project [wiki](http://github.com/haifengl/smile/wiki). A basic tutorial is also included at the bottom of this file.
21+
SMILE is well documented and please check out the [project website](http://haifengl.github.io/smile/) for more information. Tutorials are available on the project [wiki](http://github.com/haifengl/smile/wiki). A basic tutorial is also included at the bottom of this file.
2222

2323
To see SMILE in action, please download the [demo](http://haifengl.github.io/smile/smile-demo.jar) jar file and then run <tt>java -jar smile-demo.jar</tt>.
2424

@@ -30,7 +30,7 @@ You can use the libraries through Maven central repository by adding the followi
3030
<version>1.0.4</version>
3131
</dependency>
3232
```
33-
You can similarily replace artifactId smile-core with smile-math, smile-data, smile-graph, smile-interpolation, smile-nlp, or smile-plot for other modules.
33+
You can similarly replace artifactId smile-core with smile-math, smile-data, smile-graph, smile-interpolation, smile-nlp, or smile-plot for other modules.
3434

3535
SMILE implements the following major machine learning algorithms
3636

shell/src/universal/doc/css/custom.css

+5
Original file line numberDiff line numberDiff line change
@@ -303,4 +303,9 @@ code {
303303
display: block;
304304
font-size: 12px;
305305
margin-left: 26px;
306+
}
307+
308+
figure {
309+
text-align: center;
310+
margin: 10px auto; /* not needed unless you want centered */
306311
}

shell/src/universal/doc/gallery.html

+89
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
1+
<div class="col-md-12">
2+
<h1 class="title">SMILE Demo Gallery</h1>
3+
<table class="center">
4+
<tr>
5+
<td>
6+
<figure>
7+
<a href="gallery/smile-demo-kpca.png"><img src="gallery/smile-demo-kpca-small.png" alt="Kernel PCA" width="100%"></a>
8+
<figcaption><h2>Kernel PCA</h2></figcaption>
9+
</figure>
10+
</td>
11+
<td>
12+
<figure>
13+
<a href="gallery/smile-demo-isomap.png"><img src="gallery/smile-demo-isomap-small.png" alt="IsoMap" width="100%"></a>
14+
<figcaption><h2>IsoMap</h2></figcaption>
15+
</figure>
16+
</td>
17+
</tr>
18+
<tr>
19+
<td>
20+
<figure>
21+
<a href="gallery/smile-demo-mds.png"><img src="gallery/smile-demo-mds-small.png" alt="MDS" width="100%"></a>
22+
<figcaption><h2>Multi-Dimensional Scaling</h2></figcaption>
23+
</figure>
24+
</td>
25+
<td>
26+
<figure>
27+
<a href="gallery/smile-demo-som.png"><img src="gallery/smile-demo-som-small.png" alt="SOM" width="100%"></a>
28+
<figcaption><h2>SOM</h2></figcaption>
29+
</figure>
30+
</td>
31+
</tr>
32+
<tr>
33+
<td>
34+
<figure>
35+
<a href="gallery/smile-demo-ann.png"><img src="gallery/smile-demo-ann-small.png" alt="Neural Network" width="100%"></a>
36+
<figcaption><h2>Neural Network</h2></figcaption>
37+
</figure>
38+
</td>
39+
<td>
40+
<figure>
41+
<a href="gallery/smile-demo-svm.png"><img src="gallery/smile-demo-svm-small.png" alt="SVM" width="100%"></a>
42+
<figcaption><h2>SVM</h2></figcaption>
43+
</figure>
44+
</td>
45+
</tr>
46+
<tr>
47+
<td>
48+
<figure>
49+
<a href="gallery/smile-demo-agglomerative-clustering.png"><img src="gallery/smile-demo-agglomerative-clustering-small.png" alt="Agglomerative Clustering" width="100%"></a>
50+
<figcaption><h2>Agglomerative Clustering</h2></figcaption>
51+
</figure>
52+
</td>
53+
<td>
54+
<figure>
55+
<a href="gallery/smile-demo-xmeans.png"><img src="gallery/smile-demo-xmeans-small.png" alt="X-Means" width="100%"></a>
56+
<figcaption><h2>X-Means</h2></figcaption>
57+
</figure>
58+
</td>
59+
</tr>
60+
<tr>
61+
<td>
62+
<figure>
63+
<a href="gallery/smile-demo-dbscan.png"><img src="gallery/smile-demo-dbscan-small.png" alt="DBScan" width="100%"></a>
64+
<figcaption><h2>DBScan</h2></figcaption>
65+
</figure>
66+
</td>
67+
<td>
68+
<figure>
69+
<a href="gallery/smile-demo-neural-gas.png"><img src="gallery/smile-demo-neural-gas-small.png" alt="Neural Gas" width="100%"></a>
70+
<figcaption><h2>Neural Gas</h2></figcaption>
71+
</figure>
72+
</td>
73+
</tr>
74+
<tr>
75+
<td>
76+
<figure>
77+
<a href="gallery/smile-demo-wavelet.png"><img src="gallery/smile-demo-wavelet-small.png" alt="Wavelet" width="100%"></a>
78+
<figcaption><h2>Wavelet</h2></figcaption>
79+
</figure>
80+
</td>
81+
<td>
82+
<figure>
83+
<a href="gallery/smile-demo-mixture.png"><img src="gallery/smile-demo-mixture-small.png" alt="Mixture" width="100%"></a>
84+
<figcaption><h2>Exponential Family Mixture</h2></figcaption>
85+
</figure>
86+
</td>
87+
</tr>
88+
</table>
89+
</div>

shell/src/universal/doc/index.html

+6
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,11 @@
7272
event.preventDefault();
7373
$('#content').load('plot.html');
7474
});
75+
76+
$("#gallery").click(function(event){
77+
event.preventDefault();
78+
$('#content').load('gallery.html');
79+
});
7580
});
7681
</script>
7782
</head>
@@ -140,6 +145,7 @@
140145
<li><a href="https://github.com/haifengl/smile/issues">Issue Tracker</a></li>
141146
</ul>
142147
</li>
148+
<li><a id="gallery" href="#">Gallery</a></li>
143149
<li><a id="faq" href="#">FAQ</a></li>
144150
</ul>
145151
</div>

0 commit comments

Comments
 (0)