-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathclusters.py
115 lines (110 loc) · 3.67 KB
/
clusters.py
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
import dash_html_components as html
from cluster_layout import *
from dim_rduction_layout import *
from img_layout import *
from normalize_layout import *
def ts_sample_kmeans():
return html.Div(id='ts-sample-kmeans', children=[
html.Div(id='hidden-ts-sample-kmeans', style={'display':'none'}),
timeseries_resampler_layout(),
kmeans_layout()
])
def ts_sample_hierarchy():
return html.Div(id='ts-sample-hierarchy', children=[
html.Div(id='hidden-ts-sample-hierarchy', style={'display':'none'}),
timeseries_resampler_layout(),
hierarchy_layout()
])
def ts_sample_dbscan():
return html.Div(id='ts-sample-dbscan', children=[
html.Div(id='hidden-ts-sample-dbscan', style={'display':'none'}),
timeseries_resampler_layout(),
dbscan_layout()
])
def ts_sample_ts_kmeans():
return html.Div(id='ts-sample-kmeans', children=[
html.Div(id='hidden-ts-sample-ts-kmeans', style={'display':'none'}),
timeseries_resampler_layout(),
time_sereies_kmeans_layout()
])
def rp_ae_kmeans():
return html.Div(id='rp-ae-kmeans', children=[
html.Div(id='hidden-rp-ae-kmeans', style={'display':'none'}),
rp_layout(),
autoencoder_layout(),
kmeans_layout(),
])
def rp_ae_hierarchy():
return html.Div(id='rp-ae-hierarchy', children=[
html.Div(id='hidden-rp-ae-hierarchy', style={'display':'none'}),
rp_layout(),
autoencoder_layout(),
hierarchy_layout()
])
def rp_ae_dbscan():
return html.Div(id='rp-ae-dbscan', children=[
html.Div(id='hidden-rp-ae-dbscan', style={'display':'none'}),
rp_layout(),
autoencoder_layout(),
dbscan_layout()
])
def gaf_ae_kmeans():
return html.Div(id='gaf-ae-kmeans', children=[
html.Div(id='hidden-gaf-ae-kmeans', style={'display':'none'}),
gaf_layout(),
autoencoder_layout(),
kmeans_layout(),
])
def gaf_ae_hierarchy():
return html.Div(id='gaf-ae-hierarchy', children=[
html.Div(id='hidden-gaf-ae-hierarchy', style={'display':'none'}),
gaf_layout(),
autoencoder_layout(),
hierarchy_layout()
])
def gaf_ae_dbscan():
return html.Div(id='gaf-ae-dbscan', children=[
html.Div(id='hidden-gaf-ae-dbscan', style={'display':'none'}),
gaf_layout(),
autoencoder_layout(),
dbscan_layout()
])
def mtf_ae_kmeans():
return html.Div(id='mtf-ae-kmeans', children=[
html.Div(id='hidden-mtf-ae-kmeans', style={'display':'none'}),
mtf_layout(),
autoencoder_layout(),
kmeans_layout(),
])
def mtf_ae_hierarchy():
return html.Div(id='mtf-ae-hierarchy', children=[
html.Div(id='hidden-mtf-ae-hierarchy', style={'display':'none'}),
mtf_layout(),
autoencoder_layout(),
hierarchy_layout()
])
def mtf_ae_dbscan():
return html.Div(id='mtf-ae-dbscan', children=[
html.Div(id='hidden-mtf-ae-dbscan', style={'display':'none'}),
mtf_layout(),
autoencoder_layout(),
dbscan_layout()
])
def wavelet_kmeans():
return html.Div(id='wavelet-kmeans', children=[
html.Div(id='hidden-wavelet-kmeans', style={'display':'none'}),
wavelet_layout(),
kmeans_layout()
])
def wavelet_hierarchy():
return html.Div(id='wavelet-hierarchy', children=[
html.Div(id='hidden-wavelet-hierarchy', style={'display':'none'}),
wavelet_layout(),
hierarchy_layout()
])
def wavelet_dbscan():
return html.Div(id='wavelet-dbscan', children=[
html.Div(id='hidden-wavelet-dbscan', style={'display':'none'}),
wavelet_layout(),
dbscan_layout()
])