VIP-SMUR / 24Fa-Microclimate-UWG

Urban Weather Generator
MIT License
0 stars 1 forks source link

Issues #6

Closed kastnerp closed 1 week ago

kastnerp commented 1 week ago

image

---------------------------------------------------------------------------
NameError                                 Traceback (most recent call last)
Cell In[48], [line 16](vscode-notebook-cell:?execution_count=48&line=16)
     [14](vscode-notebook-cell:?execution_count=48&line=14) # Step 2: Prepare training and test data for model input
     [15](vscode-notebook-cell:?execution_count=48&line=15) targetstationid = 0  # Example target station ID, update this based on your data
---> [16](vscode-notebook-cell:?execution_count=48&line=16) training_data, testing_data = prepare_data(batchsize, embedding_length, targetstationid, mean, std, hourdata, testhourdata)
     [18](vscode-notebook-cell:?execution_count=48&line=18) # Step 3: Initialize an empty dictionary for puredata to store predictions
     [19](vscode-notebook-cell:?execution_count=48&line=19) puredata = {}

NameError: name 'prepare_data' is not defined

See here: https://github.com/VIP-SMUR/24Fa-Microclimate-UWG/blob/main/python/Organized_Model_Eval.ipynb

zeyujiang8800 commented 1 week ago

accidentally deleted a cell. Added it back as well as some comments on which functions will be useful for us in the coming week