Official implementation of Meta-PV, a robust meta-learning framework for day-ahead photovoltaic power forecasting under limited observations.
Meta-PV addresses rapid adaptation to previously unseen PV sites by combining task-level meta-learning with inequality-aware task-loss regularization based on the Theil index.
- Transfer Learning (TL)
- Model-Agnostic Meta-Learning (MAML)
- Task-Agnostic Meta-Learning (TAML) with task-loss variance regularization
- Task-Agnostic Meta-Learning (TAML) with softmax-based task reweighting
- Task-Agnostic Meta-Learning (TAML) with Theil index regularization
- MLP
- CNN
- Transformer
- GNN
Separate dependency files are provided for the NLR and UK-PV experiments. The NLR implementation uses torchmeta, whereas the GNN-based UK-PV experiments require a custom meta-learning implementation because the GNN architecture is not directly supported by torchmeta.
requirements_nlr.txtrequirements_ukpv.txt
Clone the repository:
git clone https://github.com/<username>/Meta-PV.git
cd Meta-PV