-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathtadgan.json
173 lines (173 loc) · 6.34 KB
/
tadgan.json
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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
{
"primitives": [
"mlprimitives.custom.timeseries_preprocessing.time_segments_aggregate",
"sklearn.impute.SimpleImputer",
"sklearn.preprocessing.MinMaxScaler",
"mlprimitives.custom.timeseries_preprocessing.rolling_window_sequences",
"orion.primitives.timeseries_preprocessing.slice_array_by_dims",
"orion.primitives.tadgan.TadGAN",
"orion.primitives.tadgan.score_anomalies",
"orion.primitives.timeseries_anomalies.find_anomalies"
],
"init_params": {
"mlprimitives.custom.timeseries_preprocessing.time_segments_aggregate#1": {
"time_column": "timestamp",
"interval": 10,
"method": "mean"
},
"sklearn.preprocessing.MinMaxScaler#1": {
"feature_range": [
-1,
1
]
},
"mlprimitives.custom.timeseries_preprocessing.rolling_window_sequences#1": {
"target_column": 0,
"window_size": 100,
"target_size": 1
},
"orion.primitives.timeseries_preprocessing.slice_array_by_dims": {
"target_index": 0,
"axis": 2
},
"orion.primitives.tadgan.TadGAN#1": {
"epochs": 15,
"layers_encoder": [
{
"class": "tensorflow.keras.layers.Bidirectional",
"parameters": {
"layer": {
"class": "tensorflow.keras.layers.LSTM",
"parameters": {
"units": "lstm_units",
"return_sequences": true,
"activation": "tanh",
"recurrent_activation": "sigmoid",
"use_bias": true,
"recurrent_dropout": 0.0,
"unroll": false
}
}
}
},
{
"class": "tensorflow.keras.layers.Flatten",
"parameters": {}
},
{
"class": "tensorflow.keras.layers.Dense",
"parameters": {
"units": "dense_units"
}
},
{
"class": "tensorflow.keras.layers.Reshape",
"parameters": {
"target_shape": "encoder_reshape_shape"
}
}
],
"layers_generator": [
{
"class": "tensorflow.keras.layers.Flatten",
"parameters": {}
},
{
"class": "tensorflow.keras.layers.Dense",
"parameters": {
"units": "generator_reshape_dim"
}
},
{
"class": "tensorflow.keras.layers.Reshape",
"parameters": {
"target_shape": "generator_reshape_shape"
}
},
{
"class": "tensorflow.keras.layers.Bidirectional",
"parameters": {
"layer": {
"class": "tensorflow.keras.layers.LSTM",
"parameters": {
"units": 64,
"return_sequences": true,
"dropout": 0.2,
"activation": "tanh",
"recurrent_activation": "sigmoid",
"use_bias": true,
"recurrent_dropout": 0.0,
"unroll": false
}
},
"merge_mode": "concat"
}
},
{
"class": "tensorflow.keras.layers.UpSampling1D",
"parameters": {
"size": 2
}
},
{
"class": "tensorflow.keras.layers.Bidirectional",
"parameters": {
"layer": {
"class": "tensorflow.keras.layers.LSTM",
"parameters": {
"units": 64,
"return_sequences": true,
"dropout": 0.2,
"activation": "tanh",
"recurrent_activation": "sigmoid",
"use_bias": true,
"recurrent_dropout": 0.0,
"unroll": false
}
},
"merge_mode": "concat"
}
},
{
"class": "tensorflow.keras.layers.TimeDistributed",
"parameters": {
"layer": {
"class": "tensorflow.keras.layers.Dense",
"parameters": {
"units": 1
}
}
}
},
{
"class": "tensorflow.keras.layers.Activation",
"parameters": {
"activation": "tanh"
}
}
]
},
"orion.primitives.tadgan.score_anomalies#1": {
"rec_error_type": "dtw"
},
"orion.primitives.timeseries_anomalies.find_anomalies#1": {
"window_size_portion": 0.33,
"window_step_size_portion": 0.1,
"fixed_threshold": true
}
},
"input_names": {
"orion.primitives.timeseries_anomalies.find_anomalies#1": {
"index": "index"
}
},
"output_names": {
"orion.primitives.tadgan.TadGAN#1": {
"y": "y_hat"
},
"mlprimitives.custom.timeseries_preprocessing.rolling_window_sequences#1": {
"index": "X_index",
"target_index": "y_index"
}
}
}