-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathapp.jl.html
55 lines (55 loc) · 1.48 KB
/
app.jl.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
<header class="st-header q-pa-sm">
<h1 class="st-header__title text-h3">My Iris Dashboard</h1>
</header>
<div class="row">
<div class="st-col col-12 col-sm st-module">
<p><b>Number of clusters</b></p>
<q-slider v-model="no_of_clusters" :label="isready"></q-slider>
</div>
<div class="st-col col-12 col-sm st-module">
<p><b>Number of iterations</b></p>
<q-slider v-model="no_of_iterations" :label="isready"></q-slider>
</div>
<div class="st-col col-12 col-sm st-module">
<p><b>X feature</b></p>
<q-select
:model-value="features"
v-model="xfeature"
:options="features"
></q-select>
</div>
<div class="st-col col-12 col-sm st-module">
<p><b>Y feature</b></p>
<q-select
:model-value="features"
:options="features"
v-model="yfeature"
></q-select>
</div>
</div>
<div class="row">
<div class="st-col col-12 col-sm st-module">
<p><b>Species clusters</b></p>
<plotly :data="irisplot"></plotly>
</div>
<div class="st-col col-12 col-sm st-module">
<p><b>k-means clusters</b></p>
<plotly :data="clusterplot"></plotly>
</div>
</div>
<div class="row">
<div class="st-col col-12 col-sm st-module">
<p><b>Iris data</b></p>
<q-table
flat
:pagination.sync="datatablepagination"
:columns="datatable.columns"
v-model="datatable"
row_key="groupindices"
:data="datatable.data"
dense
row-key="__id"
style="height: 350px"
></q-table>
</div>
</div>