forked from taoshidev/time-series-prediction-subnet
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvali_config.py
More file actions
70 lines (63 loc) · 4 KB
/
Copy pathvali_config.py
File metadata and controls
70 lines (63 loc) · 4 KB
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
# The MIT License (MIT)
# Copyright © 2023 Yuma Rao
# developer: Taoshi
# Copyright © 2023 Taoshi Inc
import os
class ValiConfig:
RMSE_WEIGHT = 0.001
SCALE_FACTOR_EXP = 0.0001
SCALE_FACTOR = 100
SCALE_SHIFT = (1 - 1 / SCALE_FACTOR) / 2
HISTORICAL_DATA_LOOKBACK_DAYS_MIN = 25
HISTORICAL_DATA_LOOKBACK_DAYS_MAX = 30
PREDICTIONS_MIN = 100
PREDICTIONS_MAX = 101
DELETE_STALE_DATA = 180
STANDARD_TF = 5
BASE_DIR = base_directory = os.path.dirname(os.path.abspath(__file__))
MIN_MAX_RANGES_PERCENTILED = [1.00387751, 1.0046771, 1.00538229, 1.00616374, 1.00664601, 1.0072153, 1.00770294,
1.00808834, 1.00859267,
1.00903976, 1.00931942, 1.0096989, 1.00997964, 1.01052436, 1.01077243, 1.01108361,
1.01128386, 1.01158122,
1.0120119, 1.01229222, 1.01261726, 1.01288392, 1.0132722, 1.01353335, 1.0138921,
1.01413495, 1.01451136,
1.01465911, 1.01491849, 1.01537435, 1.01561035, 1.01579462, 1.01618927, 1.01646992,
1.01673463, 1.01701713,
1.01720421, 1.01744781, 1.01767875, 1.01791642, 1.01822153, 1.01854, 1.01877669,
1.01898336, 1.01922001,
1.01966653, 1.0199679, 1.02027133, 1.02055236, 1.02094191, 1.02116136, 1.02137276,
1.02171295, 1.02192541,
1.02256128, 1.02283793, 1.02320215, 1.02358504, 1.02388836, 1.02429519, 1.02459838,
1.02493807, 1.02530799,
1.02574097, 1.02609725, 1.02640666, 1.02707684, 1.02741645, 1.02781218, 1.02832343,
1.02898796, 1.02949237,
1.02994235, 1.03030233, 1.03064786, 1.03096797, 1.03140919, 1.03188256, 1.03248486,
1.03304408, 1.03347025,
1.03386884, 1.0344379, 1.03490934, 1.03551905, 1.03629801, 1.03689149, 1.03754179,
1.0381573, 1.03887474,
1.03974902, 1.04070866, 1.04186925, 1.04281596, 1.04375247, 1.04477374, 1.04579982,
1.04753622, 1.04884303,
1.04995786
]
STD_DEV_RANGES_PERCENTILED = numbers = [
14.56495373, 17.74587314, 22.32673054, 24.93175989, 28.34223599,
32.02346165, 36.17328143, 38.589925, 40.48770392, 44.51235005,
47.79799745, 50.64436638, 53.37760366, 56.21421243, 58.33733575,
60.78001532, 63.58972285, 66.71941315, 69.37111468, 72.61498983,
75.35241329, 78.23523053, 80.92938168, 83.36298927, 87.18681649,
90.87535626, 94.81589054, 98.32952852, 101.47150153, 104.62654578,
106.74939579, 110.02812468, 112.95714559, 115.58940516, 118.80532864,
122.47377089, 125.74192089, 129.8403818, 134.76746857, 137.96280529,
141.26967728, 145.2486831, 147.73253045, 151.27890357, 154.60348086,
158.00942214, 161.35386492, 165.06363718, 168.30287258, 170.84724112,
173.42067266, 177.73918075, 182.55508446, 186.71742188, 191.87974583,
196.27408603, 199.72023178, 204.45018131, 207.91268038, 212.33993502,
217.18670983, 221.14247226, 226.62900042, 230.615892, 235.11177938,
241.23857952, 245.96720201, 249.70278539, 255.27224532, 260.50296758,
265.14036691, 270.46674736, 276.30627702, 282.70117857, 286.35384611,
292.34049342, 298.67381416, 303.5673084, 313.26034096, 322.5855542,
328.8972794, 336.79776704, 347.12536861, 356.86224137, 362.76450999,
369.21420243, 377.84751456, 389.59694402, 399.24432066, 414.09697296,
430.02950634, 440.63614279, 454.53297833, 472.71148317, 485.83013752,
510.13988824, 535.74779467, 588.34578545, 649.6036526, 937.09967096
]