Symbolic regression for scientific discovery: an application to wind speed forecasting
Paper โข 2102.10570 โข Published
This repository contains a TensorFlow 2.x reproduction of the paper:
Symbolic regression for scientific discovery: an application to wind speed forecasting
Ismail Alaoui Abdellaoui, Siamak Mehrkanoon
arXiv:2102.10570
Constant, Identity, Square, Sin, Sigmoid, ProductL_{0.5} smooth regularization + rescaled MSE| File | Description |
|---|---|
reproduce_eql.py |
Core library: network, functions, pretty-print, regularization, utils |
run_full_experiment.py |
End-to-end training script with paper hyperparameters |
prepare_denmark_data.py |
Generates .mat inputs from raw weather CSV |
requirements.txt |
Dependencies |
The Denmark weather data (hourly, 1980โ2018) is available as a Hugging Face dataset:
๐ https://huggingface.co/datasets/Mengqinxue/eql-wind-speed-denmark
pip install -r requirements.txt
python run_full_experiment.py --city Roskilde --steps_ahead 6 --feature wind_speed
Supported cities: Esbjerg, Odense, Roskilde.
The script produces:
ExperimentsSR/Experiment*/ โ training logs, plots, weight histogramssummary_experiment*.txt โ final MAE, MSE, extracted formula.hdf5 weight checkpoints for Phase 1 and Phase 2@article{abdellaoui2021symbolic,
title={Symbolic regression for scientific discovery: an application to wind speed forecasting},
author={Abdellaoui, Ismail Alaoui and Mehrkanoon, Siamak},
journal={arXiv preprint arXiv:2102.10570},
year={2021}
}
This model repository was generated by ML Intern, an agent for machine learning research and development on the Hugging Face Hub.
from transformers import AutoModelForCausalLM, AutoTokenizer
model_id = 'Mengqinxue/eql-wind-speed-forecasting'
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(model_id)
For non-causal architectures, replace AutoModelForCausalLM with the appropriate AutoModel class.