Update CityLearn.py
Browse files- CityLearn.py +21 -6
CityLearn.py
CHANGED
@@ -8,8 +8,11 @@ _DESCRIPTION = """The dataset consists of tuples of (observations, actions, rewa
|
|
8 |
_BASE_URL = "https://huggingface.co/datasets/TobiTob/CityLearn/resolve/main"
|
9 |
_URLS = {
|
10 |
"f_230": f"{_BASE_URL}/f_230x5x38.pkl",
|
11 |
-
"
|
12 |
-
"
|
|
|
|
|
|
|
13 |
}
|
14 |
|
15 |
|
@@ -23,12 +26,24 @@ class DecisionTransformerCityLearnDataset(datasets.GeneratorBasedBuilder):
|
|
23 |
description="Data sampled from an expert LSTM policy. Sequence length = 230, Buildings = 5, Episodes = 1 ",
|
24 |
),
|
25 |
datasets.BuilderConfig(
|
26 |
-
name="
|
27 |
-
description="Data sampled from
|
28 |
),
|
29 |
datasets.BuilderConfig(
|
30 |
-
name="
|
31 |
-
description="
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
32 |
),
|
33 |
]
|
34 |
|
|
|
8 |
_BASE_URL = "https://huggingface.co/datasets/TobiTob/CityLearn/resolve/main"
|
9 |
_URLS = {
|
10 |
"f_230": f"{_BASE_URL}/f_230x5x38.pkl",
|
11 |
+
"LSTM": f"{_BASE_URL}/L_2189x5x4.pkl",
|
12 |
+
"RB1": f"{_BASE_URL}/R1_2189x5x4.pkl",
|
13 |
+
"RB2": f"{_BASE_URL}/R2_2189x5x4.pkl",
|
14 |
+
"Merged1": f"{_BASE_URL}/L_R1_2189x5x8.pkl",
|
15 |
+
"Merged2": f"{_BASE_URL}/L_R1_R2_2189x5x12.pkl",
|
16 |
}
|
17 |
|
18 |
|
|
|
26 |
description="Data sampled from an expert LSTM policy. Sequence length = 230, Buildings = 5, Episodes = 1 ",
|
27 |
),
|
28 |
datasets.BuilderConfig(
|
29 |
+
name="LSTM",
|
30 |
+
description="Data sampled from an expert LSTM policy. Sequence length = 2189, Buildings = 5, Episodes = 1 ",
|
31 |
),
|
32 |
datasets.BuilderConfig(
|
33 |
+
name="RB1",
|
34 |
+
description="Data sampled a rule based policy. Sequence length = 2189, Buildings = 5, Episodes = 1 ",
|
35 |
+
),
|
36 |
+
datasets.BuilderConfig(
|
37 |
+
name="RB2",
|
38 |
+
description="Data sampled a rule based policy. Sequence length = 2189, Buildings = 5, Episodes = 1 ",
|
39 |
+
),
|
40 |
+
datasets.BuilderConfig(
|
41 |
+
name="Merged1",
|
42 |
+
description="LSTM + RBC1. Sequence length = 2189, Buildings = 5, Episodes = 1+1 ",
|
43 |
+
),
|
44 |
+
datasets.BuilderConfig(
|
45 |
+
name="Merged2",
|
46 |
+
description="LSTM + RBC1 + RBC2. Sequence length = 2189, Buildings = 5, Episodes = 1+1+1 ",
|
47 |
),
|
48 |
]
|
49 |
|