TobiTob commited on
Commit
1653a2b
1 Parent(s): 5ef281c

Update CityLearn.py

Browse files
Files changed (1) hide show
  1. 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
- "rb_230": f"{_BASE_URL}/rb_230x5x38.pkl",
12
- "merged1": f"{_BASE_URL}/lstm_rb1_8759x5x2.pkl",
 
 
 
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="rb_230",
27
- description="Data sampled from a simple rule based policy. Used the new reward function. Sequence length = 230, Buildings = 5, Episodes = 1 ",
28
  ),
29
  datasets.BuilderConfig(
30
- name="merged1",
31
- description="Mixed data from RB agent and LSTM agent. Used the new reward function. Sequence length = 8759, Buildings = 5, Episodes = 2 ",
 
 
 
 
 
 
 
 
 
 
 
 
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