Update CityLearn.py
Browse files- CityLearn.py +6 -36
CityLearn.py
CHANGED
@@ -8,15 +8,9 @@ _DESCRIPTION = """The dataset consists of tuples of (observations, actions, rewa
|
|
8 |
_BASE_URL = "https://huggingface.co/datasets/TobiTob/CityLearn/resolve/main"
|
9 |
_URLS = {
|
10 |
"s_test": f"{_BASE_URL}/s_test.pkl",
|
11 |
-
"s_test2": f"{_BASE_URL}/s_test2.pkl",
|
12 |
-
"s_test3": f"{_BASE_URL}/s_test3.pkl",
|
13 |
-
"s_test4": f"{_BASE_URL}/s_test4.pkl",
|
14 |
-
"s_test5": f"{_BASE_URL}/s_test5.pkl",
|
15 |
-
"s_test6": f"{_BASE_URL}/s_test6.pkl",
|
16 |
"s_week": f"{_BASE_URL}/s_week.pkl",
|
17 |
"s_month": f"{_BASE_URL}/s_month.pkl",
|
18 |
-
"s_8759x5": f"{_BASE_URL}/
|
19 |
-
"halfcheetah-medium-replay-v2": f"{_BASE_URL}/test.pkl",
|
20 |
}
|
21 |
|
22 |
|
@@ -27,43 +21,19 @@ class DecisionTransformerCityLearnDataset(datasets.GeneratorBasedBuilder):
|
|
27 |
BUILDER_CONFIGS = [
|
28 |
datasets.BuilderConfig(
|
29 |
name="s_test",
|
30 |
-
description="
|
31 |
-
),
|
32 |
-
datasets.BuilderConfig(
|
33 |
-
name="s_test2",
|
34 |
-
description="Test Data size 10x16",
|
35 |
-
),
|
36 |
-
datasets.BuilderConfig(
|
37 |
-
name="s_test3",
|
38 |
-
description="Test Data size 100x16",
|
39 |
-
),
|
40 |
-
datasets.BuilderConfig(
|
41 |
-
name="s_test4",
|
42 |
-
description="Test Data size 10x1000",
|
43 |
-
),
|
44 |
-
datasets.BuilderConfig(
|
45 |
-
name="s_test5",
|
46 |
-
description="Test Data size 260x168 (week)",
|
47 |
-
),
|
48 |
-
datasets.BuilderConfig(
|
49 |
-
name="s_test6",
|
50 |
-
description="Test Data size 60x730 (month)",
|
51 |
),
|
52 |
datasets.BuilderConfig(
|
53 |
name="s_week",
|
54 |
-
description="Data size 260x168",
|
55 |
),
|
56 |
datasets.BuilderConfig(
|
57 |
name="s_month",
|
58 |
-
description="Data size 60x720",
|
59 |
-
),
|
60 |
-
datasets.BuilderConfig(
|
61 |
-
name="s_8759x5",
|
62 |
-
description="Data sampled from an expert policy in CityLearn environment",
|
63 |
),
|
64 |
datasets.BuilderConfig(
|
65 |
-
name="
|
66 |
-
description="
|
67 |
),
|
68 |
]
|
69 |
|
|
|
8 |
_BASE_URL = "https://huggingface.co/datasets/TobiTob/CityLearn/resolve/main"
|
9 |
_URLS = {
|
10 |
"s_test": f"{_BASE_URL}/s_test.pkl",
|
|
|
|
|
|
|
|
|
|
|
11 |
"s_week": f"{_BASE_URL}/s_week.pkl",
|
12 |
"s_month": f"{_BASE_URL}/s_month.pkl",
|
13 |
+
"s_8759x5": f"{_BASE_URL}/s_random.pkl",
|
|
|
14 |
}
|
15 |
|
16 |
|
|
|
21 |
BUILDER_CONFIGS = [
|
22 |
datasets.BuilderConfig(
|
23 |
name="s_test",
|
24 |
+
description="Small dataset sampled from an expert policy in CityLearn environment. Data size 10x8",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
25 |
),
|
26 |
datasets.BuilderConfig(
|
27 |
name="s_week",
|
28 |
+
description="Data sampled from an expert policy in CityLearn environment. Data size 260x168",
|
29 |
),
|
30 |
datasets.BuilderConfig(
|
31 |
name="s_month",
|
32 |
+
description="Data sampled from an expert policy in CityLearn environment. Data size 60x720",
|
|
|
|
|
|
|
|
|
33 |
),
|
34 |
datasets.BuilderConfig(
|
35 |
+
name="s_random",
|
36 |
+
description="Random environment interactions in CityLearn environment. Data size 950x461",
|
37 |
),
|
38 |
]
|
39 |
|