Spaces:
Sleeping
Sleeping
akshayballal
commited on
Commit
•
b49aec3
1
Parent(s):
6845bea
chore: Update dependencies and remove unused code
Browse files- environment.yml +55 -2
- src/test_main.py +7 -3
environment.yml
CHANGED
@@ -79,7 +79,6 @@ dependencies:
|
|
79 |
- libbrotlidec=1.1.0=hcfcfb64_1
|
80 |
- libbrotlienc=1.1.0=hcfcfb64_1
|
81 |
- libcblas=3.9.0=21_win64_mkl
|
82 |
-
- libclang=14.0.6=default_hb5a9fac_1
|
83 |
- libclang13=14.0.6=default_h8e68704_1
|
84 |
- libdeflate=1.17=h2bbff1b_1
|
85 |
- libexpat=2.5.0=h63175ca_1
|
@@ -194,4 +193,58 @@ dependencies:
|
|
194 |
- zipp=3.17.0=pyhd8ed1ab_0
|
195 |
- zlib=1.2.13=hcfcfb64_5
|
196 |
- zstd=1.5.5=h12be248_0
|
197 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
79 |
- libbrotlidec=1.1.0=hcfcfb64_1
|
80 |
- libbrotlienc=1.1.0=hcfcfb64_1
|
81 |
- libcblas=3.9.0=21_win64_mkl
|
|
|
82 |
- libclang13=14.0.6=default_h8e68704_1
|
83 |
- libdeflate=1.17=h2bbff1b_1
|
84 |
- libexpat=2.5.0=h63175ca_1
|
|
|
193 |
- zipp=3.17.0=pyhd8ed1ab_0
|
194 |
- zlib=1.2.13=hcfcfb64_5
|
195 |
- zstd=1.5.5=h12be248_0
|
196 |
+
- pip:
|
197 |
+
- absl-py==2.1.0
|
198 |
+
- aiohttp==3.9.3
|
199 |
+
- aiosignal==1.3.1
|
200 |
+
- astunparse==1.6.3
|
201 |
+
- blinker==1.8.2
|
202 |
+
- cachetools==5.3.3
|
203 |
+
- einops==0.7.0
|
204 |
+
- flatbuffers==24.3.25
|
205 |
+
- frozenlist==1.4.1
|
206 |
+
- gast==0.5.4
|
207 |
+
- gitdb==4.0.11
|
208 |
+
- gitpython==3.1.43
|
209 |
+
- google-pasta==0.2.0
|
210 |
+
- grpcio==1.62.2
|
211 |
+
- h5py==3.11.0
|
212 |
+
- joblib==1.3.2
|
213 |
+
- keras==3.3.3
|
214 |
+
- libclang==18.1.1
|
215 |
+
- lightning==2.2.1
|
216 |
+
- lightning-utilities==0.11.0
|
217 |
+
- markdown==3.6
|
218 |
+
- ml-dtypes==0.3.2
|
219 |
+
- mpmath==1.3.0
|
220 |
+
- multidict==6.0.5
|
221 |
+
- namex==0.0.8
|
222 |
+
- networkx==3.2.1
|
223 |
+
- opt-einsum==3.3.0
|
224 |
+
- optree==0.11.0
|
225 |
+
- paho-mqtt==2.1.0
|
226 |
+
- plotly==5.22.0
|
227 |
+
- protobuf==4.25.3
|
228 |
+
- pyarrow==16.1.0
|
229 |
+
- pydeck==0.9.1
|
230 |
+
- pytorch-lightning==2.2.1
|
231 |
+
- scikit-learn==1.4.1.post1
|
232 |
+
- smmap==5.0.1
|
233 |
+
- streamlit==1.35.0
|
234 |
+
- sympy==1.12
|
235 |
+
- tenacity==8.3.0
|
236 |
+
- tensorboard==2.16.2
|
237 |
+
- tensorboard-data-server==0.7.2
|
238 |
+
- tensorflow==2.16.1
|
239 |
+
- tensorflow-intel==2.16.1
|
240 |
+
- tensorflow-io-gcs-filesystem==0.31.0
|
241 |
+
- termcolor==2.4.0
|
242 |
+
- threadpoolctl==3.4.0
|
243 |
+
- toml==0.10.2
|
244 |
+
- torch==2.2.1
|
245 |
+
- torchmetrics==1.3.2
|
246 |
+
- watchdog==4.0.1
|
247 |
+
- werkzeug==3.0.2
|
248 |
+
- wrapt==1.16.0
|
249 |
+
- yarl==1.9.4
|
250 |
+
prefix: D:\anaconda3\envs\smartbuilding
|
src/test_main.py
CHANGED
@@ -2,6 +2,7 @@ from energy_prediction.EnergyPredictionNorth import EnergyPredictionNorth
|
|
2 |
from energy_prediction.EnergyPredictionSouth import EnergyPredictionSouth
|
3 |
from energy_prediction.EnergyPredictionPipeline import EnergyPredictionPipeline
|
4 |
|
|
|
5 |
def main():
|
6 |
# Energy Prediction North wing
|
7 |
EnergyPredictionNorth = EnergyPredictionNorth(
|
@@ -11,9 +12,11 @@ def main():
|
|
11 |
|
12 |
def on_message(client, userdata, message):
|
13 |
df = EnergyPredictionPipeline.fit(message)
|
14 |
-
|
15 |
if not df is None:
|
16 |
-
out_vav = EnergyPredictionNorth.pipeline(
|
|
|
|
|
17 |
|
18 |
broker_address = "localhost"
|
19 |
broker_port = 1883
|
@@ -25,5 +28,6 @@ def main():
|
|
25 |
client.subscribe(topic)
|
26 |
client.loop_forever()
|
27 |
|
|
|
28 |
if __name__ == "__main__":
|
29 |
-
main()
|
|
|
2 |
from energy_prediction.EnergyPredictionSouth import EnergyPredictionSouth
|
3 |
from energy_prediction.EnergyPredictionPipeline import EnergyPredictionPipeline
|
4 |
|
5 |
+
|
6 |
def main():
|
7 |
# Energy Prediction North wing
|
8 |
EnergyPredictionNorth = EnergyPredictionNorth(
|
|
|
12 |
|
13 |
def on_message(client, userdata, message):
|
14 |
df = EnergyPredictionPipeline.fit(message)
|
15 |
+
|
16 |
if not df is None:
|
17 |
+
out_vav = EnergyPredictionNorth.pipeline(
|
18 |
+
df, EnergyPredictionPipeline.scaler
|
19 |
+
)
|
20 |
|
21 |
broker_address = "localhost"
|
22 |
broker_port = 1883
|
|
|
28 |
client.subscribe(topic)
|
29 |
client.loop_forever()
|
30 |
|
31 |
+
|
32 |
if __name__ == "__main__":
|
33 |
+
main()
|