Downloads · 30 days
0
Sari95/Transformer-Architecture-for-Energy-Consumption-Prediction
Transformer-Architecture-for-Energy-Consumption-Prediction is a machine learning model from Sari95. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as gpl.
This model applies Transformer architecture to predict energy consumption over a 48-hour period using historical energy usage and weather data from 2021 to 2023.
Downloads · 30 days
0
Access
Public
Updated May 22, 2024
Repo size
—
Likes
0
Public
Click a slice to open those files.
.ipynb208 KB · 99%
From the Hugging Face model README
This model applies Transformer architecture to predict energy consumption over a 48-hour period using historical energy usage and weather data from 2021 to 2023.
Model Type: Transformer
Data Period: 2021-2023
Variables Used:
The model uses a sequence length of 192 (48 hours) to create input sequences for training and testing. Positional encodings are added to the sequences to provide temporal information to the Transformer model.
To run this model, you need Python along with the following libraries:
pandasnumpymatplotlibscikit-learntorchgputilpsutiltorchsummaryInstall Required Packages
Load your Data
Preprocess the data according to the specifications
Run the Script