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
12 |
+
"KMID",
|
13 |
+
"KLEN",
|
14 |
+
"KMID2",
|
15 |
+
"KUP2",
|
16 |
+
"KLOW2",
|
17 |
+
"KSFT",
|
18 |
+
"KSFT2",
|
19 |
+
"OPEN0",
|
20 |
+
"HIGH0",
|
21 |
+
"LOW0",
|
22 |
+
"ROC5",
|
23 |
+
"ROC10",
|
24 |
+
"ROC20",
|
25 |
+
"ROC30",
|
26 |
+
"ROC60",
|
27 |
+
"MA10",
|
28 |
+
"MA20",
|
29 |
+
"MA30",
|
30 |
+
"STD5",
|
31 |
+
"STD10",
|
32 |
+
"STD20",
|
33 |
+
"STD30",
|
34 |
+
"STD60",
|
35 |
+
"BETA5",
|
36 |
+
"BETA10",
|
37 |
+
"BETA20",
|
38 |
+
"BETA30",
|
39 |
+
"BETA60",
|
40 |
+
"RSQR5",
|
41 |
+
"RSQR10",
|
42 |
+
"RSQR20",
|
43 |
+
"RSQR30",
|
44 |
+
"RSQR60",
|
45 |
+
"RESI5",
|
46 |
+
"RESI10",
|
47 |
+
"RESI20",
|
48 |
+
"RESI30",
|
49 |
+
"MAX5",
|
50 |
+
"MAX20",
|
51 |
+
"MAX30",
|
52 |
+
"MAX60",
|
53 |
+
"MIN10",
|
54 |
+
"MIN20",
|
55 |
+
"MIN30",
|
56 |
+
"MIN60",
|
57 |
+
"QTLU5",
|
58 |
+
"QTLU10",
|
59 |
+
"QTLU20",
|
60 |
+
"QTLU30",
|
61 |
+
"QTLU60",
|
62 |
+
"QTLD5",
|
63 |
+
"QTLD10",
|
64 |
+
"QTLD20",
|
65 |
+
"QTLD30",
|
66 |
+
"QTLD60",
|
67 |
+
"RANK5",
|
68 |
+
"RANK10",
|
69 |
+
"RANK20",
|
70 |
+
"RANK30",
|
71 |
+
"RANK60",
|
72 |
+
"RSV5",
|
73 |
+
"RSV10",
|
74 |
+
"RSV20",
|
75 |
+
"RSV30",
|
76 |
+
"RSV60",
|
77 |
+
"IMAX5",
|
78 |
+
"IMAX10",
|
79 |
+
"IMAX20",
|
80 |
+
"IMAX30",
|
81 |
+
"IMAX60",
|
82 |
+
"IMIN5",
|
83 |
+
"IMIN10",
|
84 |
+
"IMIN20",
|
85 |
+
"IMIN30",
|
86 |
+
"IMIN60",
|
87 |
+
"IMXD5",
|
88 |
+
"IMXD10",
|
89 |
+
"IMXD20",
|
90 |
+
"IMXD30",
|
91 |
+
"IMXD60",
|
92 |
+
"CORR5",
|
93 |
+
"CORR10",
|
94 |
+
"CORR20",
|
95 |
+
"CORR30",
|
96 |
+
"CORR60",
|
97 |
+
"CORD5",
|
98 |
+
"CORD10",
|
99 |
+
"CORD20",
|
100 |
+
"CORD30",
|
101 |
+
"CORD60",
|
102 |
+
"CNTP5",
|
103 |
+
"CNTP10",
|
104 |
+
"CNTP20",
|
105 |
+
"CNTP30",
|
106 |
+
"CNTP60",
|
107 |
+
"CNTN5",
|
108 |
+
"CNTN10",
|
109 |
+
"CNTN20",
|
110 |
+
"CNTN30",
|
111 |
+
"CNTN60",
|
112 |
+
"CNTD5",
|
113 |
+
"CNTD10",
|
114 |
+
"CNTD30",
|
115 |
+
"CNTD60",
|
116 |
+
"SUMP5",
|
117 |
+
"SUMP10",
|
118 |
+
"SUMP20",
|
119 |
+
"SUMP30",
|
120 |
+
"SUMP60",
|
121 |
+
"SUMN5",
|
122 |
+
"SUMN10",
|
123 |
+
"SUMN30",
|
124 |
+
"SUMN60",
|
125 |
+
"SUMD5",
|
126 |
+
"SUMD10",
|
127 |
+
"SUMD20",
|
128 |
+
"SUMD30",
|
129 |
+
"SUMD60",
|
130 |
+
"WVMA10",
|
131 |
+
"WVMA20",
|
132 |
+
"WVMA60",
|
133 |
+
"VSUMP5",
|
134 |
+
"VSUMP10",
|
135 |
+
"VSUMP20",
|
136 |
+
"VSUMP30",
|
137 |
+
"VSUMP60",
|
138 |
+
"VSUMN5",
|
139 |
+
"VSUMN10",
|
140 |
+
"VSUMN20",
|
141 |
+
"VSUMN30",
|
142 |
+
"VSUMN60",
|
143 |
+
"VSUMD5",
|
144 |
+
"VSUMD10",
|
145 |
+
"VSUMD20",
|
146 |
+
"VSUMD30",
|
147 |
+
"VSUMD60",
|
148 |
+
"KMIDinday",
|
149 |
+
"KLENinday",
|
150 |
+
"KMID2inday",
|
151 |
+
"KUPinday",
|
152 |
+
"KUP2inday",
|
153 |
+
"KLOWinday",
|
154 |
+
"KLOW2inday",
|
155 |
+
"KSFTinday",
|
156 |
+
"KSFT2inday",
|
157 |
+
"OPEN0inday",
|
158 |
+
"HIGH0inday",
|
159 |
+
"LOW0inday",
|
160 |
+
"ROC5inday",
|
161 |
+
"ROC10inday",
|
162 |
+
"ROC20inday",
|
163 |
+
"ROC30inday",
|
164 |
+
"ROC60inday",
|
165 |
+
"MA5inday",
|
166 |
+
"MA10inday",
|
167 |
+
"MA20inday",
|
168 |
+
"MA30inday",
|
169 |
+
"MA60inday",
|
170 |
+
"STD5inday",
|
171 |
+
"STD20inday",
|
172 |
+
"STD30inday",
|
173 |
+
"STD60inday",
|
174 |
+
"BETA10inday",
|
175 |
+
"BETA20inday",
|
176 |
+
"BETA30inday",
|
177 |
+
"BETA60inday",
|
178 |
+
"RSQR5inday",
|
179 |
+
"RSQR10inday",
|
180 |
+
"RSQR20inday",
|
181 |
+
"RSQR30inday",
|
182 |
+
"RSQR60inday",
|
183 |
+
"RESI5inday",
|
184 |
+
"RESI10inday",
|
185 |
+
"RESI20inday",
|
186 |
+
"RESI30inday",
|
187 |
+
"RESI60inday",
|
188 |
+
"MAX5inday",
|
189 |
+
"MAX10inday",
|
190 |
+
"MAX20inday",
|
191 |
+
"MAX30inday",
|
192 |
+
"MAX60inday",
|
193 |
+
"MIN10inday",
|
194 |
+
"MIN20inday",
|
195 |
+
"MIN30inday",
|
196 |
+
"MIN60inday",
|
197 |
+
"QTLU5inday",
|
198 |
+
"QTLU10inday",
|
199 |
+
"QTLU20inday",
|
200 |
+
"QTLU30inday",
|
201 |
+
"QTLU60inday",
|
202 |
+
"QTLD5inday",
|
203 |
+
"QTLD10inday",
|
204 |
+
"QTLD20inday",
|
205 |
+
"QTLD60inday",
|
206 |
+
"RANK5inday",
|
207 |
+
"RANK10inday",
|
208 |
+
"RANK20inday",
|
209 |
+
"RANK30inday",
|
210 |
+
"RANK60inday",
|
211 |
+
"RSV5inday",
|
212 |
+
"RSV10inday",
|
213 |
+
"RSV30inday",
|
214 |
+
"IMAX5inday",
|
215 |
+
"IMAX10inday",
|
216 |
+
"IMAX20inday",
|
217 |
+
"IMAX30inday",
|
218 |
+
"IMAX60inday",
|
219 |
+
"IMIN5inday",
|
220 |
+
"IMIN10inday",
|
221 |
+
"IMIN20inday",
|
222 |
+
"IMIN30inday",
|
223 |
+
"IMIN60inday",
|
224 |
+
"IMXD5inday",
|
225 |
+
"IMXD10inday",
|
226 |
+
"IMXD20inday",
|
227 |
+
"IMXD30inday",
|
228 |
+
"IMXD60inday",
|
229 |
+
"CORR5inday",
|
230 |
+
"CORR10inday",
|
231 |
+
"CORR20inday",
|
232 |
+
"CORR30inday",
|
233 |
+
"CORR60inday",
|
234 |
+
"CORD5inday",
|
235 |
+
"CORD10inday",
|
236 |
+
"CORD20inday",
|
237 |
+
"CORD30inday",
|
238 |
+
"CNTP5inday",
|
239 |
+
"CNTP10inday",
|
240 |
+
"CNTP20inday",
|
241 |
+
"CNTP30inday",
|
242 |
+
"CNTP60inday",
|
243 |
+
"CNTN5inday",
|
244 |
+
"CNTN10inday",
|
245 |
+
"CNTN20inday",
|
246 |
+
"CNTN30inday",
|
247 |
+
"CNTN60inday",
|
248 |
+
"CNTD5inday",
|
249 |
+
"CNTD10inday",
|
250 |
+
"CNTD30inday",
|
251 |
+
"CNTD60inday",
|
252 |
+
"SUMP10inday",
|
253 |
+
"SUMP20inday",
|
254 |
+
"SUMP30inday",
|
255 |
+
"SUMP60inday",
|
256 |
+
"SUMN5inday",
|
257 |
+
"SUMN10inday",
|
258 |
+
"SUMN20inday",
|
259 |
+
"SUMN30inday",
|
260 |
+
"SUMN60inday",
|
261 |
+
"SUMD5inday",
|
262 |
+
"SUMD10inday",
|
263 |
+
"SUMD20inday",
|
264 |
+
"SUMD30inday",
|
265 |
+
"SUMD60inday",
|
266 |
+
"VMA5inday",
|
267 |
+
"VMA10inday",
|
268 |
+
"VMA20inday",
|
269 |
+
"VMA30inday",
|
270 |
+
"VMA60inday",
|
271 |
+
"VSTD5inday",
|
272 |
+
"VSTD10inday",
|
273 |
+
"VSTD20inday",
|
274 |
+
"VSTD30inday",
|
275 |
+
"VSTD60inday",
|
276 |
+
"WVMA5inday",
|
277 |
+
"WVMA10inday",
|
278 |
+
"WVMA20inday",
|
279 |
+
"WVMA30inday",
|
280 |
+
"WVMA60inday",
|
281 |
+
"VSUMP5inday",
|
282 |
+
"VSUMP10inday",
|
283 |
+
"VSUMP20inday",
|
284 |
+
"VSUMP30inday",
|
285 |
+
"VSUMP60inday",
|
286 |
+
"VSUMN5inday",
|
287 |
+
"VSUMN10inday",
|
288 |
+
"VSUMN20inday",
|
289 |
+
"VSUMN30inday",
|
290 |
+
"VSUMD5inday",
|
291 |
+
"VSUMD10inday",
|
292 |
+
"VSUMD20inday",
|
293 |
+
"RM5inday",
|
294 |
+
"RM5",
|
295 |
+
"ESR5inday",
|
296 |
+
"ESR5",
|
297 |
+
"UMDSV5",
|
298 |
+
"UMDSV5inday",
|
299 |
+
"DSM5inday",
|
300 |
+
"DSM5",
|
301 |
+
"EMDD5",
|
302 |
+
"DSV5inday",
|
303 |
+
"DSV5",
|
304 |
+
"EMDD5inday",
|
305 |
+
"USM5",
|
306 |
+
"USM5inday",
|
307 |
+
"USV5",
|
308 |
+
"USV5inday",
|
309 |
+
"EMDD10",
|
310 |
+
"DSM10",
|
311 |
+
"DSM10inday",
|
312 |
+
"DSV10",
|
313 |
+
"DSV10inday",
|
314 |
+
"RM10inday",
|
315 |
+
"ONRM10inday",
|
316 |
+
"RM10",
|
317 |
+
"ONRM10",
|
318 |
+
"UMDSV30inday",
|
319 |
+
"ESR10inday",
|
320 |
+
"UMDSV30",
|
321 |
+
"ESR10",
|
322 |
+
"RM30inday",
|
323 |
+
"BSRL30inday",
|
324 |
+
"UMDSV10",
|
325 |
+
"DSM20",
|
326 |
+
"DSM30",
|
327 |
+
"DSM30inday",
|
328 |
+
"DSM20inday",
|
329 |
+
"UMDSV10inday",
|
330 |
+
"RM30",
|
331 |
+
"BSRL30",
|
332 |
+
"VRMIN5",
|
333 |
+
"RM20inday",
|
334 |
+
"VRMIN5inday",
|
335 |
+
"ESR30inday",
|
336 |
+
"UMDSV20",
|
337 |
+
"UMDSV20inday",
|
338 |
+
"ESR30",
|
339 |
+
"DSV30inday",
|
340 |
+
"DSV30",
|
341 |
+
"EMDD30",
|
342 |
+
"RM20",
|
343 |
+
"ESR20",
|
344 |
+
"VRMIN10",
|
345 |
+
"DSV20",
|
346 |
+
"VRMIN10inday",
|
347 |
+
"DSV20inday",
|
348 |
+
"VWAP0",
|
349 |
+
"VWAP0inday"
|
350 |
+
],
|
351 |
+
"label_columns": [
|
352 |
+
"label2"
|
353 |
+
],
|
354 |
+
"mask": {
|
355 |
+
"kwargs": {
|
356 |
+
"window_size": 4
|
357 |
+
},
|
358 |
+
"type": "window_attention"
|
359 |
+
},
|
360 |
+
"weight_columns": [
|
361 |
+
"available",
|
362 |
+
"nan_label2"
|
363 |
+
]
|
364 |
+
},
|
365 |
+
"type": "TransformerDatasetWithDict"
|
366 |
+
},
|
367 |
+
"feature_file": "configs/lgbm_corr_columns.txt",
|
368 |
+
"log_train_loss": true,
|
369 |
+
"loss": {
|
370 |
+
"kwargs": {
|
371 |
+
"mean_n": 0.0,
|
372 |
+
"std_n": 0.0,
|
373 |
+
"weight_change": [
|
374 |
+
[
|
375 |
+
0.05,
|
376 |
+
0.5
|
377 |
+
],
|
378 |
+
[
|
379 |
+
0.07,
|
380 |
+
0.2
|
381 |
+
]
|
382 |
+
]
|
383 |
+
},
|
384 |
+
"type": "CorrLoss"
|
385 |
+
},
|
386 |
+
"max_epochs": 12,
|
387 |
+
"min_epochs": 5,
|
388 |
+
"model": {
|
389 |
+
"kwargs": {
|
390 |
+
"embedding_config": {
|
391 |
+
"kwargs": {
|
392 |
+
"dropout": 0.2,
|
393 |
+
"fixed": false,
|
394 |
+
"inlinear": true
|
395 |
+
},
|
396 |
+
"type": "Exp2dEmbedding"
|
397 |
+
},
|
398 |
+
"embedding_size": 256,
|
399 |
+
"encoder_config": {
|
400 |
+
"kwargs": {
|
401 |
+
"activation": "gelu",
|
402 |
+
"d_ff": 256,
|
403 |
+
"d_k": 128,
|
404 |
+
"d_v": 128,
|
405 |
+
"layer_num": 8,
|
406 |
+
"n_heads": 8,
|
407 |
+
"res_dropout": 0.15
|
408 |
+
},
|
409 |
+
"type": "TSTPlusEncoder"
|
410 |
+
},
|
411 |
+
"feature_size": 256,
|
412 |
+
"head_config": {
|
413 |
+
"kwargs": {
|
414 |
+
"dropout": 0.5,
|
415 |
+
"hidden_size": 256,
|
416 |
+
"num_layers": 1
|
417 |
+
},
|
418 |
+
"type": "FCHead"
|
419 |
+
},
|
420 |
+
"input_size": 338,
|
421 |
+
"pooling_config": {
|
422 |
+
"kwargs": {},
|
423 |
+
"type": "LastPooling"
|
424 |
+
},
|
425 |
+
"y_len": 1
|
426 |
+
},
|
427 |
+
"type": "TransformerModel"
|
428 |
+
},
|
429 |
+
"model_name": "tst_t2_reweight_10_2",
|
430 |
+
"monitor": "val_loss",
|
431 |
+
"norm_mean": 0.2889273219162342,
|
432 |
+
"norm_std": 1.7019113344176244,
|
433 |
+
"optimizer": {
|
434 |
+
"kwargs": {
|
435 |
+
"lr": 4e-05,
|
436 |
+
"weight_decay": 1e-06
|
437 |
+
},
|
438 |
+
"type": "Adam"
|
439 |
+
},
|
440 |
+
"patience": 10,
|
441 |
+
"pp": "t1_0",
|
442 |
+
"scheduler": {
|
443 |
+
"kwargs": {
|
444 |
+
"gamma": 0.5,
|
445 |
+
"milestones": [
|
446 |
+
8,
|
447 |
+
15
|
448 |
+
]
|
449 |
+
},
|
450 |
+
"type": "MultiStepLR"
|
451 |
+
},
|
452 |
+
"seq_length": 10,
|
453 |
+
"test_dataset": "dataset/test_000300_2101-2107.csv",
|
454 |
+
"train_dataset": "dataset/train_000906_0801-1901.csv",
|
455 |
+
"transformers_version": "4.10.0.dev0",
|
456 |
+
"use_cache": true,
|
457 |
+
"valid_dataset": "dataset/valid_000300_1901-2101.csv"
|
458 |
+
}
|