Datasets:
Download code/run_all.sh from sleonca/sl-protostar-climate-ceviche: direct link, hf CLI and curl.
- Browser
- Download file 958 Bytes
-
https://huggingface.co/datasets/sleonca/sl-protostar-climate-ceviche/resolve/main/code/run_all.sh
- Command line
-
hf download hf://datasets/sleonca/sl-protostar-climate-ceviche/code/run_all.sh
-
curl -L -o run_all.sh https://huggingface.co/datasets/sleonca/sl-protostar-climate-ceviche/resolve/main/code/run_all.sh
958 Bytes
| # Reproduce submission.csv (ARIMA ensemble B) from scratch. Run from the repository root: bash code/run_all.sh | |
| set -euo pipefail | |
| cd "$(dirname "$0")" | |
| python 00_download.py # optional if data/raw/ is already present | |
| python 01_cdd_shift_table.py # data/processed/shift_table.parquet | |
| python 02_backtest.py # results/backtest.csv (pre-2019 validation) | |
| python 03_forecast.py # ../results/submission_current_model.csv (current model alone, for reference) | |
| python 04_forecast_submission.py # ../submission.csv (ARIMA ensemble B; checks its SHA-256 against the MANIFEST) | |
| cd .. && python code/check_submission.py | |
| # Optional: ARIMA experiments (results/arima_report.md, results/submission_arima.csv; ~10 min) | |
| # bash code/run_arima.sh | |
| # Optional: per-metric selection (PROMPT_SIGUIENTE) -> results/submission_per_metric.csv (does not touch submission.csv) | |
| # cd code && python 03b_forecast_per_metric.py --check && cd .. | |