TobiTob commited on
Commit
6289df1
1 Parent(s): 56b8024

Update CityLearn.py

Browse files
Files changed (1) hide show
  1. CityLearn.py +20 -0
CityLearn.py CHANGED
@@ -18,7 +18,11 @@ _URLS = {
18
  "fr_24": f"{_BASE_URL}/fr_24x5x364.pkl",
19
  "fn_24": f"{_BASE_URL}/fn_24x5x3649.pkl",
20
  "rb_24": f"{_BASE_URL}/rb_24x5x364.pkl",
 
 
21
  "rb_230": f"{_BASE_URL}/rb_230x5x38.pkl",
 
 
22
  "rb_2189": f"{_BASE_URL}/rb_2189x5x4.pkl",
23
  "rbn_24": f"{_BASE_URL}/rb_24x5x18247.pkl",
24
  }
@@ -73,10 +77,26 @@ class DecisionTransformerCityLearnDataset(datasets.GeneratorBasedBuilder):
73
  name="rb_24",
74
  description="Data sampled from a simple rule based policy. Used the new reward function. Sequence length = 24, Buildings = 5, Episodes = 1 ",
75
  ),
 
 
 
 
 
 
 
 
76
  datasets.BuilderConfig(
77
  name="rb_230",
78
  description="Data sampled from a simple rule based policy. Used the new reward function. Sequence length = 230, Buildings = 5, Episodes = 1 ",
79
  ),
 
 
 
 
 
 
 
 
80
  datasets.BuilderConfig(
81
  name="rb_2189",
82
  description="Data sampled from a simple rule based policy. Used the new reward function. Sequence length = 2189, Buildings = 5, Episodes = 1 ",
 
18
  "fr_24": f"{_BASE_URL}/fr_24x5x364.pkl",
19
  "fn_24": f"{_BASE_URL}/fn_24x5x3649.pkl",
20
  "rb_24": f"{_BASE_URL}/rb_24x5x364.pkl",
21
+ "rb_50": f"{_BASE_URL}/rb_50x5x175.pkl",
22
+ "rb_108": f"{_BASE_URL}/rb_108x5x81.pkl",
23
  "rb_230": f"{_BASE_URL}/rb_230x5x38.pkl",
24
+ "rb_461": f"{_BASE_URL}/rb_461x5x19.pkl",
25
+ "rb_973": f"{_BASE_URL}/rb_973x5x9.pkl",
26
  "rb_2189": f"{_BASE_URL}/rb_2189x5x4.pkl",
27
  "rbn_24": f"{_BASE_URL}/rb_24x5x18247.pkl",
28
  }
 
77
  name="rb_24",
78
  description="Data sampled from a simple rule based policy. Used the new reward function. Sequence length = 24, Buildings = 5, Episodes = 1 ",
79
  ),
80
+ datasets.BuilderConfig(
81
+ name="rb_50",
82
+ description="Data sampled from a simple rule based policy. Used the new reward function. Sequence length = 50, Buildings = 5, Episodes = 1 ",
83
+ ),
84
+ datasets.BuilderConfig(
85
+ name="rb_108",
86
+ description="Data sampled from a simple rule based policy. Used the new reward function. Sequence length = 108, Buildings = 5, Episodes = 1 ",
87
+ ),
88
  datasets.BuilderConfig(
89
  name="rb_230",
90
  description="Data sampled from a simple rule based policy. Used the new reward function. Sequence length = 230, Buildings = 5, Episodes = 1 ",
91
  ),
92
+ datasets.BuilderConfig(
93
+ name="rb_461",
94
+ description="Data sampled from a simple rule based policy. Used the new reward function. Sequence length = 461, Buildings = 5, Episodes = 1 ",
95
+ ),
96
+ datasets.BuilderConfig(
97
+ name="rb_973",
98
+ description="Data sampled from a simple rule based policy. Used the new reward function. Sequence length = 973, Buildings = 5, Episodes = 1 ",
99
+ ),
100
  datasets.BuilderConfig(
101
  name="rb_2189",
102
  description="Data sampled from a simple rule based policy. Used the new reward function. Sequence length = 2189, Buildings = 5, Episodes = 1 ",