A modular time series forecasting framework that integrates symbolic regression, ARX models, and attention-based feature selection. Designed for multi-step forecasting and model evaluation.
- AR and ARX models with customizable lag structures
- Symbolic regression with nonlinear transformations
- Attention-based feature selection using PyTorch
- Rolling window validation and quality of forecast metrics
- Git clone the repository
git clone https://github.com/Youseffekri/Forecaster.gitcd Forecaster- Install dependencies:
pip install -r requirements.txt- Run the example script:
python Examples\Example_Covid19.pyAR_YW: Autoregressive model using Yule-Walker estimationARX,ARX_D: AR model with exogenous inputsARX_Symb,ARX_Symb_D: Symbolic regression-based ARXMHAttnRegressor: Multi-head attention for feature selection
- Mean Squared Error (MSE)
- Mean Absolute Error (MAE)
- Coefficient of Determination (R² and Adjusted R²)
- Symmetric Mean Absolute Percentage Error (SMAPE)
MIT License
Yousef Fekri Dabanloo
March 2025